/**
 * WEE User System — Styles
 * Login, Registration, Dashboard & Referral pages
 * Dark theme: navy + gold (#d4af37)
 */

/* ============================================================
   THEME RESET OVERRIDE
   hello-elementor/reset.css sets button { color:#c36; border:1px solid #c36 }
   We must kill this for all our elements with high specificity.
   ============================================================ */

/* Eye toggle — kill #c36 from reset.css on ALL states */
.wee-auth-container button.wee-password-toggle,
.wee-auth-container button.wee-password-toggle:link,
.wee-auth-container button.wee-password-toggle:visited,
.wee-auth-container button.wee-password-toggle:hover,
.wee-auth-container button.wee-password-toggle:focus,
.wee-auth-container button.wee-password-toggle:active,
.wee-dashboard button.wee-password-toggle,
.wee-dashboard button.wee-password-toggle:link,
.wee-dashboard button.wee-password-toggle:visited,
.wee-dashboard button.wee-password-toggle:hover,
.wee-dashboard button.wee-password-toggle:focus,
.wee-dashboard button.wee-password-toggle:active {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #a0a0b8 !important;
    padding: 4px !important;
    text-decoration: none !important;
}
.wee-auth-container button.wee-password-toggle:hover,
.wee-dashboard button.wee-password-toggle:hover {
    color: #d4af37 !important;
    background: none !important;
    background-color: transparent !important;
}

/* Submit button — gold on ALL states */
.wee-auth-container button.wee-btn-primary,
.wee-auth-container button.wee-btn-primary:link,
.wee-auth-container button.wee-btn-primary:visited,
.wee-auth-container button.wee-btn-primary:hover,
.wee-auth-container button.wee-btn-primary:focus,
.wee-auth-container button.wee-btn-primary:active,
.wee-dashboard button.wee-btn-primary,
.wee-dashboard button.wee-btn-primary:link,
.wee-dashboard button.wee-btn-primary:visited,
.wee-dashboard button.wee-btn-primary:hover,
.wee-dashboard button.wee-btn-primary:focus,
.wee-dashboard button.wee-btn-primary:active {
    background: linear-gradient(135deg, #d4af37, #b8962e) !important;
    background-color: #d4af37 !important;
    color: #0f172a !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}
.wee-auth-container button.wee-btn-primary:hover,
.wee-dashboard button.wee-btn-primary:hover {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3) !important;
    color: #0f172a !important;
    background: linear-gradient(135deg, #d4af37, #b8962e) !important;
}

/* Copy button — all states */
.wee-dashboard button.wee-copy-btn,
.wee-dashboard button.wee-copy-btn:hover,
.wee-dashboard button.wee-copy-btn:focus,
.wee-dashboard button.wee-copy-btn:active {
    background: rgba(212, 175, 55, 0.15) !important;
    background-color: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    box-shadow: none !important;
    outline: 0 !important;
}
.wee-dashboard button.wee-copy-btn:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    background-color: rgba(212, 175, 55, 0.25) !important;
}

/* ============================================================
   AUTH PAGES (Login & Register)
   ============================================================ */

.wee-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
}

.wee-auth-card {
    background: linear-gradient(145deg, var(--wee-dark-card, #16213e), var(--wee-dark-bg, #1a1a2e));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--wee-radius, 12px);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.05);
}

.wee-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.wee-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--wee-gold, #d4af37);
    margin-bottom: 16px;
}

.wee-auth-header h1 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0 0 8px;
}

.wee-auth-subtitle {
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   ALERTS
   ============================================================ */

.wee-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.wee-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.wee-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* ============================================================
   FORMS
   ============================================================ */

.wee-auth-form {
    position: relative;
}

.wee-form-group {
    margin-bottom: 20px;
}

.wee-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wee-text, #e8e8e8);
    margin-bottom: 6px;
}

.wee-optional {
    font-weight: 400;
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 13px;
}

