/* =========================================================
   TGF
   Component : National Athlete Application Track
   File      : national-athlete-track.css
   Version   : V1 FINAL
   Radius    : 7px
   Min Font  : 10px
========================================================= */


/* =========================================================
   01. PAGE
========================================================= */

.tgf-na-page--track {
    min-height: 68vh;
    padding-bottom: 78px;

    background:
        #f5f7fb;
}


/* =========================================================
   02. HERO
========================================================= */

.tgf-na-page--track .tgf-na-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #071a36 0%,
            #0a2b5c 58%,
            #174b8a 100%);
}


.tgf-na-page--track .tgf-na-hero--compact {
    padding:
        54px 0 66px;
}


.tgf-na-page--track .tgf-na-hero>.tgf-container-wide {
    width:
        min(calc(100% - 48px),
            1500px);

    margin-inline:
        auto;
}


.tgf-na-page--track .tgf-na-hero__content {
    max-width: 820px;

    margin-top: 0;
}


.tgf-na-page--track .tgf-na-eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: #f4b400;

    font-size: 10px;
    font-weight: 850;

    line-height: 1;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.tgf-na-page--track .tgf-na-eyebrow span {
    width: 28px;
    height: 2px;

    background: #f4b400;
}


.tgf-na-page--track .tgf-na-hero h1 {
    max-width: 800px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(34px,
            3.2vw,
            48px);

    font-weight: 850;

    line-height: 1.08;

    letter-spacing: -.04em;
}


.tgf-na-page--track .tgf-na-hero__content p {
    max-width: 720px;

    margin:
        15px 0 0;

    color:
        rgba(255, 255, 255, .74);

    font-size: 12px;
    font-weight: 500;

    line-height: 1.7;
}


/* =========================================================
   03. TRACK SHELL
========================================================= */

.tgf-na-page--track .tgf-na-track-shell {
    position: relative;

    width:
        min(calc(100% - 96px),
            1500px);

    max-width: 1500px;

    margin:
        46px auto 0;

    padding:
        26px;

    border:
        1px solid #e2e8f0;

    border-radius: 7px;

    background:
        #ffffff;

    box-shadow:
        0 12px 32px rgba(15, 23, 42, .05);
}


/* =========================================================
   04. TRACK FORM
========================================================= */

.tgf-na-page--track .tgf-na-track-form {
    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0, 1fr));

    gap:
        14px 16px;

    align-items: end;
}


/* =========================================================
   05. FIELD
========================================================= */

.tgf-na-page--track .tgf-na-track-form .tgf-na-field {
    display: grid;

    gap: 7px;

    margin: 0;
}


.tgf-na-page--track .tgf-na-track-form .tgf-na-field>span {
    color: #0a2b5c;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.4;
}


.tgf-na-page--track .tgf-na-track-form .tgf-na-field>span b {
    color: #d41f32;

    font: inherit;
}


.tgf-na-page--track .tgf-na-track-form input {
    width: 100%;
    min-width: 0;
    min-height: 44px;

    padding:
        0 13px;

    border:
        1px solid #dbe3ee;

    border-radius: 7px;

    background:
        #ffffff;

    color:
        #071a36;

    font-family: inherit;
    font-size: 10px;
    font-weight: 500;

    line-height: 1.4;

    outline: none;

    box-shadow: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}


.tgf-na-page--track .tgf-na-track-form input::placeholder {
    color:
        #94a3b8;

    font-size: 10px;
    font-weight: 500;

    opacity: 1;
}


.tgf-na-page--track .tgf-na-track-form input:hover {
    border-color:
        #cbd5e1;
}


.tgf-na-page--track .tgf-na-track-form input:focus {
    border-color:
        #174b8a;

    box-shadow:
        0 0 0 3px rgba(23, 75, 138, .08);
}


/* =========================================================
   06. QUERY BUTTON
========================================================= */

