@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@400;600&display=swap');

/* --- 1. THE FOUNDATION --- */
:root { 
    --primary: #6a5acd; 
    --accent: #f1c40f; 
    --dark: #0b0d17; 
    --bg-gradient: radial-gradient(circle at top, #1c1e2f 0%, #0b0d17 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e2e8f0;
    --success: #00ff87; 
    --red: #ff4b2b; 
    --impact-blue: #00d2ff; 
    --gold: #ffd700;
    --header-bg: rgba(0,0,0,0.3); 
    --tab-bg: rgba(0,0,0,0.2);
}

/* --- 2. SUNLIGHT MODE (GLOBAL RESET & CONTRAST OVERHAUL) --- */
html.sunlight body, body.sunlight {
    --dark: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #f1f5f9 100%);
    --glass: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --header-bg: rgba(255, 255, 255, 0.96);
    --tab-bg: #e2e8f0;
    --impact-blue: #0284c7;
    --success: #16a34a;
    --red: #dc2626;
    --gold: #d97706;
}

body.sunlight * {
    text-shadow: none !important;
}

/* Sunlight Mode Components */
body.sunlight .stat-card,
body.sunlight .card,
body.sunlight .project-card,
body.sunlight .post-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

/* Eliminate muddy translucent dark boxes in sunlight mode */
body.sunlight [style*="background: rgba(0,0,0"],
body.sunlight [style*="background: rgba(0, 0, 0"],
body.sunlight .inner-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body.sunlight .score-label {
    color: #475569 !important;
}

body.sunlight .main-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
}

body.sunlight .hdr-nav-btn {
    color: #334155 !important;
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

body.sunlight .hdr-nav-btn:hover {
    color: #ffffff !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* --- 3. CORE LAYOUT --- */
body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg-gradient);
    background-attachment: fixed; 
    margin: 0; 
    padding-top: 80px; 
    color: var(--text); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container { max-width: 900px; margin: 0 auto; padding: 20px; width: 100%; box-sizing: border-box; }

/* --- 4. NAVIGATION SYSTEM --- */
.main-nav { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; 
    height: 70px; display: flex; justify-content: space-between; 
    align-items: center; background: rgba(11, 13, 23, 0.85); 
    padding: 0 30px; border-bottom: 2px solid var(--primary); 
    backdrop-filter: blur(15px); box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    box-sizing: border-box;
}
body.sunlight .main-nav { background: rgba(255, 255, 255, 0.9); border-bottom: 2px solid #ddd; }

.nav-logo { color: white; font-family: 'Oswald', sans-serif; font-size: 1.5rem; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; }
body.sunlight .nav-logo { color: var(--primary); }

.hdr-nav-btn {
    text-decoration: none !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--text) !important;
    padding: 6px 12px !important;
    border: 1px solid var(--primary) !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    background: transparent;
    cursor: pointer;
}

.hdr-nav-btn:hover {
    color: #ffffff !important;
    background: var(--primary) !important;
    box-shadow: 0 0 10px rgba(106, 90, 205, 0.4) !important;
}

/* --- 5. XP & USER HUD --- */
.profile-trigger { cursor: pointer; background: rgba(255,255,255,0.05); border: 1px solid var(--primary); padding: 8px 15px; border-radius: 6px; min-width: 160px; box-sizing: border-box; }
body.sunlight .profile-trigger { background: #fff; color: var(--primary); }

.xp-mini-bar-bg { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.15); margin-top: 5px; border-radius: 3px; overflow: hidden; }
.xp-mini-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--impact-blue)); width: 0%; transition: 0.8s ease-out; }

.bell-wrapper, .solar-toggle { position: relative; cursor: pointer; color: white; font-size: 1.25rem; margin-right: 15px; transition: 0.3s; display: flex; align-items: center; user-select: none; }
body.sunlight .bell-wrapper, body.sunlight .solar-toggle { color: var(--primary); }
.bell-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.62rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    border-radius: 9999px;
    padding: 0 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

