/* ==========================================================
   CENCRAFT APPLICATIONS
========================================================== */

.cc-applications-page {
    padding-top: 56px;
    padding-bottom: 90px;
}


/* ==========================================================
   HERO
========================================================== */

.cc-applications-hero {
    margin-bottom: 48px;
}

.cc-applications-hero h1 {
    margin: 14px 0 16px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.cc-applications-subtitle {
    max-width: 680px;
    margin: 0;
    color: #9aabba;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==========================================================
   APPLICATION CARDS
========================================================== */

.cc-applications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.cc-application-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 270px;
    padding: 30px;

    text-decoration: none !important;
    color: inherit !important;

    border: 1px solid rgba(18, 217, 239, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.035),
            rgba(255, 255, 255, 0.01)
        );

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.cc-application-card:hover {
    transform: translateY(-4px);

    border-color: rgba(18, 217, 239, 0.45);

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);
}

.cc-application-card h2 {
    margin: 18px 0 12px;

    color: #f4f7fa;
    font-size: 1.45rem;
    line-height: 1.2;
}

.cc-application-card p {
    margin: 0;

    color: #91a1b1;
    line-height: 1.7;
}

.cc-application-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;
    padding-top: 28px;

    color: #12d9ef;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.cc-application-card:hover .cc-application-link {
    color: #ffffff;
}


/* ==========================================================
   MY APPLICATIONS
========================================================== */

.cc-applications-history {
    margin-top: 22px;
}

.cc-applications-history > .cc-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 30px;
}

.cc-applications-history h2 {
    margin: 14px 0 8px;
    color: #f4f7fa;
}

.cc-applications-history p {
    margin: 0;
    color: #91a1b1;
    line-height: 1.65;
}


/* ==========================================================
   LOGIN REQUIRED
========================================================== */

.cc-applications-login {
    max-width: 720px;
}

.cc-applications-login .cc-card {
    padding: 34px;
}

.cc-applications-login h2 {
    margin: 14px 0 12px;
}

.cc-applications-login p {
    margin: 0 0 26px;
    color: #91a1b1;
    line-height: 1.7;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 950px) {

    .cc-applications-grid {
        grid-template-columns: 1fr;
    }

    .cc-application-card {
        min-height: 220px;
    }

}


@media (max-width: 700px) {

    .cc-applications-page {
        padding-top: 36px;
        padding-bottom: 60px;
    }

    .cc-applications-hero {
        margin-bottom: 34px;
    }

    .cc-application-card {
        min-height: 0;
        padding: 24px;
    }

    .cc-applications-history > .cc-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

}

/* ==========================================================
   CENCRAFT APPLICATION FORM
========================================================== */

.cc-application-form-page {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding-top: 52px;
    padding-bottom: 100px;
}


/* ==========================================================
   HEADER / HERO
========================================================== */

.cc-application-form-hero {
    margin-bottom: 42px;
}

.cc-application-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 28px;

    color: #8495a7 !important;
    font-size: 0.92rem;
    text-decoration: none !important;

    transition: color 0.2s ease;
}

.cc-application-back:hover {
    color: #12d9ef !important;
}

.cc-application-form-hero .cc-eyebrow {
    margin-bottom: 14px;
}

