/* Stage 1: only the existing header request modal. Form styling copied from the working homepage; palette is unchanged. */
#leave-request-big-form-wrap {
  --alp-stage2-green: #2e7d32;
  --alp-stage2-green-dark: #173f28;
  --alp-stage2-orange: #a84a00;
  --alp-stage2-orange-hover: #873b00;
  --alp-stage2-text: #252b28;
  --alp-stage2-muted: #66716b;
  box-sizing: border-box;
  padding: 24px 12px;
}
#leave-request-big-form-wrap .leave-request-big-form {
  box-sizing: border-box;
  max-width: 520px;
  padding: 28px;
  border-radius: 16px;
}
#leave-request-big-form-wrap .leave-request-big-form-close {
  top: 4px;
  right: 4px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  text-align: center;
  font-size: 28px;
}
#leave-request-big-form-wrap .alp-header-stage1-title {
  margin: 0 24px 18px 0;
  color: #252b28;
  font-size: 24px;
  line-height: 1.2;
}

#leave-request-big-form-wrap .alp-header-stage1-title {
    margin: 15px 0 9px;
    color: #202622;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
}

#leave-request-big-form-wrap .alp-header-stage1-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#leave-request-big-form-wrap .alp-header-stage1-form__field {
    min-width: 0;
    display: block;
    margin: 0;
}

#leave-request-big-form-wrap .alp-header-stage1-form__field--full {
    grid-column: 1 / -1;
}

#leave-request-big-form-wrap .alp-header-stage1-form__label-text {
    display: block;
    margin-bottom: 5px;
    color: #465049;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input {
    width: 100%;
    max-width: none;
    height: 46px;
    display: block;
    margin: 0;
    padding: 0 13px;
    color: var(--alp-stage2-text);
    background: #fff;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    outline: 0;
    box-sizing: border-box;
}

#leave-request-big-form-wrap .alp-header-stage1-form textarea.jform__field.jform__input,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__textarea {
    min-height: 90px;
    height: 90px;
    padding-top: 11px;
    padding-bottom: 11px;
    line-height: 1.4;
    resize: vertical;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input:focus,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__file-input:focus {
    border-color: var(--alp-stage2-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, .13);
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input::placeholder {
    color: #7a837e;
    opacity: 1;
}

#leave-request-big-form-wrap .alp-header-stage1-form__file-input {
    width: 100%;
    min-height: 44px;
    display: block;
    padding: 5px;
    color: #4d5751;
    background: #f8faf8;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
    box-sizing: border-box;
}

#leave-request-big-form-wrap .alp-header-stage1-form__file-input::file-selector-button {
    min-height: 32px;
    margin-right: 9px;
    padding: 0 12px;
    color: #245f31;
    background: #e8f3ea;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

#leave-request-big-form-wrap .alp-header-stage1-form__hint {
    display: block;
    margin-top: 4px;
    color: #748078;
    font-size: 10px;
    line-height: 1.35;
}

#leave-request-big-form-wrap .alp-header-stage1-form__error {
    min-height: 0;
    display: block;
    margin-top: 3px;
    color: #a1271d;
    font-size: 10px;
    line-height: 1.25;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__btn.size,
#leave-request-big-form-wrap .alp-header-stage1-form__submit {
    width: 100%;
    max-width: none;
    min-height: 50px;
    height: auto;
    display: block;
    margin: 2px 0 0;
    padding: 13px 15px;
    color: #fff;
    background: var(--alp-stage2-orange);
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .2s ease, transform .2s ease;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__btn.size:hover,
#leave-request-big-form-wrap .alp-header-stage1-form__submit:hover {
    background: var(--alp-stage2-orange-hover);
    transform: translateY(-1px);
}

#leave-request-big-form-wrap .alp-header-stage1-form .alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.4;
}

#leave-request-big-form-wrap .alp-header-stage1-form .alert-success {
    color: #1f5f2b;
    background: #e8f3ea;
}

#leave-request-big-form-wrap .alp-header-stage1-form .alert-danger {
    color: #8d251d;
    background: #fbe9e7;
}

#leave-request-big-form-wrap .alp-header-stage1-privacy {
    margin: 11px 0 0;
    color: #66716b;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

#leave-request-big-form-wrap .alp-header-stage1-privacy a {
    color: #4c6255;
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {

    #leave-request-big-form-wrap .alp-header-stage1-title {
        font-size: 24px;
    }

    #leave-request-big-form-wrap .alp-header-stage1-form__grid {
        grid-template-columns: 1fr;
    }

    #leave-request-big-form-wrap .alp-header-stage1-form__field--full {
        grid-column: 1;
    }

    #leave-request-big-form-wrap .alp-header-stage1-form textarea.jform__field.jform__input,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__textarea {
        min-height: 104px;
        height: 104px;
    }
}

#leave-request-big-form-wrap .alp-header-stage1-title {
  color: #17251d !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__textarea,
#leave-request-big-form-wrap .alp-header-stage1-form textarea.jform__field.jform__input {
  border: 1px solid #d9e2dc !important;
  background: #fbfcfb !important;
  box-shadow: inset 0 1px 2px rgba(17,48,31,.025) !important;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input:focus,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__textarea:focus,
#leave-request-big-form-wrap .alp-header-stage1-form textarea.jform__field.jform__input:focus {
  border-color: #6aa77d !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(63,132,82,.11) !important;
  outline: none !important;
}

#leave-request-big-form-wrap .alp-header-stage1-form .jform__btn.size,
#leave-request-big-form-wrap .alp-header-stage1-form__submit {
  background: linear-gradient(180deg, #c65a00 0%, #ad4c00 100%) !important;
  border-radius: 11px !important;
  box-shadow: 0 12px 24px rgba(104,45,0,.18) !important;
}
@media only screen and (min-width: 1024px) {

  #leave-request-big-form-wrap .alp-header-stage1-title {
    font-size: 26px !important;
    line-height: 1.12 !important;
  }
}
@media only screen and (max-width: 767px) {

  #leave-request-big-form-wrap .alp-header-stage1-title {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  #leave-request-big-form-wrap .alp-header-stage1-form__grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  #leave-request-big-form-wrap .alp-header-stage1-form__field--full {
    grid-column: 1 !important;
  }

  #leave-request-big-form-wrap .alp-header-stage1-form .jform__field.jform__input {
    min-height: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
  }

  #leave-request-big-form-wrap .alp-header-stage1-form textarea.jform__field.jform__input,
#leave-request-big-form-wrap .alp-header-stage1-form .alp-header-stage1-form__textarea {
    min-height: 94px !important;
    height: 94px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
  }

  #leave-request-big-form-wrap .alp-header-stage1-form .jform__btn.size,
#leave-request-big-form-wrap .alp-header-stage1-form__submit {
    min-height: 52px !important;
    font-size: 15px !important;
  }
}
#leave-request-big-form-wrap .alp-header-stage1-title { margin: 0 24px 18px 0; }
#leave-request-big-form-wrap .alp-header-stage1-form__optional {
  color: #6b746f;
  font-weight: 400;
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  #leave-request-big-form-wrap { padding: 12px; }
  #leave-request-big-form-wrap .leave-request-big-form { padding: 24px 18px 20px; }
  #leave-request-big-form-wrap .alp-header-stage1-title { font-size: 22px; }
}