/* =========================================================
   JUNIATA TUITION BENEFIT
   REQUEST ACCESS PAGE
========================================================= */


/* =============================
   GLOBAL
============================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #f7f8fa;

    color: #333333;

    font-family:
        "Roboto Condensed",
        Arial,
        Helvetica,
        sans-serif;
}


/* =============================
   ACCESSIBILITY
============================= */

.skip-link {
    position: absolute;

    top: -999px;
    left: 0;

    background: #A89968;
    color: #1B365D;

    padding: .6rem 1rem;

    font-weight: 700;

    text-decoration: none;

    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}


/* =============================
   HERO
============================= */

.header-hero {

    background:
        linear-gradient(
            rgba(10,25,48,.70),
            rgba(10,25,48,.70)
        ),
        url("../images/campus-aerials-fall-1680-500.jpg")
        center / cover
        no-repeat;

    min-height: 170px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 1.5rem;
}


.header-brand {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;
}


.header-mark {

    height: 42px;

    width: auto;

    flex-shrink: 0;
}


.header-brand h1 {

    color: #ffffff;

    margin: 0;

    font-size: 2.25rem;

    font-weight: 700;

    letter-spacing: 1px;
}


.header-brand p {

    color: rgba(255,255,255,.90);

    margin: .25rem 0 0;

    font-size: .95rem;
}


/* =============================
   PAGE
============================= */

.page-wrapper {

    max-width: 1150px;

    margin: 35px auto 50px;

    padding: 0 20px;
}


/* =============================
   TWO-COLUMN LAYOUT
============================= */

.request-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(300px, .8fr);

    gap: 2rem;

    align-items: start;
}


/* =============================
   MAIN FORM CARD
============================= */

.request-card {

    background: #ffffff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

    border: 1px solid #e5e5e5;

    padding: 2rem 2.2rem;
}


.request-card-header {

    margin-bottom: 1.5rem;
}


.request-card-header h2 {

    color: #1B365D;

    font-size: 1.8rem;

    font-weight: 700;

    margin: 0 0 .5rem;
}


.request-card-header p {

    margin: 1rem 0 0;

    color: #53565a;

    line-height: 1.6;
}


.gold-rule {

    width: 56px;

    height: 4px;

    background: #A89968;

    border: none;
}


/* =============================
   NOTICE
============================= */

.notice-box {

    background: #f7f4ee;

    border-left: 5px solid #A89968;

    padding: 1rem 1.25rem;

    margin-bottom: 2rem;
}


.notice-box strong {

    color: #1B365D;
}


.notice-box p {

    margin: .4rem 0 0;

    line-height: 1.55;

    color: #444;
}


/* =============================
   FORM SECTION
============================= */

.form-section h3 {

    color: #1B365D;

    font-size: 1.1rem;

    font-weight: 700;

    margin-bottom: 1.2rem;

    padding-bottom: .6rem;

    border-bottom: 1px solid #e3e3e3;
}


/* =============================
   FORM FIELDS
============================= */

.form-label {

    color: #1B365D;

    font-weight: 700;

    margin-bottom: .4rem;
}


.required {

    color: #9f2525;
}


.form-control,
.form-select {

    min-height: 46px;

    border-radius: 5px;

    border: 1px solid #b9bec5;

    font-size: .95rem;
}


textarea.form-control {

    min-height: 120px;
}


.form-control:focus,
.form-select:focus {

    border-color: #1B365D;

    box-shadow:
        0 0 0 .2rem rgba(27,54,93,.15);
}


.requested-form {

    background: #eef1f5 !important;

    color: #1B365D;

    font-weight: 700;
}


.form-text {

    color: #68717c;

    font-size: .84rem;

    margin-top: .35rem;
}


/* =============================
   FORM ACTIONS
============================= */

.form-actions {

    display: flex;

    gap: .75rem;

    align-items: center;

    padding-top: .5rem;
}


.btn-submit {

    border: none;

    background: #1B365D;

    color: #ffffff;

    padding: .75rem 1.25rem;

    border-radius: 5px;

    font-weight: 700;

    cursor: pointer;
}