/* --- 6. COMMON DROPDOWNS --- */
.dropdown { position: absolute; top: 100%; right: 0; background: var(--dark); border: 1px solid var(--primary); display: none; flex-direction: column; width: 220px; z-index: 2000; border-radius: 0 0 8px 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.dropdown.show { display: flex; }
.dropdown a, .dropdown button { color: white; padding: 15px; text-decoration: none; border-bottom: 1px solid #222; font-family: 'Oswald'; text-align: left; background: none; border: none; cursor: pointer; width: 100%; box-sizing: border-box; font-size: 0.85rem; }
.dropdown a:hover, .dropdown button:hover { background: rgba(255,255,255,0.08); }
body.sunlight .dropdown { background: #ffffff; border: 1px solid #cbd5e1; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
body.sunlight .dropdown a, body.sunlight .dropdown button { color: #0f172a !important; border-bottom: 1px solid #f1f5f9; }
body.sunlight .dropdown a:hover, body.sunlight .dropdown button:hover { background: #f8fafc; color: var(--primary) !important; }

/* Notification Dropdown Specifics */
#notif-dropdown {
    width: 360px;
    max-width: 92vw;
    right: 0;
    top: calc(100% + 8px);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 0;
}
body.sunlight #notif-dropdown {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.notif-items-container {
    max-height: 360px;
    overflow-y: auto;
}
.notif-items-container::-webkit-scrollbar {
    width: 5px;
}
.notif-items-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.notif-items-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.notif-items-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
body.sunlight .notif-items-container::-webkit-scrollbar-track {
    background: #f1f5f9;
}
body.sunlight .notif-items-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}
.notif-item:last-child {
    border-bottom: none;
}
.notif-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
body.sunlight .notif-item:hover {
    background: #f8fafc;
}
.notif-item.notif-unread {
    background: rgba(241, 196, 15, 0.06);
    border-left: 3px solid var(--accent);
}
.notif-item.notif-unread:hover {
    background: rgba(241, 196, 15, 0.12);
}
body.sunlight .notif-item.notif-unread {
    background: #fefce8;
    border-left: 3px solid var(--accent);
}
body.sunlight .notif-item.notif-unread:hover {
    background: #fef9c3;
}

.notif-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    margin-top: 2px;
}
body.sunlight .notif-icon-circle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.notif-body {
    flex: 1;
    min-width: 0;
}
.notif-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}
.notif-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.notif-time {
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    color: var(--text);
    opacity: 0.55;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.notif-msg {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
}
.notif-unread-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    margin-top: 6px;
}
.mark-all-read-btn:hover {
    text-decoration: underline;
    opacity: 0.85;
}
.notif-clear-btn {
    background: transparent;
    border: none;
    color: var(--text);
    opacity: 0.45;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    width: 24px;
    height: 24px;
    min-width: 24px;
    padding: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    margin-left: 4px;
    flex-shrink: 0;
}
.notif-clear-btn:hover {
    opacity: 1;
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.12);
}
.notif-clear-btn:active {
    transform: scale(0.95);
}
body.sunlight .notif-clear-btn {
    color: #64748b;
}
body.sunlight .notif-clear-btn:hover {
    color: #dc2626 !important;
    background: #fee2e2;
}
.clear-all-notifs-btn:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* --- 7. GLOBAL FORMS & BUTTONS --- */
textarea, input[type="text"], input[type="email"], input[type="password"], select { 
    width: 100%; padding: 12px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 6px; color: #fff; margin-bottom: 10px; box-sizing: border-box; font-family: inherit; font-size: 0.9rem;
}
body.sunlight textarea, body.sunlight input[type="text"], body.sunlight input[type="email"], body.sunlight input[type="password"], body.sunlight select { 
    background: #ffffff !important; border: 1.5px solid #cbd5e1 !important; color: #0f172a !important; box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}
body.sunlight textarea:focus, body.sunlight input:focus, body.sunlight select:focus {
    border-color: var(--primary) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.15) !important;
}

