/* BIBLE GROWTH SYSTEM - BIBLE STUDY PAGE */

.study-page {
    min-height: 100vh;
    background: #F7FCEB;
}

.study-topbar {
    min-height: 75px;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #FFFFFF;
    border-bottom: 1px solid #E3EBCF;
}

.study-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #26321A;
    font-size: 16px;
    font-weight: 800;
}

.study-brand-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #B7E432;
    font-size: 22px;
}

.study-topbar nav {
    display: flex;
    gap: 22px;
}

.study-topbar nav a {
    color: #69745D;
    font-size: 13px;
    font-weight: 700;
}

.study-topbar nav a:hover {
    color: #719D0B;
}

.study-container {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 40px 0;
}

.study-heading {
    margin-bottom: 28px;
}

.study-eyebrow {
    color: #719D0B;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.study-heading h1 {
    margin: 10px 0;
    color: #26321A;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -1px;
}

.study-heading > p {
    max-width: 700px;
    color: #69745D;
    font-size: 14px;
    line-height: 1.8;
}

.study-card {
    margin-bottom: 26px;
    padding: 30px;
    border: 1px solid #E3EBCF;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 20px rgba(38, 50, 26, 0.04);
}

.study-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 27px;
}

.study-card-heading h2 {
    color: #26321A;
    font-size: 20px;
}

.study-card-heading p {
    margin-top: 6px;
    color: #89917F;
    font-size: 12px;
}

.study-heading-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #F0F8D9;
    color: #719D0B;
    font-size: 24px;
}

.study-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.study-field {
    min-width: 0;
}

.study-field.full-width {
    grid-column: 1 / -1;
}

.study-field label {
    display: block;
    margin-bottom: 8px;
    color: #344326;
    font-size: 13px;
    font-weight: 700;
}

.study-field input,
.study-field select,
.study-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #E3EBCF;
    border-radius: 9px;
    outline: none;
    background: #FCFDF9;
    color: #26321A;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.study-field input,
.study-field select {
    min-height: 47px;
}

.study-field textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.8;
}

.study-field input:focus,
.study-field select:focus,
.study-field textarea:focus {
    border-color: #8DBF00;
    box-shadow: 0 0 0 3px rgba(183, 228, 50, 0.2);
    background: #FFFFFF;
}

.study-field input::placeholder,
.study-field textarea::placeholder {
    color: #9AA18F;
}

.study-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #EEF1E7;
}

.study-reset,
.study-submit {
    min-height: 45px;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.study-reset {
    border: 1px solid #E3EBCF;
    background: #FFFFFF;
    color: #69745D;
}

.study-reset:hover {
    background: #F7FCEB;
}

.study-submit {
    border: 1px solid #B7E432;
    background: #B7E432;
    color: #26321A;
}

.study-submit:hover {
    border-color: #8DBF00;
    background: #8DBF00;
    color: #FFFFFF;
}

.study-alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.7;
}

.study-error {
    border: 1px solid #F0B7B7;
    background: #FFF2F2;
    color: #922B2B;
}

.study-success {
    border: 1px solid #D6E9A5;
    background: #F7FCEB;
    color: #405B0B;
}

.study-empty {
    padding: 30px 15px;
    text-align: center;
}

.study-empty > span {
    font-size: 35px;
}

.study-empty h3 {
    margin: 12px 0 7px;
    color: #26321A;
    font-size: 16px;
}

.study-empty p {
    color: #89917F;
    font-size: 13px;
}

.study-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.study-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.study-table th,
.study-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #EEF1E7;
    font-size: 12px;
    vertical-align: top;
}

.study-table th {
    background: #F7FCEB;
    color: #52613E;
    font-weight: 800;
}

.study-table td {
    color: #52613E;
}

.study-table tr:last-child td {
    border-bottom: none;
}

.study-footer {
    padding: 10px 0 25px;
    text-align: center;
    color: #89917F;
    font-size: 12px;
}

@media (max-width: 650px) {
    .study-topbar {
        padding: 13px 4%;
    }

    .study-brand {
        font-size: 13px;
    }

    .study-topbar nav {
        gap: 12px;
    }

    .study-topbar nav a {
        font-size: 11px;
    }

    .study-container {
        width: 94%;
        padding-top: 28px;
    }

    .study-card {
        padding: 20px 16px;
    }

    .study-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .study-field.full-width {
        grid-column: auto;
    }

    .study-form-actions {
        flex-direction: column-reverse;
    }

    .study-reset,
    .study-submit {
        width: 100%;
    }

    .study-card-heading h2 {
        font-size: 18px;
    }
}