.tgf-na-page--track .tgf-na-track-form button {
    grid-column:
        1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 44px;

    margin-top: 0;

    padding:
        0 16px;

    border: 0;

    border-radius: 7px;

    background:
        linear-gradient(135deg,
            #071a36 0%,
            #0a2b5c 100%);

    color:
        #ffffff;

    font-family: inherit;
    font-size: 10px;
    font-weight: 850;

    line-height: 1.4;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(7, 26, 54, .14);

    transition:
        background-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.tgf-na-page--track .tgf-na-track-form button:hover {
    background:
        linear-gradient(135deg,
            #0a2b5c 0%,
            #174b8a 100%);

    box-shadow:
        0 11px 25px rgba(7, 26, 54, .20);

    transform:
        translateY(-1px);
}


.tgf-na-page--track .tgf-na-track-form button:focus-visible {
    outline:
        3px solid rgba(244, 180, 0, .28);

    outline-offset: 2px;
}


/* =========================================================
   07. RESULT
========================================================= */

.tgf-na-page--track .tgf-na-track-result {
    margin-top: 22px;

    padding:
        24px;

    border:
        1px solid #e2e8f0;

    border-radius: 7px;

    background:
        #ffffff;

    box-shadow:
        none;
}


/* =========================================================
   08. RESULT HEADER
========================================================= */

.tgf-na-page--track .tgf-na-track-result__head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding-bottom: 18px;

    border-bottom:
        1px solid #e2e8f0;
}


.tgf-na-page--track .tgf-na-track-result__head>div {
    min-width: 0;
}


.tgf-na-page--track .tgf-na-track-result__head span {
    display: block;

    color:
        #174b8a;

    font-size: 10px;
    font-weight: 850;

    line-height: 1;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.tgf-na-page--track .tgf-na-track-result__head h2 {
    margin:
        6px 0 0;

    color:
        #071a36;

    font-size: 20px;
    font-weight: 850;

    line-height: 1.2;
}


.tgf-na-page--track .tgf-na-track-result__head small {
    display: block;

    margin-top: 5px;

    color:
        #64748b;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   09. STATUS
========================================================= */

.tgf-na-page--track .tgf-na-status {
    flex: 0 0 auto;

    padding:
        7px 10px;

    border-radius: 7px;

    background:
        #eef2f7;

    color:
        #334155;

    font-size: 10px;
    font-weight: 850;
}


.tgf-na-page--track .tgf-na-status--new {
    background:
        #dbeafe;

    color:
        #1d4ed8;
}


.tgf-na-page--track .tgf-na-status--under_review {
    background:
        #fef3c7;

    color:
        #92400e;
}


.tgf-na-page--track .tgf-na-status--missing_document {
    background:
        #fee2e2;

    color:
        #b91c1c;
}


.tgf-na-page--track .tgf-na-status--approved,
.tgf-na-page--track .tgf-na-status--ready {
    background:
        #dcfce7;

    color:
        #15803d;
}


.tgf-na-page--track .tgf-na-status--rejected {
    background:
        #fee2e2;

    color:
        #b91c1c;
}


/* =========================================================
   10. INFORMATION GRID
========================================================= */

.tgf-na-page--track .tgf-na-track-info {
    display: grid;

    grid-template-columns:
        repeat(4,
            minmax(0, 1fr));

    gap: 10px;

    margin-top: 18px;
}


.tgf-na-page--track .tgf-na-track-info>div {
    min-width: 0;

    padding:
        13px;

    border:
        1px solid #e2e8f0;

    border-radius: 7px;

    background:
        #f7f9fc;
}


.tgf-na-page--track .tgf-na-track-info span,
.tgf-na-page--track .tgf-na-track-info strong {
    display: block;
}


.tgf-na-page--track .tgf-na-track-info span {
    color:
        #64748b;

    font-size: 10px;
    font-weight: 750;

    line-height: 1.3;

    text-transform: uppercase;
}


.tgf-na-page--track .tgf-na-track-info strong {
    margin-top: 5px;

    color:
        #071a36;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.45;
}


/* =========================================================
   11. ADMIN NOTE
========================================================= */

.tgf-na-page--track .tgf-na-admin-note {
    margin-top: 18px;

    padding:
        14px 16px;

    border-left:
        3px solid #f4b400;

    border-radius:
        0 7px 7px 0;

    background:
        rgba(212, 167, 44, .08);
}


.tgf-na-page--track .tgf-na-admin-note span {
    color:
        #8a6508;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
}


.tgf-na-page--track .tgf-na-admin-note p {
    margin:
        5px 0 0;

    color:
        #475569;

    font-size: 10px;

    line-height: 1.65;
}


/* =========================================================
   12. PDF PANEL
========================================================= */

.tgf-na-page--track .tgf-na-track-pdf {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;

    padding:
        15px 16px;

    border:
        1px solid rgba(23, 75, 138, .14);

    border-radius: 7px;

    background:
        rgba(23, 75, 138, .045);
}


.tgf-na-page--track .tgf-na-track-pdf>div {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}


.tgf-na-page--track .tgf-na-track-pdf__icon {
    display: grid;
    place-items: center;

    flex:
        0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 7px;

    background:
        #0a2b5c;

    color:
        #ffffff;
}


.tgf-na-page--track .tgf-na-track-pdf__icon svg {
    width: 18px;
    height: 18px;
}


.tgf-na-page--track .tgf-na-track-pdf strong,
.tgf-na-page--track .tgf-na-track-pdf span {
    display: block;
}


.tgf-na-page--track .tgf-na-track-pdf strong {
    color:
        #071a36;

    font-size: 10px;
    font-weight: 850;
}


.tgf-na-page--track .tgf-na-track-pdf>div>div>span {
    margin-top: 3px;

    color:
        #64748b;

    font-size: 10px;

    line-height: 1.5;
}


.tgf-na-page--track .tgf-na-track-pdf>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    flex: 0 0 auto;

    min-height: 38px;

    padding:
        0 13px;

    border-radius: 7px;

    background:
        #0a2b5c;

    color:
        #ffffff;

    font-size: 10px;
    font-weight: 850;

    text-decoration: none;

    transition:
        background-color .18s ease,
        transform .18s ease;
}


.tgf-na-page--track .tgf-na-track-pdf>a:hover {
    background:
        #174b8a;

    transform:
        translateY(-1px);
}


/* =========================================================
   13. TIMELINE
========================================================= */

.tgf-na-page--track .tgf-na-timeline {
    margin-top: 22px;
}


.tgf-na-page--track .tgf-na-timeline h3 {
    margin:
        0 0 15px;

    color:
        #071a36;

    font-size: 15px;
    font-weight: 850;
}


.tgf-na-page--track .tgf-na-timeline__item {
    display: grid;

    grid-template-columns:
        16px minmax(0, 1fr);

    gap: 10px;

    padding:
        0 0 16px;
}


.tgf-na-page--track .tgf-na-timeline__item i {
    width: 10px;
    height: 10px;

    margin-top: 4px;

    border-radius: 50%;

    background:
        #165e9b;
}


.tgf-na-page--track .tgf-na-timeline__item strong,
.tgf-na-page--track .tgf-na-timeline__item span {
    display: block;
}


.tgf-na-page--track .tgf-na-timeline__item strong {
    color:
        #071a36;

    font-size: 10px;
    font-weight: 850;
}


.tgf-na-page--track .tgf-na-timeline__item p {
    margin:
        4px 0;

    color:
        #64748b;

    font-size: 10px;

    line-height: 1.55;
}


.tgf-na-page--track .tgf-na-timeline__item span {
    color:
        #94a3b8;

    font-size: 10px;
}


/* =========================================================
   14. ERROR
========================================================= */

.tgf-na-page--track .tgf-na-alert--danger {
    margin-top: 20px;

    padding:
        16px 18px;

    border:
        1px solid rgba(220, 38, 38, .18);

    border-radius: 7px;

    background:
        rgba(220, 38, 38, .05);

    color:
        #7f1d1d;

    font-size: 10px;

    line-height: 1.6;
}


.tgf-na-page--track .tgf-na-alert--danger strong {
    display: block;

    font-size: 10px;
    font-weight: 850;
}


.tgf-na-page--track .tgf-na-alert--danger p {
    margin:
        5px 0 0;

    font-size: 10px;
}


/* =========================================================
   15. TABLET
========================================================= */

@media (max-width: 900px) {

    .tgf-na-page--track .tgf-na-hero>.tgf-container-wide {
        width:
            min(calc(100% - 36px),
                1500px);
    }


    .tgf-na-page--track .tgf-na-hero--compact {
        padding:
            42px 0 52px;
    }


    .tgf-na-page--track .tgf-na-track-shell {
        width:
            min(calc(100% - 48px),
                1500px);

        padding:
            24px;
    }


    .tgf-na-page--track .tgf-na-track-info {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));
    }

}


/* =========================================================
   16. MOBILE
========================================================= */

@media (max-width: 620px) {

    .tgf-na-page--track {
        padding-bottom: 54px;
    }


    .tgf-na-page--track .tgf-na-hero>.tgf-container-wide {
        width:
            calc(100% - 28px);
    }


    .tgf-na-page--track .tgf-na-hero--compact {
        padding:
            30px 0 36px;
    }


    .tgf-na-page--track .tgf-na-hero h1 {
        max-width: 100%;

        font-size: 30px;
    }


    .tgf-na-page--track .tgf-na-hero__content p {
        font-size: 11px;
    }


    .tgf-na-page--track .tgf-na-track-shell {
        width:
            calc(100% - 28px);

        margin-top: 28px;

        padding:
            18px;
    }


    .tgf-na-page--track .tgf-na-track-form {
        grid-template-columns:
            1fr;
    }


    .tgf-na-page--track .tgf-na-track-form button {
        grid-column:
            auto;
    }


    .tgf-na-page--track .tgf-na-track-result {
        padding:
            18px;
    }


    .tgf-na-page--track .tgf-na-track-result__head {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .tgf-na-page--track .tgf-na-track-info {
        grid-template-columns:
            1fr;
    }


    .tgf-na-page--track .tgf-na-track-pdf {
        align-items:
            stretch;

        flex-direction:
            column;
    }


    .tgf-na-page--track .tgf-na-track-pdf>a {
        width:
            100%;
    }

}