/* Author Profile Link */
.author-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s ease, opacity 0.15s ease, text-decoration 0.15s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.author-link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
}
.author-link.no-link {
    cursor: default;
    text-decoration: none !important;
}
body.sunlight .author-link {
    color: #4f46e5;
}
body.sunlight .author-link:hover {
    color: #3730a3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Author Home Location Badge */
.author-suburb-pill {
    font-size: 0.65rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    padding: 1px 7px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0.85;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.3;
}
body.sunlight .author-suburb-pill {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-add { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 8px; font-family: 'Oswald'; text-transform: uppercase; cursor: pointer; transition: 0.3s; font-weight: bold; letter-spacing: 1px; }
.btn-add:hover { background: var(--accent); color: #000; transform: translateY(-2px); }

.btn-danger {
    padding: 12px 22px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

/* --- 8. FIXING SOLVED BUTTONS MATRIX --- */
[id^="btn-sol-"], [id^="btn-play-"] {
    background: transparent;
    border: 2px solid var(--primary) !important;
    color: var(--text);
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.content-sol, .content-play, [id^="content-sol-"], [id^="content-play-"] {
    display: none;
}

.content-sol.active, .content-play.active, [id^="content-sol-"].active, [id^="content-play-"].active {
    display: block;
}

/* --- 9. AUTH GUARD PROMPT MODAL & GUEST CALLOUT --- */
.auth-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
    animation: authOverlayFade 0.2s ease-out;
}

@keyframes authOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-prompt-card {
    background: #0f121d;
    border: 1.5px solid var(--primary);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(106, 90, 205, 0.25);
    position: relative;
    box-sizing: border-box;
    text-align: center;
    animation: authCardScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardScale {
    from { transform: translateY(16px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.auth-prompt-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
    padding: 4px;
}
.auth-prompt-close:hover {
    opacity: 1;
    color: #ef4444;
}

.auth-prompt-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    line-height: 1;
}

.auth-prompt-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.auth-prompt-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.auth-prompt-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text);
    opacity: 0.7;
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.auth-prompt-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-auth-cancel {
    flex: 1;
    min-width: 140px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-auth-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-auth-primary {
    flex: 1.3;
    min-width: 170px;
    padding: 12px 18px;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-auth-primary:hover {
    background: #7c6cf0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.5);
    color: #ffffff;
}

.guest-contribution-callout {
    background: rgba(106, 90, 205, 0.08);
    border: 1.5px dashed rgba(106, 90, 205, 0.4);
    border-radius: 12px;
    padding: 24px 22px;
    margin: 15px 0 20px 0;
    text-align: center;
    box-sizing: border-box;
}

body.sunlight .auth-prompt-overlay {
    background: rgba(15, 23, 42, 0.65);
}
body.sunlight .auth-prompt-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 0 20px rgba(106, 90, 205, 0.15);
}
body.sunlight .auth-prompt-title {
    color: #0f172a;
}
body.sunlight .auth-prompt-body {
    color: #1e293b;
}
body.sunlight .auth-prompt-subtext {
    color: #64748b;
}
body.sunlight .btn-auth-cancel {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}
body.sunlight .btn-auth-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}
body.sunlight .guest-contribution-callout {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Solved Buttons Highlight in Sunlight Mode */
body.sunlight .accept-plan-btn,
body.sunlight .vote-btn.accept-plan-btn {
    background: #ecfdf5 !important;
    border: 1.5px solid #059669 !important;
    color: #065f46 !important;
    font-weight: bold !important;
    font-family: 'Oswald', sans-serif !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.25) !important;
}
body.sunlight .accept-plan-btn:hover,
body.sunlight .vote-btn.accept-plan-btn:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4) !important;
}

body.sunlight .solve-btn {
    background: #ecfdf5 !important;
    border: 1.5px solid #059669 !important;
    color: #065f46 !important;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.2) !important;
}
body.sunlight .solve-btn:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4) !important;
}

/* "Who Backed This" Modal */
.who-backed-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.who-backed-modal-content {
    background: #141424;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.who-backed-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
}
.who-backed-close-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0 4px;
}
.who-backed-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}
.who-backed-body {
    padding: 16px 20px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}
.backer-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}
.backer-list-item:last-child {
    border-bottom: none;
}
.backer-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.backer-empty-state {
    text-align: center;
    padding: 30px 15px;
    color: var(--text);
    opacity: 0.65;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}
.backer-count-trigger {
    cursor: pointer;
    transition: color 0.15s, opacity 0.15s;
}
.backer-count-trigger:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

body.sunlight .who-backed-modal-content {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}
body.sunlight .who-backed-modal-header {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}
body.sunlight .who-backed-close-btn {
    color: #1e293b !important;
}
body.sunlight .backer-list-item {
    border-bottom-color: #f1f5f9 !important;
}

/* ===================================================
   COMMUNITY MODERATION & REPORTING SYSTEM
   =================================================== */

/* Three-Dot Action Trigger & Dropdown Menu */
.card-action-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.three-dot-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    opacity: 0.55;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2.5px;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -1px;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    user-select: none;
}

.three-dot-btn span {
    font-size: 1.1rem;
    line-height: 0.6;
    display: inline-block;
}

.three-dot-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border);
    transform: scale(1.05);
}

.three-dot-btn:active {
    transform: scale(0.96);
}

.three-dot-btn.three-dot-sm {
    padding: 1px 4px;
    font-size: 0.85rem;
}

