/* ========================================
   SHARE STORY HERO
======================================== */

.story-submit-hero {
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(135deg, #167d6b 0%, #0f6859 100%);
}

    .story-submit-hero .container {
        max-width: 1180px;
    }

.story-submit-hero-content {
    max-width: 760px;
}

.story-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    color: #d7eee8;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
}
    .story-back-link:hover {
        color: #ffffff;
    }
.story-submit-label {
    display: block;
    margin-bottom: .65rem;
    color: #d7eee8;
    font-size: .87rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.story-submit-hero h1{
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.story-submit-hero p {
    max-width: 650px;
    margin: 0;
    color: #e5f4ef;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}


/* ========================================
   FORM PAGE LAYOUT
======================================== */

.story-submit-section {
    padding: 70px 0 85px;
    background: #f7faf9;
}

.story-submit-layout {
    width: 100%;
}

.story-form-card {
    width: 100%;
    padding: 38px;
    border: 1px solid #dce9e5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(24, 59, 56, .08);
}

.story-form-heading {
    margin-bottom: 34px;
}

    .story-form-heading > span {
        display: block;
        margin-bottom: 8px;
        color: #167d6b;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .story-form-heading h2 {
        margin: 0 0 10px;
        color: #183b38;
        font-size: 34px;
        font-weight: 800;
    }

    .story-form-heading p {
        margin: 0;
        color: #60736f;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.65;
    }


/* ========================================
   FORM GROUPS AND FIELDS
======================================== */

.story-form-group {
    margin: 0 0 34px;
    padding: 0;
    border: 0;
}

    .story-form-group legend {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 21px;
        color: #183b38;
        font-size: 20px;
        font-weight: 800;
    }

        .story-form-group legend span {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            border-radius: 50%;
            background: #dff2ec;
            color: #167d6b;
            font-size: 16px;
        }

.story-field-label {
    display: block;
    margin-bottom: 8px;
    color: #294b47;
    font-size: 16px;
    font-weight: 750;
}

    .story-field-label > span {
        color: #7d908c;
        font-weight: 600;
    }

.story-input {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cededa;
    border-radius: 12px;
    color: #294b47;
    font-size: 16px;
    font-weight: 600;
}

    .story-input:focus {
        border-color: #167d6b;
        box-shadow: 0 0 0 4px rgba(22, 125, 107, .11);
    }

.story-textarea {
    min-height: 122px;
    resize: vertical;
    line-height: 1.65;
}

.story-field-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 13px;
    font-weight: 650;
}

.story-validation-summary {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 4px solid #b42318;
    border-radius: 10px;
    background: #fff2f0;
    color: #8f1d14;
    font-size: 14px;
    font-weight: 650;
}

    .story-validation-summary:empty,
    .story-validation-summary.validation-summary-valid {
        display: none;
    }


/* ========================================
   MEDIA UPLOAD AND PRIVACY
======================================== */

.story-upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 155px;
    flex-direction: column;
    padding: 22px;
    border: 2px dashed #bad7cf;
    border-radius: 16px;
    background: #f7fbfa;
    color: #183b38;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
}

    .story-upload-box:hover {
        border-color: #167d6b;
        background: #eff8f5;
    }

    .story-upload-box i {
        margin-bottom: 8px;
        color: #167d6b;
        font-size: 30px;
    }

    .story-upload-box strong {
        margin-bottom: 3px;
        font-size: 16px;
    }

    .story-upload-box span {
        color: #718580;
        font-size: 13px;
        font-weight: 600;
    }

    .story-upload-box input {
        max-width: 100%;
        margin-top: 13px;
        color: #60736f;
        font-size: 12px;
    }

.story-check-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 18px;
    border: 1px solid #d7e5e1;
    border-radius: 14px;
    background: #fbfdfc;
    cursor: pointer;
}

    .story-check-card input {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
        margin-top: 2px;
        border-color: #9dbcb4;
    }

        .story-check-card input:checked {
            border-color: #167d6b;
            background-color: #167d6b;
        }

    .story-check-card strong,
    .story-check-card small {
        display: block;
    }

    .story-check-card strong {
        margin-bottom: 4px;
        color: #294b47;
        font-size: 14px;
    }

    .story-check-card small {
        color: #718580;
        font-size: 16px;
        

        line-height: 1.5;
    }

.story-consent-card {
    border-color: #b9d9d0;
    background: #f2faf7;
}


/* ========================================
   FORM NOTES AND ACTIONS
======================================== */

.story-medical-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 14px;
    background: #fff8e8;
}

    .story-medical-note i {
        color: #b67a08;
        font-size: 22px;
    }

    .story-medical-note p {
        margin: 0;
        color: #71551d;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.65;
    }

.story-form-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.story-submit-btn,
.story-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 23px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s ease;
}

.story-submit-btn {
    gap: 9px;
    border: 2px solid #167d6b;
    background: #167d6b;
    color: #ffffff;
}

    .story-submit-btn:hover {
        border-color: #106b5c;
        background: #106b5c;
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(22, 125, 107, .22);
    }

.story-cancel-btn {
    border: 2px solid #cbdcd7;
    background: #ffffff;
    color: #526b66;
}

    .story-cancel-btn:hover {
        border-color: #9ebbb3;
        background: #f5faf8;
        color: #294b47;
    }

.story-success-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px 22px;
    border: 1px solid #b8dfd3;
    border-radius: 17px;
    background: #eaf8f3;
}

    .story-success-message > i {
        color: #167d6b;
        font-size: 27px;
    }

    .story-success-message h2 {
        margin: 0 0 3px;
        color: #183b38;
        font-size: 18px;
        font-weight: 800;
    }

    .story-success-message p {
        margin: 0;
        color: #526b66;
        font-size: 17px;
        font-weight: 600;
    }


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

@media (max-width: 767px) {
    .story-submit-hero {
        padding: 4rem 0 3.5rem;
    }

    .story-submit-section {
        padding: 50px 0 65px;
    }

    .story-form-card {
        padding: 25px 20px;
        border-radius: 19px;
    }

    .story-form-heading h2 {
        font-size: 28px;
    }

    .story-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .story-submit-btn,
    .story-cancel-btn {
        width: 100%;
    }
}
