/* ===========================
   WAITLIST FORM BLUE SELECT
   =========================== */
.coaching-dashboard-wrapper select,
.coaching-dashboard-wrapper .coaching-form-select,
form[action*="waitlist"] select,
form[name*="waitlist"] select,
form select[name^="waitlist_"],
.elevated-div .coaching-form-select,
.waitlist-form-select {
    color: #fff !important;
    background: var(--theme-elevated-light, #1f3a52) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.coaching-dashboard-wrapper select:focus,
.coaching-dashboard-wrapper .coaching-form-select:focus,
form[action*="waitlist"] select:focus,
form[name*="waitlist"] select:focus,
form select[name^="waitlist_"]:focus,
.elevated-div .coaching-form-select:focus,
.waitlist-form-select:focus {
    background: var(--theme-elevated, #13263A) !important;
    color: #fff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 200, 31, 0.2);
}

/* Ensure option elements are readable in the dropdown */
.coaching-dashboard-wrapper select option,
.coaching-dashboard-wrapper .coaching-form-select option,
.elevated-div .coaching-form-select option {
    background: var(--theme-elevated-light, #1f3a52);
    color: #fff;
}
/**
 * Coaching Dashboard Styles
 * Uses theme colors from theme.json
 */

:root {
    --theme-action: #EAC81F;
    --theme-action-hover: #BB9E11;
    --theme-elevated: #13263A;
    --theme-elevated-light: #1f3a52;
    --theme-surface: #F2F2F2;
    --theme-text-dark: #0D0D0D;
    --theme-text-muted: #4D4D4D;
}

/* ===========================
   LOGIN CTA SECTION
   =========================== */
.coaching-not-logged-in-cta {
    background: var(--theme-surface);
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    margin: 40px 0;
}

.coaching-not-logged-in-cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-text-dark);
    margin: 0 0 15px 0;
}

.coaching-not-logged-in-cta p {
    font-size: 16px;
    color: var(--theme-text-muted);
    margin: 0 0 30px 0;
}

.coaching-not-logged-in-cta .button {
    background: var(--theme-action);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coaching-not-logged-in-cta .button:hover {
    background: var(--theme-action-hover);
}

/* ===========================
   COACHING DASHBOARD WRAPPER
   =========================== */
.coaching-dashboard-wrapper {
    border-radius: 12px;
    padding: 40px !important;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.coaching-dashboard-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-text-dark);
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--theme-action);
}

/* ===========================
   NOTICES
   =========================== */
.coaching-errors-notice,
.coaching-success-notice {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.coaching-errors-notice {
    background: #ffebee;
    border: 1px solid #ef5350;
    color: #c62828;
}

.coaching-errors-notice ul {
    margin: 0;
    padding-left: 20px;
}

.coaching-errors-notice li {
    margin: 5px 0;
}

.coaching-success-notice {
    background: #e8f5e9;
    border: 1px solid #66bb6a;
    color: #2e7d32;
    font-weight: 500;
}

.coaching-success-notice p {
    margin: 0;
}

/* ===========================
   STATUS BOX
   =========================== */
.coaching-status-box {
    background: rgba(234, 200, 31, 0.15);
    border-left: 4px solid var(--theme-action);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.coaching-status-note {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.coaching-status-note strong {
    color: #fff;
    font-weight: 700;
}

/* ===========================
   FORM ELEMENTS
   =========================== */
.coaching-dashboard-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group:last-of-type {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--theme-text-dark);
    font-size: 15px;
    font-weight: 600;
}

.form-description {
    font-size: 13px;
    color: var(--theme-text-muted);
    margin: 6px 0 12px 0;
    font-style: italic;
}

.coaching-form-select,
.coaching-form-input,
.coaching-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.coaching-form-select:focus,
.coaching-form-input:focus,
.coaching-form-textarea:focus {
    outline: none;
    border-color: var(--theme-action);
    box-shadow: 0 0 0 3px rgba(234, 200, 31, 0.2);
}

.coaching-form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* ===========================
   SUBMIT BUTTON
   =========================== */
.coaching-dashboard-form .button {
    background: var(--theme-action);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.coaching-dashboard-form .button:hover {
    background: var(--theme-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.coaching-dashboard-form .button:active {
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .coaching-cta-section {
        padding: 40px 20px;
    }

    .coaching-cta-section h2 {
        font-size: 24px;
    }

    .coaching-dashboard-wrapper {
        padding: 30px 20px;
        margin: 20px 10px;
    }

    .coaching-dashboard-wrapper h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .coaching-cta-section {
        padding: 30px 15px;
    }

    .coaching-cta-section h2 {
        font-size: 20px;
    }

    .coaching-cta-section p {
        font-size: 14px;
    }

    .coaching-dashboard-wrapper {
        padding: 20px 15px;
    }

    .coaching-dashboard-wrapper h2 {
        font-size: 20px;
    }

    .coaching-dashboard-form .button {
        width: 100%;
    }
}