.three-dot-btn.three-dot-sm span {
    font-size: 0.95rem;
    line-height: 0.5;
}

/* Dropdown Menu Popup */
.action-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 100;
    min-width: 150px;
    background: #171727;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    animation: fadeInMenu 0.15s ease-out forwards;
}

.action-dropdown-menu.show {
    display: block;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.action-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 5px;
    color: var(--text);
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.action-dropdown-item:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Report Modal Overlay & Dialog */
.report-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.report-modal-content {
    background: #141424;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: reportPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reportPopIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
}

.report-modal-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    line-height: 1.25;
}

.report-modal-subtitle {
    font-size: 0.74rem;
    opacity: 0.7;
    font-family: 'Inter', sans-serif;
    margin-top: 3px;
    line-height: 1.35;
}

.report-close-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0 4px;
}

.report-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.report-modal-body {
    padding: 20px 22px;
}

.report-target-preview {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.report-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.report-reason-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.report-reason-item input[type="radio"] {
    margin: 0;
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
    cursor: pointer;
}

.report-reason-text {
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.35;
}

.report-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.report-cancel-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 18px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.report-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.report-submit-btn {
    background: #ef4444;
    border: 1px solid #dc2626;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    transition: background 0.2s, transform 0.15s, opacity 0.2s;
}

.report-submit-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.report-submit-btn:active {
    transform: translateY(0);
}

.report-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Reusable Toast Notification */
.su-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    background: #171727;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: 380px;
}

.su-toast.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.su-toast.toast-success {
    border-left: 4px solid var(--success);
}

.su-toast.toast-error {
    border-left: 4px solid var(--red);
}

.su-toast.toast-info {
    border-left: 4px solid var(--impact-blue);
}

/* ===================================================
   SUNLIGHT MODE OVERRIDES FOR MODERATION
   =================================================== */
body.sunlight .three-dot-btn {
    color: #475569 !important;
}

body.sunlight .three-dot-btn:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