.wee-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.wee-input-icon {
    position: absolute;
    left: 14px;
    color: var(--wee-text-muted, #a0a0b8);
    pointer-events: none;
    z-index: 1;
    flex-shrink: 0;
}

.wee-input-wrap input[type="text"],
.wee-input-wrap input[type="email"],
.wee-input-wrap input[type="password"],
.wee-input-wrap input[type="tel"],
.wee-input-wrap input[type="number"] {
    width: 100%;
    padding: 12px 14px 12px 44px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
}

/* Inputs without icons (dashboard profile) */
.wee-dash-main .wee-input-wrap input[type="text"],
.wee-dash-main .wee-input-wrap input[type="email"],
.wee-dash-main .wee-input-wrap input[type="password"],
.wee-dash-main .wee-input-wrap input[type="tel"] {
    padding-left: 14px;
}

.wee-input-wrap input:focus {
    border-color: var(--wee-gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.wee-input-wrap input::placeholder {
    color: #475569;
}

.wee-field-hint {
    display: block;
    font-size: 12px;
    color: var(--wee-text-muted, #a0a0b8);
    margin-top: 4px;
}

/* Password toggle */
.wee-password-toggle,
.wee-password-toggle:focus,
.wee-password-toggle:active,
.wee-password-toggle:visited {
    position: absolute;
    right: 10px;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--wee-text-muted, #a0a0b8) !important;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    z-index: 1;
    -webkit-appearance: none;
    appearance: none;
}

.wee-password-toggle:hover {
    background: transparent !important;
    color: var(--wee-gold, #d4af37) !important;
}

/* Form rows */
.wee-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wee-form-row-between {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wee-form-row-2col > .wee-form-group {
    flex: 1;
    min-width: 0;
}

/* Checkbox */
.wee-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--wee-text, #e8e8e8);
    cursor: pointer;
    line-height: 1.4;
}

.wee-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--wee-gold, #d4af37);
    flex-shrink: 0;
}

.wee-checkbox-label a {
    color: var(--wee-gold, #d4af37) !important;
    text-decoration: underline;
}

.wee-checkbox-label a:hover {
    color: var(--wee-gold-light, #f0d060) !important;
}

/* Small link */
.wee-link-small {
    font-size: 13px;
    color: var(--wee-gold, #d4af37) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.wee-link-small:hover {
    color: var(--wee-gold-light, #f0d060) !important;
    text-decoration: underline !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.wee-btn,
.wee-auth-form button[type="submit"],
.wee-auth-form .wee-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none !important;
    border-radius: 8px;
    font-size: 15px !important;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    text-decoration: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.wee-btn:hover {
    transform: translateY(-2px);
}

.wee-btn-primary,
.wee-auth-form button[type="submit"],
.wee-btn-primary:focus,
.wee-btn-primary:active,
.wee-btn-primary:visited {
    background: linear-gradient(135deg, var(--wee-gold, #d4af37), var(--wee-gold-dark, #b8962e)) !important;
    color: #0f172a !important;
    background-color: var(--wee-gold, #d4af37) !important;
}

.wee-btn-primary:hover,
.wee-auth-form button[type="submit"]:hover {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    color: #0f172a !important;
}

.wee-btn-full {
    width: 100%;
}

.wee-btn-gold {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--wee-gold, #d4af37);
}

.wee-btn-gold:hover {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

/* ============================================================
   AUTH FOOTER
   ============================================================ */

.wee-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-auth-footer p {
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 14px;
    margin: 0;
}

.wee-auth-footer a {
    color: var(--wee-gold, #d4af37) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.wee-auth-footer a:hover {
    text-decoration: underline !important;
}


/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */

.wee-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sidebar */
.wee-dash-sidebar {
    background: linear-gradient(180deg, var(--wee-dark-card, #16213e), var(--wee-dark-bg, #1a1a2e));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px 0 0 16px;
    padding: 32px 20px;
}

.wee-dash-user {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-dash-avatar {
    display: inline-block;
    margin-bottom: 12px;
}

.wee-dash-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    object-fit: cover;
}

.wee-dash-user-info strong {
    display: block;
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.wee-dash-user-info span {
    display: block;
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 13px;
    word-break: break-all;
}

/* Nav */
.wee-dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wee-dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--wee-text, #e8e8e8) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wee-dash-nav-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--wee-gold, #d4af37) !important;
}

.wee-dash-nav-item.active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--wee-gold, #d4af37) !important;
    border-left: 3px solid var(--wee-gold, #d4af37);
}

.wee-dash-nav-item.active svg {
    color: var(--wee-gold, #d4af37);
}

.wee-dash-nav-item svg {
    flex-shrink: 0;
    color: var(--wee-text-muted, #a0a0b8);
    transition: color 0.2s;
}

.wee-dash-nav-item:hover svg {
    color: var(--wee-gold, #d4af37);
}

.wee-dash-nav-logout {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-dash-nav-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5 !important;
}

.wee-dash-nav-logout:hover svg {
    color: #fca5a5;
}

/* Main content */
.wee-dash-main {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-left: none;
    border-radius: 0 16px 16px 0;
    padding: 32px 40px;
}

.wee-dash-section h2 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0 0 8px;
}

.wee-dash-section h3 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #f9fafb;
    margin: 32px 0 16px;
}

.wee-dash-desc {
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.6;
}


/* ============================================================
   REFERRAL LINK BOX
   ============================================================ */

.wee-referral-link-box {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}

.wee-referral-link-box label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wee-gold, #d4af37);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wee-referral-link-wrap {
    display: flex;
    gap: 8px;
}

.wee-referral-link-wrap input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    outline: none;
}

.wee-copy-btn {
    white-space: nowrap;
    padding: 10px 16px !important;
    font-size: 13px !important;
}

.wee-copy-btn.copied {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    color: #86efac !important;
}


/* ============================================================
   STATS GRID
   ============================================================ */

.wee-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.wee-stat-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.wee-stat-card-gold {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.06);
}

.wee-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.wee-stat-card-gold .wee-stat-number {
    color: var(--wee-gold, #d4af37);
}

.wee-stat-label {
    font-size: 13px;
    color: var(--wee-text-muted, #a0a0b8);
    font-weight: 500;
}


/* ============================================================
   TABLE
   ============================================================ */

.wee-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.wee-table thead {
    background: rgba(15, 23, 42, 0.8);
}

.wee-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--wee-text-muted, #a0a0b8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-table td {
    padding: 12px 16px;
    color: var(--wee-text, #e8e8e8);
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.wee-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.03);
}


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

.wee-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.wee-badge-0 {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.wee-badge-1 {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.wee-badge-2 {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.wee-badge-payout-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
}

.wee-badge-payout-approved {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.wee-badge-payout-paid {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.wee-badge-payout-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}


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

@media (max-width: 768px) {
    .wee-auth-card {
        padding: 28px 20px;
        margin: 0 auto;
    }

    .wee-auth-header h1 {
        font-size: 24px;
    }

    .wee-form-row-2col {
        flex-direction: column;
    }

    .wee-form-row-2col > .wee-form-group {
        flex: auto;
    }

    /* Dashboard: stacked layout */
    .wee-dashboard {
        grid-template-columns: 1fr;
        padding: 20px 16px;
    }

    .wee-dash-sidebar {
        border-radius: 16px 16px 0 0;
        padding: 24px 16px;
    }

    .wee-dash-user {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .wee-dash-avatar {
        margin-bottom: 0;
    }

    .wee-dash-avatar img {
        width: 56px;
        height: 56px;
    }

    .wee-dash-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .wee-dash-nav-item {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .wee-dash-nav-item.active {
        border-left: none;
        border-bottom: 2px solid var(--wee-gold, #d4af37);
    }

    .wee-dash-nav-logout {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .wee-dash-main {
        border-left: 1px solid rgba(148, 163, 184, 0.1);
        border-radius: 0 0 16px 16px;
        padding: 24px 16px;
    }

    .wee-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wee-stat-number {
        font-size: 22px;
    }

    .wee-referral-link-wrap {
        flex-direction: column;
    }

    .wee-copy-btn {
        width: 100%;
    }

    .wee-dash-section h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .wee-auth-container {
        padding: 20px 12px;
        min-height: 70vh;
    }

    .wee-auth-card {
        padding: 24px 16px;
    }

    .wee-auth-icon {
        width: 60px;
        height: 60px;
    }

    .wee-auth-icon svg {
        width: 36px;
        height: 36px;
    }

    .wee-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ============================================================
   HIDE DEFAULT ELEMENTOR PAGE TITLE ON AUTH/DASHBOARD PAGES
   ============================================================ */

.page-template-default .entry-header,
.page-template-default .page-header {
    display: none !important;
}

/* ============================================================
   AUTOFILL STYLES (dark theme fix)
   ============================================================ */

.wee-input-wrap input:-webkit-autofill,
.wee-input-wrap input:-webkit-autofill:hover,
.wee-input-wrap input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f1f5f9 !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.9) inset !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ================================================
   REVIEWS / TESTIMONIALS
   ================================================ */
.wee-reviews-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.wee-reviews-header {
    text-align: center;
    margin-bottom: 48px;
}

.wee-reviews-title {
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.wee-reviews-subtitle {
    font-size: 16px;
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto;
}

.wee-reviews-grid {
    display: grid;
    gap: 24px;
}

.wee-reviews-3col {
    grid-template-columns: repeat(3, 1fr);
}

.wee-reviews-2col {
    grid-template-columns: repeat(2, 1fr);
}

.wee-review-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wee-review-card:hover {
    border-color: rgba(209, 180, 90, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wee-review-stars {
    display: flex;
    gap: 2px;
}

.wee-star {
    width: 18px;
    height: 18px;
}

.wee-star-filled {
    color: #d1b45a;
}

.wee-star-empty {
    color: rgba(148, 163, 184, 0.3);
}

.wee-review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
    flex: 1;
}

.wee-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.wee-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wee-review-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(209, 180, 90, 0.2), rgba(209, 180, 90, 0.1));
    border: 1px solid rgba(209, 180, 90, 0.3);
    color: #d1b45a;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wee-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wee-review-name {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
}

.wee-review-company {
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 992px) {
    .wee-reviews-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wee-reviews-3col,
    .wee-reviews-2col {
        grid-template-columns: 1fr;
    }

    .wee-reviews-section {
        padding: 40px 16px;
    }

    .wee-reviews-title {
        font-size: 26px;
    }

    .wee-review-card {
        padding: 22px;
    }
}

/* ================================================
   REVIEW SUBMISSION FORM
   ================================================ */
.wee-review-form-wrap {
    max-width: 680px;
    margin: 48px auto 0;
    padding: 36px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
}

.wee-review-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px;
    text-align: center;
}

.wee-review-form-subtitle {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin: 0 0 28px;
}

.wee-review-msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.wee-review-msg-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.wee-review-msg-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.wee-rf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wee-rf-field {
    margin-bottom: 18px;
}

.wee-rf-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.wee-rf-input,
.wee-rf-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #f8fafc;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.wee-rf-input:focus,
.wee-rf-textarea:focus {
    outline: none;
    border-color: rgba(209, 180, 90, 0.5);
}

.wee-rf-input::placeholder,
.wee-rf-textarea::placeholder {
    color: #64748b;
}

.wee-rf-textarea {
    resize: vertical;
    min-height: 100px;
}

.wee-rf-stars {
    display: flex;
    gap: 4px;
}

.wee-rf-star {
    font-size: 28px;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.3);
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    line-height: 1;
}

.wee-rf-star.active {
    color: #d1b45a;
}

.wee-rf-star.hover {
    color: #e8cc6e;
    transform: scale(1.15);
}

.wee-rf-submit {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #d1b45a, #b8972e);
    color: #0a0e27 !important;
    border: none !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
}

.wee-rf-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #d1b45a, #b8972e) !important;
    color: #0a0e27 !important;
}

@media (max-width: 768px) {
    .wee-rf-row {
        grid-template-columns: 1fr;
    }

    .wee-review-form-wrap {
        padding: 24px 18px;
        margin-top: 32px;
    }

    .wee-rf-submit {
        width: auto;
        display: inline-block;
        float: right;
        padding: 12px 32px;
    }
}

/* ================================================
   BEWERTUNGEN PAGE — Full-page dark background
   ================================================ */
body.page-template-default.page .site-main .page-content .wee-reviews-section,
body.page-template-default.page .site-main .page-content .wee-review-form-wrap {
    color: #f8fafc;
}

.post-791 .page-header,
.post-791 .page-content {
    max-width: 100%;
    padding: 0;
}

.post-791 .page-header .entry-title {
    display: none;
}

.post-791.page .site-main {
    background: #0a0e27;
    padding: 0;
    min-height: 100vh;
}

.post-791 .page-content p {
    max-width: 100%;
}

/* Fix form button override from hello-elementor reset */
.wee-review-form-wrap button.wee-rf-submit,
.wee-review-form-wrap button.wee-rf-submit:hover,
.wee-review-form-wrap button.wee-rf-submit:focus,
.wee-review-form-wrap button.wee-rf-submit:active {
    background: linear-gradient(135deg, #d1b45a, #b8972e) !important;
    color: #0a0e27 !important;
    border: none !important;
    border-color: transparent !important;
}

/* Fix star picker override */
.wee-review-form-wrap .wee-rf-star {
    background: none !important;
    border: none !important;
    color: rgba(148, 163, 184, 0.3);
    padding: 0;
}

.wee-review-form-wrap .wee-rf-star.active {
    color: #d1b45a !important;
}

.wee-review-form-wrap .wee-rf-star.hover {
    color: #e8cc6e !important;
}