.cc-application-form-hero h1 {
    margin: 0 0 16px;

    color: #f4f7fa;

    font-size: clamp(2.4rem, 5vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.cc-application-form-hero > p {
    max-width: 700px;
    margin: 0;

    color: #91a1b1;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==========================================================
   FORM CARD
========================================================== */

.cc-application-form {
    display: block;
    width: 100%;
}

.cc-application-form .cc-form-section {
    display: block;

    width: 100%;
    box-sizing: border-box;

    margin: 0 0 24px;
    padding: 34px;

    border: 1px solid rgba(18, 217, 239, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.03),
            rgba(255, 255, 255, 0.01)
        );
}


/* ==========================================================
   FIELDS
========================================================== */

.cc-application-form .cc-form-field {
    display: block;

    width: 100%;
    margin: 0 0 28px;
}

.cc-application-form .cc-form-field:last-child {
    margin-bottom: 0;
}

.cc-application-form .cc-form-field > label {
    display: block;

    width: 100%;
    margin: 0 0 9px;

    color: #dce4eb;

    font-size: 0.93rem;
    font-weight: 650;
    line-height: 1.45;
}

.cc-form-required {
    color: #12d9ef;
    margin-left: 3px;
}


/* ==========================================================
   INPUTS
========================================================== */

.cc-application-form .cc-form-field input[type="text"],
.cc-application-form .cc-form-field input[type="email"],
.cc-application-form .cc-form-field input[type="number"],
.cc-application-form .cc-form-field select,
.cc-application-form .cc-form-field textarea {

    display: block;

    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box;

    margin: 0 !important;
    padding: 14px 16px !important;

    color: #eef4f7 !important;

    background:
        rgba(3, 12, 22, 0.78) !important;

    border:
        1px solid
        rgba(132, 149, 167, 0.25) !important;

    border-radius: 10px !important;

    outline: none;

    font-family: inherit;
    font-size: 0.96rem;
    line-height: 1.5;

    box-shadow: none !important;

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

.cc-application-form .cc-form-field textarea {
    min-height: 150px;

    resize: vertical;
}


/* ==========================================================
   INPUT HOVER / FOCUS
========================================================== */

.cc-application-form .cc-form-field input:hover,
.cc-application-form .cc-form-field select:hover,
.cc-application-form .cc-form-field textarea:hover {
    border-color:
        rgba(18, 217, 239, 0.35) !important;
}

.cc-application-form .cc-form-field input:focus,
.cc-application-form .cc-form-field select:focus,
.cc-application-form .cc-form-field textarea:focus {

    border-color:
        rgba(18, 217, 239, 0.75) !important;

    background:
        rgba(4, 16, 28, 0.95) !important;

    box-shadow:
        0 0 0 3px
        rgba(18, 217, 239, 0.08) !important;
}


/* ==========================================================
   READ-ONLY ACCOUNT FIELDS
========================================================== */

.cc-application-form
.cc-form-field
input[readonly] {

    color: #9fb0bf !important;

    background:
        rgba(255, 255, 255, 0.025) !important;

    border-color:
        rgba(132, 149, 167, 0.16) !important;

    cursor: not-allowed;
}


/* ==========================================================
   PLACEHOLDERS
========================================================== */

.cc-application-form
.cc-form-field
input::placeholder,

.cc-application-form
.cc-form-field
textarea::placeholder {

    color: #5f7182;

    opacity: 1;
}


/* ==========================================================
   HELP TEXT
========================================================== */

.cc-application-form .cc-form-help {
    margin: 8px 0 0;

    color: #718395;

    font-size: 0.82rem;
    line-height: 1.5;
}


/* ==========================================================
   RADIO / CHECKBOX OPTIONS
========================================================== */

.cc-form-options {
    display: grid;
    gap: 10px;
}

.cc-application-form .cc-form-option {
    display: flex;
    align-items: center;
    gap: 11px;

    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 13px 15px;

    color: #dce4eb;

    border:
        1px solid
        rgba(132, 149, 167, 0.18);

    border-radius: 10px;

    background:
        rgba(3, 12, 22, 0.55);

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.cc-application-form .cc-form-option:hover {
    border-color:
        rgba(18, 217, 239, 0.4);

    background:
        rgba(18, 217, 239, 0.035);
}

.cc-application-form
.cc-form-option
input[type="radio"],

.cc-application-form
.cc-form-option
input[type="checkbox"] {

    width: 17px !important;
    height: 17px !important;

    margin: 0 !important;

    accent-color: #12d9ef;
}


/* ==========================================================
   SUBMIT AREA
========================================================== */

.cc-application-form .cc-form-submit {

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

    gap: 28px;

    width: 100%;
    box-sizing: border-box;

    margin-top: 28px;
    padding: 26px 30px;

    border:
        1px solid
        rgba(18, 217, 239, 0.14);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.012);
}

.cc-application-form .cc-form-submit p {
    max-width: 580px;
    margin: 0;

    color: #7f91a3;

    font-size: 0.88rem;
    line-height: 1.6;
}

.cc-application-form
.cc-form-submit
.cc-button {

    flex-shrink: 0;
}


/* ==========================================================
   NOTICES
========================================================== */

.cc-form-notice,
.cc-form-errors {

    width: 100%;
    box-sizing: border-box;

    padding: 30px;

    border:
        1px solid
        rgba(18, 217, 239, 0.2);

    border-radius: 18px;

    background:
        rgba(18, 217, 239, 0.025);
}

.cc-form-notice h2 {
    margin: 14px 0 10px;

    color: #f4f7fa;
}

.cc-form-notice p {
    margin: 0 0 24px;

    color: #91a1b1;
    line-height: 1.65;
}

.cc-form-errors {
    margin-bottom: 24px;

    border-color:
        rgba(235, 100, 100, 0.32);
}

.cc-form-errors ul {
    margin-bottom: 0;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .cc-application-form-page {
        padding-top: 34px;
        padding-bottom: 65px;
    }

    .cc-application-form-hero {
        margin-bottom: 32px;
    }

    .cc-application-form .cc-form-section {
        padding: 24px 20px;
    }

    .cc-application-form .cc-form-submit {
        flex-direction: column;
        align-items: stretch;

        padding: 22px;
    }

    .cc-application-form
    .cc-form-submit
    .cc-button {

        width: 100%;
        text-align: center;
    }

}

/* ==========================================================
   MY APPLICATIONS
========================================================== */

.cc-my-applications-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 52px;
    padding-bottom: 100px;
}


/* HERO */

.cc-my-applications-hero {
    margin-bottom: 42px;
}

.cc-my-applications-hero h1 {
    margin: 14px 0 14px;

    color: #f4f7fa;

    font-size: clamp(2.4rem, 5vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.cc-my-applications-hero > p {
    max-width: 680px;
    margin: 0;

    color: #91a1b1;

    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==========================================================
   SUBMISSION LIST
========================================================== */

.cc-submission-list {
    display: grid;
    gap: 18px;
}


.cc-submission-card {

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

    gap: 30px;

    padding: 28px 30px;

    border:
        1px solid
        rgba(18, 217, 239, 0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.025),
            rgba(255, 255, 255, 0.01)
        );

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}


.cc-submission-card:hover {

    transform: translateY(-2px);

    border-color:
        rgba(18, 217, 239, 0.38);

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.045),
            rgba(255, 255, 255, 0.012)
        );
}


.cc-submission-main {
    flex: 1;
    min-width: 0;
}


.cc-submission-top {

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

    gap: 25px;
}


.cc-submission-card h2 {

    margin: 10px 0 8px;

    color: #f4f7fa;

    font-size: 1.35rem;
}


.cc-submission-meta {

    color: #718395;

    font-size: 0.86rem;
}


.cc-submission-action {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}


/* ==========================================================
   STATUS BADGES
========================================================== */

.cc-status-badge {

    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 750;

    letter-spacing: 0.05em;
    text-transform: uppercase;

    white-space: nowrap;
}


/* Pending */

.cc-status-pending {

    color: #e8bd65;

    border:
        1px solid
        rgba(232, 189, 101, 0.25);

    background:
        rgba(232, 189, 101, 0.07);
}


/* Under Review */

.cc-status-reviewing {

    color: #12d9ef;

    border:
        1px solid
        rgba(18, 217, 239, 0.25);

    background:
        rgba(18, 217, 239, 0.07);
}


/* More Information */

.cc-status-info {

    color: #a5b4fc;

    border:
        1px solid
        rgba(165, 180, 252, 0.25);

    background:
        rgba(165, 180, 252, 0.07);
}


/* Approved */

.cc-status-approved {

    color: #75d69c;

    border:
        1px solid
        rgba(117, 214, 156, 0.25);

    background:
        rgba(117, 214, 156, 0.07);
}


/* Denied */

.cc-status-denied {

    color: #ef8d8d;

    border:
        1px solid
        rgba(239, 141, 141, 0.25);

    background:
        rgba(239, 141, 141, 0.07);
}


/* Closed */

.cc-status-closed {

    color: #91a1b1;

    border:
        1px solid
        rgba(145, 161, 177, 0.22);

    background:
        rgba(145, 161, 177, 0.05);
}

/* Resolved */

.cc-status-resolved {
    color: #75d69c;

    border:
        1px solid
        rgba(117, 214, 156, 0.25);

    background:
        rgba(117, 214, 156, 0.07);
}

/* ==========================================================
   EMPTY STATE
========================================================== */

.cc-my-applications-empty .cc-card {

    padding: 36px;

    border:
        1px solid
        rgba(18, 217, 239, 0.18);

    border-radius: 18px;
}


.cc-my-applications-empty h2 {

    margin: 14px 0 10px;

    color: #f4f7fa;
}


.cc-my-applications-empty p {

    margin: 0 0 26px;

    color: #91a1b1;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .cc-my-applications-page {
        padding-top: 34px;
        padding-bottom: 65px;
    }


    .cc-submission-card {

        flex-direction: column;
        align-items: stretch;

        padding: 24px;
    }


    .cc-submission-top {

        flex-direction: column;

        gap: 14px;
    }


    .cc-status-badge {
        align-self: flex-start;
    }


    .cc-submission-action .cc-button {

        display: block;

        width: 100%;

        text-align: center;
    }

}

/* ==========================================================
   SUBMISSION DETAIL
========================================================== */

.cc-submission-detail-hero {
    margin-bottom: 30px;
}

.cc-submission-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.cc-submission-detail-heading h1 {
    margin: 14px 0 12px;
    color: #f4f7fa;
    font-size: clamp(2.4rem, 5vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.cc-submission-detail-heading p {
    margin: 0;
    color: #718395;
    font-size: 0.9rem;
}


/* ==========================================================
   ANSWERS
========================================================== */

.cc-submission-answers {
    padding: 34px;

    border: 1px solid rgba(18, 217, 239, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 217, 239, 0.025),
            rgba(255, 255, 255, 0.01)
        );
}

.cc-answer-list {
    margin-top: 28px;
}

.cc-answer-item {
    margin: 0 0 26px;
    padding: 0 0 26px;

    border-bottom:
        1px solid rgba(132, 149, 167, 0.12);
}

.cc-answer-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cc-answer-label {
    margin-bottom: 9px;

    color: #8fa1b2;

    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.cc-answer-value {
    color: #e2e9ef;

    font-size: 1rem;
    line-height: 1.7;

    overflow-wrap: anywhere;
}

.cc-answer-empty {
    color: #617384;
    font-style: italic;
}


/* ==========================================================
   CURRENT STATUS PANEL
========================================================== */

.cc-submission-status-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 22px;
    padding: 30px 34px;

    border: 1px solid rgba(18, 217, 239, 0.15);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.012);
}

.cc-submission-status-panel h2 {
    margin: 12px 0 8px;

    color: #f4f7fa;
    font-size: 1.35rem;
}

.cc-submission-status-panel p {
    max-width: 700px;
    margin: 0;

    color: #8495a7;
    line-height: 1.65;
}


/* ==========================================================
   SUBMISSION DETAIL MOBILE
========================================================== */

@media (max-width: 700px) {

    .cc-submission-detail-heading {
        flex-direction: column;
        gap: 18px;
    }

    .cc-submission-answers {
        padding: 24px 20px;
    }

    .cc-submission-status-panel {
        flex-direction: column;
        align-items: flex-start;

        padding: 24px 20px;
    }

}

/* ==========================================================
   STAFF FEEDBACK
========================================================== */

.cc-submission-feedback {
    margin-top: 24px;
    padding: 20px 22px;

    border: 1px solid rgba(18, 217, 239, 0.14);
    border-left: 3px solid #12d9ef;
    border-radius: 10px;

    background: rgba(18, 217, 239, 0.035);
}

.cc-feedback-label {
    margin-bottom: 10px;

    color: #12d9ef;

    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cc-feedback-text {
    color: #dce4eb;

    font-size: 0.95rem;
    line-height: 1.7;

    overflow-wrap: anywhere;
}