body.sunlight .action-dropdown-menu {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

body.sunlight .action-dropdown-item {
    color: #334155 !important;
}

body.sunlight .action-dropdown-item:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

body.sunlight .report-modal-content {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

body.sunlight .report-modal-header {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

body.sunlight .report-modal-title {
    color: #0f172a !important;
}

body.sunlight .report-modal-subtitle {
    color: #64748b !important;
}

body.sunlight .report-close-btn {
    color: #334155 !important;
}

body.sunlight .report-target-preview {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body.sunlight .report-reason-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body.sunlight .report-reason-item:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.sunlight .report-reason-text {
    color: #1e293b !important;
}

body.sunlight .report-modal-footer {
    background: #f8fafc !important;
    border-top-color: #e2e8f0 !important;
}

body.sunlight .report-cancel-btn {
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.sunlight .report-cancel-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

body.sunlight .su-toast {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
}

/* Community Average & OP Benchmark Rating Scores */
.score-impact-val {
    color: var(--impact-blue) !important;
    font-weight: 700;
}
.score-feasibility-val {
    color: var(--success) !important;
    font-weight: 700;
}
.op-benchmark-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
.op-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.op-benchmark-separator {
    display: none;
}

/* ===================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   =================================================== */

/* Tablet & Mobile (< 768px) */
@media (max-width: 768px) {
    /* Layout & Viewport */
    body {
        padding-top: 68px !important;
    }
    .container {
        padding: 12px 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Navigation Bar */
    .main-nav {
        height: 62px !important;
        padding: 0 12px !important;
    }
    .nav-logo {
        font-size: 1.18rem !important;
        letter-spacing: 1px !important;
    }
    .profile-trigger {
        min-width: unset !important;
        padding: 4px 8px !important;
    }
    .profile-trigger span {
        font-size: 0.68rem !important;
    }
    .xp-mini-bar-bg {
        height: 3px !important;
        margin-top: 3px !important;
    }
    .bell-wrapper, .solar-toggle {
        margin-right: 8px !important;
        font-size: 1.15rem !important;
    }
    .hdr-nav-btn {
        padding: 5px 8px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.5px !important;
    }
    #notif-dropdown {
        position: fixed !important;
        top: 66px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-height: calc(85vh - 70px) !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75) !important;
        overflow: hidden !important;
        z-index: 10005 !important;
    }
    .notif-items-container {
        max-height: calc(85vh - 140px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Cards & Containers */
    .card,
    .stat-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }
    .solved-banner,
    .voting-phase-banner,
    .post-resolution-voting-box,
    .solved-phase-banner {
        margin: -18px -14px 14px -14px !important;
        border-radius: 14px 14px 0 0 !important;
        font-size: 0.82rem !important;
        padding: 8px 12px !important;
    }

    /* Post Card Top Header & Stacking (Condensed & Clean Alignment) */
    .post-card-top-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }
    .post-card-author-col {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        font-size: 0.7rem !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-bottom: 1px !important;
    }
    .author-suburb-pill {
        font-size: 0.65rem !important;
        padding: 1px 6px !important;
    }
    .post-card-title-col {
        order: 2 !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 1.25rem !important;
        line-height: 1.22 !important;
        margin: 2px 0 4px 0 !important;
        font-weight: 700 !important;
    }
    .feed-title {
        text-align: left !important;
        font-size: 1.25rem !important;
    }
    .post-card-actions-col {
        order: 3 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 6px !important;
        padding-top: 5px !important;
        border-top: 1px dashed var(--border) !important;
        flex-wrap: wrap !important;
    }
    body.sunlight .post-card-actions-col {
        border-top-color: #e2e8f0 !important;
    }

    /* Card Rating Section (Condensed & Neatly Stacked on Mobile) */
    .card-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 10px 10px !important;
        min-height: unset !important;
        text-align: left !important;
        background: rgba(0, 0, 0, 0.22) !important;
        border-radius: 8px !important;
    }
    body.sunlight .card-header {
        background: #f8fafc !important;
    }
    .shoulder-box {
        width: 100% !important;
        align-items: stretch !important;
        text-align: left !important;
    }
    .shoulder-box .score-label {
        font-size: 0.68rem !important;
        margin-bottom: 2px !important;
        letter-spacing: 0.5px !important;
    }
    .shoulder-box .backer-count-trigger {
        font-size: 0.68rem !important;
    }
    .card-header .star-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
    }
    .card-header .star-btn {
        font-size: 1.15rem !important;
        padding: 1px 3px !important;
        line-height: 1 !important;
    }
    .card-header [id^="audit-btn-row-"] {
        margin-top: 4px !important;
    }
    .card-header .btn-add,
    .card-header [id^="rating-btn-"] {
        padding: 4px 10px !important;
        font-size: 0.62rem !important;
        width: auto !important;
        height: auto !important;
        display: inline-block !important;
        border-radius: 6px !important;
    }
    .badge-row {
        width: 100% !important;
        min-width: unset !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin: 2px 0 !important;
    }
    .rally-badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
    .card-header .shoulder-box:last-child {
        align-items: center !important;
        text-align: left !important;
        border-top: 1px dashed var(--border) !important;
        padding-top: 6px !important;
        margin-top: 2px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .card-header .shoulder-box:last-child .score-label {
        margin-bottom: 0 !important;
        font-size: 0.65rem !important;
        white-space: nowrap !important;
    }
    .card-header .shoulder-box:last-child .op-benchmark-values {
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        font-size: 0.72rem !important;
        line-height: 1 !important;
        flex-wrap: nowrap !important;
    }
    .card-header .shoulder-box:last-child .op-metric-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }
    .card-header .shoulder-box:last-child .op-benchmark-separator {
        display: inline !important;
        opacity: 0.4 !important;
        font-size: 0.7rem !important;
    }

    /* Submit Page (su-submit.html) Top Section & Star Rating Condensation */
    .card h2 {
        font-size: 1.55rem !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }
    .card > p {
        font-size: 0.84rem !important;
        margin-bottom: 14px !important;
        line-height: 1.4 !important;
    }
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 6px !important;
    }
    .rating-panel {
        padding: 12px 10px !important;
        margin: 16px 0 !important;
        border-radius: 8px !important;
        border-width: 1.5px !important;
    }
    .rating-title {
        font-size: 0.76rem !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 10px !important;
    }
    .rating-panel .star-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
    }
    body.sunlight .rating-panel .star-row {
        border-bottom-color: #cbd5e1 !important;
    }
    .rating-panel .star-row:last-of-type {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    .rating-panel .star-label {
        width: 100% !important;
        font-size: 0.76rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        letter-spacing: 0.5px !important;
    }
    .rating-panel #impact-stars,
    .rating-panel #feas-stars {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .rating-panel .star-btn {
        font-size: 1.6rem !important;
        padding: 2px 5px !important;
        line-height: 1 !important;
    }
    .btn-submit {
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
        margin-top: 8px !important;
        width: 100% !important;
    }

    /* Star Row & Buttons */
    .star-btn {
        font-size: 1.5rem !important;
        padding: 2px 4px !important;
    }
    .btn-add {
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
    }

    /* Feed Toolbar (su-ideas.html) */
    .unified-toolbar {
        padding: 12px 10px !important;
        border-radius: 12px !important;
        margin-bottom: 18px !important;
    }
    .toolbar-row-primary,
    .toolbar-row-secondary {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .lifecycle-tabs-group {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 6px !important;
        padding-bottom: 2px !important;
    }
    .lifecycle-tabs-group::-webkit-scrollbar {
        display: none;
    }
    .suburb-toolbar-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .suburb-select-wrap,
    .suburb-search-wrapper,
    .toolbar-search-wrap {
        width: 100% !important;
        min-width: unset !important;
        flex: 1 1 100% !important;
    }
    .sub-chips-group {
        width: 100% !important;
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 6px !important;
        padding-bottom: 2px !important;
    }
    .sub-chips-group::-webkit-scrollbar {
        display: none;
    }

    /* Feed Action Bar (su-ideas.html) */
    .feed-action-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-top: 14px !important;
        margin-top: 16px !important;
    }
    .chip-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .meta-chip {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 8px 12px !important;
        font-size: 0.74rem !important;
    }
    .open-post-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }

    /* Post Detail Workspace (su-post.html) */
    .tab-container {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 6px !important;
        padding: 4px !important;
        margin: 16px 0 !important;
    }
    .tab-container::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex: 1 0 auto !important;
        min-width: 95px !important;
        padding: 10px 8px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }
    .insight-item {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
    }
    .toolkit-box {
        padding: 16px 12px !important;
    }
    .toolkit-box input,
    .toolkit-box textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* User Profile (su-profile.html) */
    #big-username {
        font-size: 1.95rem !important;
        text-align: center !important;
        line-height: 1.15 !important;
    }
    .rank-showcase-box {
        padding: 14px 16px !important;
        width: 100% !important;
    }
    #profile-identity-section,
    #profile-preferences-section,
    #profile-security-section {
        padding: 0 !important;
    }
    .profile-accordion-header {
        padding: 14px 14px !important;
    }
    .profile-accordion-content {
        padding: 16px 14px !important;
    }

    /* Modals & Dialogs on Mobile */
    .who-backed-modal-overlay,
    .report-modal-overlay {
        padding: 10px !important;
        align-items: flex-end !important;
    }
    .who-backed-modal-content,
    .report-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 16px 16px 0 0 !important;
        max-height: 88vh !important;
    }
    .report-modal-header,
    .who-backed-modal-header {
        padding: 14px 16px !important;
    }
    .report-modal-body,
    .who-backed-body {
        padding: 14px 16px !important;
        max-height: calc(88vh - 140px) !important;
    }
    .report-modal-footer {
        flex-direction: column-reverse !important;
        gap: 8px !important;
        padding: 12px 16px 16px 16px !important;
    }
    .report-cancel-btn,
    .report-submit-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px !important;
        font-size: 0.85rem !important;
    }
    .su-toast {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        max-width: unset !important;
        font-size: 0.82rem !important;
        padding: 11px 14px !important;
        text-align: center !important;
    }
}