.btn-submit:hover {

    background: #A89968;

    color: #ffffff;
}


.btn-cancel {

    display: inline-block;

    border: 1px solid #aeb4bb;

    color: #53565a;

    background: #ffffff;

    padding: .7rem 1.2rem;

    border-radius: 5px;

    font-weight: 600;

    text-decoration: none;
}


.btn-cancel:hover {

    color: #1B365D;

    border-color: #1B365D;
}


/* =============================
   HELP PANEL
============================= */

.help-panel {

    background: #1B365D;

    color: #ffffff;

    border-top: 7px solid #A89968;

    padding: 1.8rem;

    border-radius: 0 0 8px 8px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.12);

    position: sticky;

    top: 20px;
}


.help-panel h2 {

    color: #ffffff;

    font-size: 1.4rem;

    font-weight: 700;

    margin: 0 0 1.5rem;
}


.help-panel h3 {

    color: #ffffff;

    font-size: 1.05rem;

    font-weight: 700;

    margin-bottom: .6rem;
}


.help-panel p {

    color: rgba(255,255,255,.92);

    line-height: 1.55;

    font-size: .91rem;
}


.help-item {

    display: grid;

    grid-template-columns: 34px 1fr;

    gap: .8rem;

    margin-bottom: 1.2rem;
}


.help-number {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: #A89968;

    color: #1B365D;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;
}


.help-item strong {

    color: #ffffff;

    display: block;

    margin-bottom: .25rem;
}


.help-item p {

    margin: 0;
}


.help-divider {

    height: 1px;

    background: rgba(255,255,255,.23);

    margin: 1.5rem 0;
}


.employee-link {

    display: inline-block;

    background: #A89968;

    color: #1B365D;

    padding: .6rem .9rem;

    border-radius: 4px;

    font-weight: 700;

    text-decoration: none;

    font-size: .9rem;
}


.employee-link:hover {

    color: #1B365D;

    text-decoration: underline;
}


/* =============================
   RESPONSIVE
============================= */

@media (max-width: 900px) {

    .request-layout {

        grid-template-columns: 1fr;
    }


    .help-panel {

        position: static;
    }

}


@media (max-width: 650px) {

    .header-hero {

        min-height: 140px;
    }


    .header-brand {

        gap: 10px;
    }


    .header-mark {

        height: 30px;
    }


    .header-brand h1 {

        font-size: 1.55rem;
    }


    .header-brand p {

        font-size: .8rem;
    }


    .page-wrapper {

        margin: 20px auto 35px;

        padding: 0 14px;
    }


    .request-card {

        padding: 1.4rem;
    }


    .form-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .btn-submit,
    .btn-cancel {

        width: 100%;

        text-align: center;
    }

}

/* =============================
   CONFIRMATION PAGE
============================= */

.confirmation-wrapper {
    max-width: 720px;
    margin: 5rem auto;
    padding: 0 1rem;
}

.confirmation-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.confirmation-accent {
    height: 6px;
    background: linear-gradient(
        90deg,
        #1B365D,
        #A89968
    );
}

.confirmation-body {
    padding: 2.5rem;
    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 1.5rem;

    border-radius: 50%;

    background: #e6f4ea;
    color: #198754;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: bold;
}

.confirmation-body h1 {
    color: #1B365D;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.message {
    color: #53565a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.info-box {
    background: #f7f4ee;

    border-left: 4px solid #A89968;

    text-align: left;

    padding: 1rem 1.25rem;

    margin: 1.5rem 0;

    border-radius: 5px;

    color: #53565a;
}

.info-box p {
    margin: .6rem 0 0;
    line-height: 1.6;
}

.info-title {
    color: #1B365D;
}

.home-button {
    display: inline-block;

    background: #1B365D;

    color: #ffffff;

    padding: .7rem 1.25rem;

    border-radius: 5px;

    font-weight: 700;

    text-decoration: none;

    margin-top: .5rem;
}

.home-button:hover {
    background: #A89968;
    color: #ffffff;
}