/* Small Smartphone (< 480px) */
@media (max-width: 480px) {
    body {
        padding-top: 62px !important;
    }
    .main-nav {
        height: 56px !important;
        padding: 0 8px !important;
    }
    .nav-logo {
        font-size: 1.05rem !important;
        letter-spacing: 0.5px !important;
    }
    .profile-trigger {
        padding: 3px 6px !important;
    }
    .bell-wrapper, .solar-toggle {
        margin-right: 6px !important;
        font-size: 1.05rem !important;
    }
    #notif-dropdown {
        top: 60px !important;
        left: 8px !important;
        right: 8px !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 12px !important;
    }
    .notif-items-container {
        max-height: calc(82vh - 120px) !important;
    }
    .card,
    .stat-card {
        padding: 14px 10px !important;
        border-radius: 12px !important;
    }
    .post-card-title-col {
        font-size: 1.25rem !important;
    }
    .feed-title {
        font-size: 1.25rem !important;
    }
}

/* ===================================================
   RATING INFORMATION (?) ICON & DEFINITION DIALOG
   =================================================== */
.rating-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    vertical-align: middle;
    user-select: none;
}
.rating-info-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(106, 90, 205, 0.6);
}
.rating-info-btn:active {
    transform: scale(0.95);
}

body.sunlight .rating-info-btn {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #475569;
}
body.sunlight .rating-info-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.rating-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.rating-info-modal-card {
    background: #171828;
    border: 1px solid var(--border);
    border-radius: 14px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    animation: reportPopIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rating-info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border);
}

.rating-info-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
}

.rating-info-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 4px;
    transition: opacity 0.15s, transform 0.15s;
}
.rating-info-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.rating-info-modal-body {
    padding: 18px 20px;
}

.rating-info-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text);
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
}

.rating-info-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
}

.rating-info-ok-btn {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s ease;
}
.rating-info-ok-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

body.sunlight .rating-info-modal-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
}
body.sunlight .rating-info-modal-header {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}
body.sunlight .rating-info-title {
    color: #0f172a !important;
}
body.sunlight .rating-info-close {
    color: #334155 !important;
}
body.sunlight .rating-info-desc {
    color: #1e293b !important;
}
body.sunlight .rating-info-modal-footer {
    background: #f8fafc !important;
    border-top-color: #e2e8f0 !important;
}

/* --- Dynamic Star Labels for Ratings --- */
.star-dynamic-label {
    font-size: 0.72rem;
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 18px;
    line-height: 1.35;
    padding-left: 75px;
    font-style: italic;
    opacity: 0.95;
    font-weight: 500;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.star-dynamic-label.impact-label {
    color: var(--impact-blue);
}
.star-dynamic-label.feasibility-label {
    color: var(--success);
}
body.sunlight .star-dynamic-label.impact-label {
    color: #0284c7 !important;
}
body.sunlight .star-dynamic-label.feasibility-label {
    color: #059669 !important;
}
@media (max-width: 600px) {
    .star-dynamic-label {
        padding-left: 0 !important;
        margin-top: 2px !important;
    }
}

/* Consensus Voting Countdown Timer Styles */
.voting-box-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 14px;
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-transform: uppercase;
}
body.sunlight .voting-box-timer {
    background: #fef3c7;
    border-color: #d97706;
    color: #92400e;
}

.voting-timer-pill {
    background: rgba(241, 196, 15, 0.18);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}
body.sunlight .voting-timer-pill {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #b45309;
}

.feed-voting-timer-pill {
    background: rgba(0, 0, 0, 0.25);
    color: #000000;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}
body.sunlight .feed-voting-timer-pill {
    background: rgba(133, 77, 14, 0.15);
    color: #713f12;
}

@media (max-width: 768px) {
    .voting-phase-banner {
        flex-direction: column !important;
        gap: 4px !important;
        text-align: center !important;
    }
    .feed-voting-timer-pill {
        font-size: 0.74rem !important;
        padding: 2px 8px !important;
    }
    .voting-box-timer {
        font-size: 0.82rem !important;
        padding: 3px 10px !important;
    }
}

/* ==========================================================================
   FIRST-LOGIN ONBOARDING MODAL (UN-DISMISSIBLE)
   ========================================================================== */
.onboarding-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(11, 13, 23, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: onboardingFadeIn 0.25s ease-out;
}

@keyframes onboardingFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes onboardingCardPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes onboardingShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.onboarding-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #141726;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 38px 32px 32px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(106, 90, 205, 0.15);
    box-sizing: border-box;
    animation: onboardingCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-modal-card.shake-anim {
    animation: onboardingShake 0.4s ease-in-out;
}

.onboarding-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px auto;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.25), rgba(241, 196, 15, 0.2));
    border: 1px solid rgba(106, 90, 205, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.onboarding-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.15;
}

.onboarding-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #94a3b8;
    text-align: center;
    margin: 0 0 26px 0;
    line-height: 1.45;
}

.onboarding-field-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.onboarding-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.onboarding-required {
    color: var(--accent);
    margin-left: 2px;
}

.onboarding-input-wrap {
    position: relative;
    width: 100%;
}

.onboarding-input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.onboarding-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.onboarding-input.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
}

/* Combobox Container */
.onboarding-combobox-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.onboarding-suburb-pin {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.onboarding-suburb-input {
    padding-left: 40px !important;
    padding-right: 68px !important;
}

.onboarding-combobox-btn {
    position: absolute;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    height: 30px;
    width: 30px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
    z-index: 3;
    font-size: 0.85rem;
}

.onboarding-combobox-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.onboarding-combobox-btn.clear-btn {
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.onboarding-combobox-btn.toggle-btn {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

/* Dropdown list */
.onboarding-suburb-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: #111422;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 6px 0;
}

.onboarding-suburb-list::-webkit-scrollbar {
    width: 6px;
}
.onboarding-suburb-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.onboarding-suburb-option {
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.12s ease, color 0.12s ease;
}

.onboarding-suburb-option:hover,
.onboarding-suburb-option.is-highlighted {
    background: rgba(106, 90, 205, 0.25);
    color: #ffffff;
}

.onboarding-suburb-option.is-selected {
    background: rgba(106, 90, 205, 0.45);
    color: var(--accent);
    font-weight: 600;
}

.onboarding-suburb-no-match {
    padding: 14px 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
}

/* Privacy Note */
.onboarding-privacy-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 8px 0 0 2px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.onboarding-privacy-note .privacy-lock-icon {
    font-size: 0.85rem;
    opacity: 0.9;
    flex-shrink: 0;
}

/* Validation & Status Messages */
.onboarding-error-msg {
    color: #f87171;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    margin-top: 6px;
    padding-left: 2px;
}

.onboarding-status-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    margin-bottom: 18px;
    text-align: center;
}

.onboarding-status-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Action Button */
.onboarding-submit-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(106, 90, 205, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.onboarding-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(106, 90, 205, 0.55);
}

.onboarding-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.onboarding-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Sunlight Mode Overrides */
body.sunlight .onboarding-modal-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 35px rgba(106, 90, 205, 0.1) !important;
    color: #0f172a !important;
}

body.sunlight .onboarding-title {
    color: #0f172a !important;
}

body.sunlight .onboarding-subtitle {
    color: #64748b !important;
}

body.sunlight .onboarding-label {
    color: #334155 !important;
}

body.sunlight .onboarding-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.sunlight .onboarding-input:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
}

body.sunlight .onboarding-combobox-btn {
    color: #64748b;
}

body.sunlight .onboarding-combobox-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

body.sunlight .onboarding-suburb-list {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

body.sunlight .onboarding-suburb-option {
    color: #334155 !important;
}

body.sunlight .onboarding-suburb-option:hover,
body.sunlight .onboarding-suburb-option.is-highlighted {
    background: rgba(106, 90, 205, 0.1) !important;
    color: var(--primary) !important;
}

body.sunlight .onboarding-privacy-note {
    color: #64748b !important;
}

@media (max-width: 520px) {
    .onboarding-modal-overlay {
        padding: 14px;
    }
    .onboarding-modal-card {
        padding: 28px 20px 24px 20px;
        border-radius: 16px;
    }
    .onboarding-title {
        font-size: 1.65rem;
    }
}

/* ==========================================================================
   DELETE ACCOUNT CONFIRMATION MODAL
   ========================================================================== */
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(11, 13, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: onboardingFadeIn 0.2s ease-out;
}

.delete-account-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #141726;
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    border-radius: 20px;
    padding: 34px 28px 28px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(239, 68, 68, 0.2);
    box-sizing: border-box;
    animation: onboardingCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.delete-icon-badge {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px auto;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.15);
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.delete-modal-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    color: #ef4444;
    margin: 0 0 6px 0;
    line-height: 1.15;
}

.delete-modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.delete-modal-warning-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.delete-modal-warning-list {
    margin: 0;
    padding-left: 18px;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
}

.delete-modal-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.delete-modal-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.delete-modal-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delete-modal-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
}

.delete-modal-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    margin-bottom: 18px;
    text-align: center;
}

.delete-modal-status.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.delete-modal-status.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.delete-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.btn-delete-cancel {
    flex: 1;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #cbd5e1;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-delete-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-delete-confirm {
    flex: 1.5;
    padding: 13px 18px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.btn-delete-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.55);
}

.btn-delete-confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sunlight Mode */
body.sunlight .delete-account-modal-card {
    background: #ffffff !important;
    border: 1.5px solid #fca5a5 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 35px rgba(239, 68, 68, 0.1) !important;
    color: #0f172a !important;
}

body.sunlight .delete-modal-warning-box {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

body.sunlight .delete-modal-warning-list {
    color: #475569 !important;
}

body.sunlight .delete-modal-label {
    color: #334155 !important;
}

body.sunlight .delete-modal-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.sunlight .btn-delete-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}
body.sunlight .btn-delete-cancel:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
