/* ============================================
   MODERN DASHBOARD DESIGN SYSTEM
   Light Theme | Bootstrap 4 Compatible
   Palette: Indigo + Emerald | Restyled
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #eef2ff;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --danger-color: #f43f5e;
    --warning-color: #f59e0b;
    --text-primary: #1e2338;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fc;
    --bg-tertiary: #eef1f8;
    --border-color: #e4e8f2;
    --border-light: #f1f3fa;
    --shadow-sm: 0 1px 3px 0 rgba(30, 35, 56, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(30, 35, 56, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 35, 56, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(30, 35, 56, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;
}

/* === GLOBAL RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* === AUTH PAGE LAYOUT (legacy two-column, kept for register.php etc until migrated) === */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    position: relative;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #ecfeff 100%);
}

.auth-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === LEFT SECTION - BRANDING === */
.auth-brand-section {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.auth-brand-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.brand-logo {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === RIGHT SECTION - FORM === */
.auth-form-section {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-primary);
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 35px;
    text-align: left;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.form-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* === MODERN FORM STYLES (shared by login v2 + register) === */
.auth-form {
    width: 100%;
}

.form-group-modern {
    margin-bottom: 24px;
    position: relative;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.label-icon {
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
}

.form-control-modern {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    font-size: 15px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-control-modern::placeholder {
    color: var(--text-muted);
}

.form-control-modern:focus {
    background-color: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 5px;
    cursor: pointer;
    transition: color var(--transition-base);
}

.password-toggle:hover {
    color: var(--text-primary);
}

.eye-icon {
    display: block;
}

/* === FORM OPTIONS === */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

.forgot-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* === MODERN BUTTON === */
.btn-modern-primary {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    margin-bottom: 24px;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-modern-primary:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform var(--transition-base);
}

.btn-modern-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* === FORM FOOTER === */
.form-footer {
    text-align: center;
    margin-bottom: 24px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-link {
    font-weight: 600;
    color: var(--primary-color);
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* === DIVIDER === */
.divider-section {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: var(--bg-primary);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* === SOCIAL LOGIN BUTTONS === */
.social-login-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    height: 48px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.social-btn:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
    .auth-card {
        grid-template-columns: 1fr;
    }
    
    .auth-brand-section {
        display: none;
    }
    
    .auth-form-section {
        padding: 50px 30px;
    }
}

@media (max-width: 576px) {
    .auth-page {
        padding: 20px 15px;
    }
    
    .auth-card {
        border-radius: var(--radius-lg);
    }
    
    .auth-form-section {
        padding: 40px 25px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .social-login-buttons {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* === REGISTER PAGE SPECIFIC STYLES === */
.auth-card-register {
    min-height: 700px;
}

.stats-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* === VALIDATION MESSAGES === */
.validation-message {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    padding-left: 4px;
}

.validation-success {
    color: var(--success-color);
}

.validation-error {
    color: var(--danger-color);
}

/* === PASSWORD STRENGTH === */
.password-strength {
    margin-top: 10px;
}

.strength-indicator {
    width: 100%;
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: var(--text-muted);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.strength-text {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* === TERMS SECTION === */
.terms-section {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.terms-section .custom-checkbox {
    margin: 0;
}

.terms-section .checkbox-label {
    font-size: 13px;
    line-height: 1.6;
}

.inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.inline-link:hover {
    color: var(--primary-dark);
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-item svg {
    color: var(--success-color);
}

/* === FOCUSED STATE === */
.form-group-modern.focused .form-label-modern {
    color: var(--primary-color);
}

.form-group-modern.focused .label-icon {
    color: var(--primary-color);
}

/* === RESPONSIVE ADJUSTMENTS FOR REGISTER === */
@media (max-width: 991px) {
    .auth-card-register {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .stats-wrapper {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .trust-badges {
        gap: 16px;
    }
    
    .badge-item {
        font-size: 11px;
    }
}

/* === DASHBOARD COMMON STYLES === */

/* ============================================
   PROFESSIONAL DASHBOARD DESIGN SYSTEM
   Modern Light Theme - No !important
   ============================================ */

/* === RESET FOR DASHBOARD === */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* === MODERN STATS CARD === */
.stats-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e9ecf5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(30, 35, 56, 0.04);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 35, 56, 0.1);
    border-color: transparent;
}

/* === CARD HEADER WITH GRADIENT === */
.stats-card-header {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stats-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.95;
    z-index: 1;
}

/* Gradient Backgrounds */
.stats-card.purple .stats-card-header::before {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.stats-card.cyan .stats-card-header::before {
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
}

.stats-card.orange .stats-card-header::before {
    background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
}

.stats-card.green .stats-card-header::before {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.stats-card.pink .stats-card-header::before {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
}

.stats-card.mint .stats-card-header::before {
    background: linear-gradient(135deg, #6ee7b7 0%, #14b8a6 100%);
}

.stats-card.blue .stats-card-header::before {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.stats-card.peach .stats-card-header::before {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
}

/* === DECORATIVE PATTERN === */
.stats-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    z-index: 2;
    border-radius: 50%;
}

/* === CARD HEADER CONTENT === */
.card-header-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.stats-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.card-icon-wrapper i {
    font-size: 26px;
    color: #ffffff;
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

/* === CARD BODY === */
.stats-card-body {
    padding: 24px;
    background: #ffffff;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #1e2338;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.stat-description {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-description svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* === CARD FOOTER === */
.stats-card-footer {
    padding: 16px 24px;
    background: #f7f8fc;
    border-top: 1px solid #e9ecf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.stats-card:hover .stats-card-footer {
    background: #eef1f8;
}

.footer-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.footer-value {
    font-size: 14px;
    color: #1e2338;
    font-weight: 600;
}

.badge-active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-active::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

/* === CLICKABLE CARDS === */
a.stats-card-link {
    text-decoration: none;
    display: block;
}

a.stats-card-link .stats-card {
    cursor: pointer;
}

a.stats-card-link .stats-card::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    background: rgba(79, 70, 229, 0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

a.stats-card-link .stats-card:hover::after {
    opacity: 1;
}

/* === RESPONSIVE GRID === */
@media (min-width: 1400px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stats-card-header {
        padding: 20px;
    }
    
    .stats-card-body {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .card-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .card-icon-wrapper i {
        font-size: 22px;
    }
}

/* === ANIMATION === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-card {
    animation: fadeInUp 0.6s ease forwards;
}

.stats-card:nth-child(1) { animation-delay: 0.05s; }
.stats-card:nth-child(2) { animation-delay: 0.1s; }
.stats-card:nth-child(3) { animation-delay: 0.15s; }
.stats-card:nth-child(4) { animation-delay: 0.2s; }
.stats-card:nth-child(5) { animation-delay: 0.25s; }
.stats-card:nth-child(6) { animation-delay: 0.3s; }
.stats-card:nth-child(7) { animation-delay: 0.35s; }
.stats-card:nth-child(8) { animation-delay: 0.4s; }

/* === VALUE COUNTER ANIMATION === */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-value {
    animation: countUp 0.8s ease forwards;
}

/* === SHIMMER EFFECT ON HOVER === */
.stats-card-header {
    position: relative;
    overflow: hidden;
}

.stats-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    z-index: 4;
    transition: left 0.6s ease;
}

.stats-card:hover .stats-card-header::after {
    left: 200%;
}

/* ============================================
   HELP REQUESTS SECTION - MODERN DESIGN
   ============================================ */

/* === HELP CARDS CONTAINER === */
.help-requests-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* === GET HELP CARD === */
.help-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e9ecf5;
    box-shadow: 0 2px 8px rgba(30, 35, 56, 0.04);
    transition: box-shadow 0.3s ease;
}

.help-card:hover {
    box-shadow: 0 8px 24px rgba(30, 35, 56, 0.08);
}

/* === CARD HEADER === */
.help-card-header {
    padding: 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    position: relative;
    overflow: hidden;
}

.help-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.help-card-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.help-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-card-title-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.help-card-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

/* === PROVIDE HELP HEADER === */
.provide-help-card .help-card-header {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* === CARD BODY === */
.help-card-body {
    padding: 24px;
    max-height: 600px;
    overflow-y: auto;
}

.help-card-body::-webkit-scrollbar {
    width: 6px;
}

.help-card-body::-webkit-scrollbar-track {
    background: #eef1f8;
    border-radius: 10px;
}

.help-card-body::-webkit-scrollbar-thumb {
    background: #c7cee2;
    border-radius: 10px;
}

.help-card-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* === EMPTY STATE === */
.help-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.help-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eef1f8 0%, #e4e8f2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #94a3b8;
}

.help-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e2338;
    margin-bottom: 8px;
}

.help-empty-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* === REQUEST ITEM === */
.help-request-item {
    background: #f7f8fc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e9ecf5;
    transition: all 0.3s ease;
}

.help-request-item:last-child {
    margin-bottom: 0;
}

.help-request-item:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

/* === REQUEST HEADER === */
.request-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e9ecf5;
}

.request-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.request-user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.provide-help-card .request-user-avatar {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.request-user-details h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e2338;
    margin: 0 0 4px 0;
}

.request-user-id {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.request-amount-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.provide-help-card .request-amount-badge {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* === INFO GRID === */
.request-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.request-info-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.request-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.request-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e2338;
}

/* === TIMER === */
.request-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.timer-icon {
    font-size: 20px;
}

.timer-content {
    flex: 1;
}

.timer-label {
    font-size: 11px;
    font-weight: 600;
    color: #9a3412;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.timer-value {
    font-size: 16px;
    font-weight: 700;
    color: #ea580c;
    font-variant-numeric: tabular-nums;
}

.timer-expired {
    background: #fef2f2;
    border-color: #fecaca;
}

.timer-expired .timer-label {
    color: #991b1b;
}

.timer-expired .timer-value {
    color: #dc2626;
}

/* === STATUS & ACTIONS === */
.request-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 2px solid #e9ecf5;
}

.request-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.status-active {
    background: #ecfdf5;
    color: #059669;
}

.status-expired {
    background: #fef2f2;
    color: #dc2626;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.request-action-buttons {
    display: flex;
    gap: 8px;
}

/* === BUTTONS === */
.help-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.help-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.help-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.help-btn-danger {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.help-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
}

.help-btn-secondary {
    background: #ffffff;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.help-btn-secondary:hover {
    background: #4f46e5;
    color: #ffffff;
}

.help-btn-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.help-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

/* === PROVIDE HELP SPECIFIC === */
.provide-bank-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #e9ecf5;
}

.provide-action-item {
    display: flex;
    flex-direction: column;
}

.provide-action-item form {
    width: 100%;
}

.provide-action-item .help-btn {
    width: 100%;
    justify-content: center;
}

.txn-display-box {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #166534;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .help-requests-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .help-card-body {
        padding: 16px;
    }
    
    .help-request-item {
        padding: 16px;
    }
    
    .request-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .request-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .request-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .request-action-buttons {
        width: 100%;
    }
    
    .help-btn {
        flex: 1;
    }
    
    .provide-bank-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .help-requests-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .help-card-header {
        padding: 20px;
    }
    
    .help-card-title {
        font-size: 16px;
    }
}

/* ============================================
   COMPACT TIMER SECTION - 4 TIMERS
   ============================================ */

.compact-timer-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(30, 35, 56, 0.06);
    border: 1px solid #e9ecf5;
}

/* === TIMER GRID - 2x2 LAYOUT === */
.timers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* === COMPACT TIMER CARD === */
.compact-timer-card {
    background: linear-gradient(135deg, #f7f8fc 0%, #ffffff 100%);
    border: 2px solid #e9ecf5;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.compact-timer-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
}

/* === TIMER HEADER === */
.timer-card-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3fa;
}

.timer-label {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === TIMER DISPLAY ROW === */
.timer-display-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* === TIME UNIT === */
.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.enhanced-time-count {
    font-size: 32px;
    font-weight: 800;
    color: #1e2338;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enhanced-time-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === TIME SEPARATOR === */
.time-separator {
    font-size: 28px;
    font-weight: 800;
    color: #c7cee2;
    line-height: 1;
    margin: 0 4px;
    animation: blink-separator 1.5s ease-in-out infinite;
}

@keyframes blink-separator {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* === READY BADGE === */
.timer-ready-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
    color: #059669;
    font-size: 16px;
    font-weight: 700;
}

.timer-ready-badge svg {
    flex-shrink: 0;
}

/* === INACTIVE STATE === */
.timer-inactive-state {
    text-align: center;
    padding: 60px 32px;
}

.inactive-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: rotate-icon 3s linear infinite;
}

@keyframes rotate-icon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.inactive-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 12px 0;
}

.inactive-text {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* === COMPLETE STATE === */
.timer-complete-state {
    text-align: center;
    padding: 60px 32px;
}

.complete-check {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: check-bounce 0.6s ease;
}

@keyframes check-bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.complete-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 12px 0;
}

.complete-text {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .timers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .compact-timer-wrapper {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .timers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .compact-timer-card {
        padding: 18px;
    }
    
    .enhanced-time-count {
        font-size: 28px;
    }
    
    .time-separator {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .compact-timer-wrapper {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .compact-timer-card {
        padding: 16px;
    }
    
    .time-unit {
        min-width: 50px;
    }
    
    .enhanced-time-count {
        font-size: 24px;
    }
    
    .enhanced-time-label {
        font-size: 9px;
    }
    
    .time-separator {
        font-size: 20px;
        margin: 0 2px;
    }
    
    .timer-label {
        font-size: 12px;
    }
}

/* === MAIN FONT === */
.main-font {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   BOOSTER REWARDS SECTION
   ============================================ */

.booster-rewards-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(30, 35, 56, 0.06);
    border: 1px solid #e9ecf5;
    margin-top: 24px;
}

/* === SECTION HEADER === */
.booster-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f3fa;
}

.header-content {
    flex: 1;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 8px 0;
}

.section-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.overall-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 12px;
    color: #ffffff;
}

.progress-label {
    font-size: 13px;
    font-weight: 600;
}

.progress-value {
    font-size: 20px;
    font-weight: 800;
}

/* === BOOSTER CARDS GRID === */
.booster-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* === BOOSTER CARD === */
.booster-card {
    background: linear-gradient(135deg, #f7f8fc 0%, #ffffff 100%);
    border: 2px solid #e9ecf5;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booster-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c7cee2 0%, #94a3b8 100%);
    transition: background 0.3s ease;
}

.booster-card.active {
    border-color: #4f46e5;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
}

.booster-card.active::before {
    background: linear-gradient(90deg, #4f46e5 0%, #4338ca 100%);
}

.booster-card.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.booster-card.completed::before {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.booster-card.locked {
    opacity: 0.6;
}

.booster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 35, 56, 0.1);
}

/* === CARD HEADER === */
.booster-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.booster-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.booster-card.completed .booster-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.booster-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-completed {
    background: #d1fae5;
    color: #065f46;
}

.badge-locked {
    background: #f1f3fa;
    color: #64748b;
}

/* === REFERRAL STATS === */
.referral-stats {
    margin-bottom: 16px;
}

.stats-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stats-numbers {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.current-count {
    font-size: 32px;
    font-weight: 800;
    color: #1e2338;
    line-height: 1;
}

.count-separator {
    font-size: 24px;
    font-weight: 600;
    color: #c7cee2;
}

.target-count {
    font-size: 20px;
    font-weight: 700;
    color: #94a3b8;
}

.stats-remaining {
    font-size: 13px;
    color: #f59e0b;
    font-weight: 600;
}

/* === BUSINESS INFO === */
.business-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f7f8fc;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.business-info svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* === COUNTDOWN BOX === */
.countdown-box {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.countdown-box.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* === PROGRESS BAR === */
.booster-progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f3fa;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.booster-card.completed .progress-bar-fill {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* === RESPONSIVE === */
@media (max-width: 1400px) {
    .booster-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .booster-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .booster-section-header {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .booster-rewards-section {
        padding: 24px 20px;
    }
    
    .booster-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .booster-card {
        padding: 20px;
    }
    
    .current-count {
        font-size: 28px;
    }
    
    .target-count {
        font-size: 18px;
    }
}

/* ============================================
   NEWS TICKER - MODERN DESIGN
   ============================================ */

.news-ticker-wrapper {
    margin-bottom: 24px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-ticker-container {
    background: linear-gradient(135deg, #ffffff 0%, #f7f8fc 100%);
    border: 2px solid #e9ecf5;
    border-left: 4px solid #4f46e5;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(30, 35, 56, 0.04);
    position: relative;
    overflow: hidden;
}

.news-ticker-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #4338ca 50%, #4f46e5 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* === NEWS ICON === */
.news-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 8px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.news-icon svg {
    width: 18px;
    height: 18px;
}

.news-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === NEWS CONTENT === */
.news-content-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.news-content {
    display: flex;
    gap: 80px;
    animation: scroll-news 25s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-news {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-content:hover {
    animation-play-state: paused;
}

.news-text {
    font-size: 15px;
    font-weight: 600;
    color: #1e2338;
    display: inline-block;
}

.news-text::before {
    content: '•';
    color: #4f46e5;
    margin-right: 12px;
    font-size: 18px;
}

/* === CLOSE BUTTON === */
.news-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #f1f3fa;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.news-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .news-ticker-container {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .news-icon {
        padding: 6px 12px;
    }
    
    .news-label {
        display: none;
    }
    
    .news-text {
        font-size: 14px;
    }
    
    .news-content {
        gap: 60px;
    }
}

@media (max-width: 576px) {
    .news-ticker-container {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .news-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .news-text {
        font-size: 13px;
    }
}

/* === ALTERNATIVE STYLES (Optional) === */

/* Variant 1: Alert Style */
.news-ticker-container.alert-style {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
}

.news-ticker-container.alert-style .news-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Variant 2: Success Style */
.news-ticker-container.success-style {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left-color: #10b981;
}

.news-ticker-container.success-style .news-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Variant 3: Info Style */
.news-ticker-container.info-style {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left-color: #3b82f6;
}

.news-ticker-container.info-style .news-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* ============================================
   HEADER REDESIGN V7
   Completely new visual language — no gradient banner.
   Light glass header with avatar ring, inline breadcrumb
   chip, and a live clock strip. New classes only.
   Append to the END of your main CSS file.
   ============================================ */

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 26px;
    padding: 26px 30px;
    margin: 20px 0 28px;
    box-shadow: 0 10px 36px rgba(79, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-avatar-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 180deg, #4f46e5, #0ea5e9, #10b981, #4f46e5);
    padding: 3px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.hero-avatar-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #4f46e5;
}

.hero-text {
    min-width: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #4f46e5;
    margin-bottom: 4px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 3px;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-size: 13.5px;
    color: #6b7290;
    margin: 0;
    font-weight: 500;
}

.hero-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.hero-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #f7f8fc;
    border: 1px solid #eef1f8;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.hero-chip-trail {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-chip-trail a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7290;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-chip-trail a:hover {
    color: #4f46e5;
}

.hero-chip-sep {
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

.hero-chip-current {
    color: #4f46e5;
    font-weight: 800;
}

.hero-date-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-header {
        padding: 22px;
    }

    .hero-title {
        font-size: 22px;
        white-space: normal;
    }

    .hero-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .hero-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border-radius: 20px;
    }

    .hero-header-left {
        gap: 14px;
    }

    .hero-avatar-ring {
        width: 52px;
        height: 52px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-header-right {
        flex-wrap: wrap;
    }

    .hero-chip-trail span,
    .hero-chip-trail a span {
        display: none;
    }
}

/* === QUICK STATS MINI === */
.quick-stats-mini {
    display: flex;
    gap: 12px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-stat-icon {
    font-size: 18px;
}

.mini-stat-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .dashboard-header-section {
        flex-direction: column;
        gap: 24px;
        padding: 28px 32px;
    }
    
    .header-right {
        width: 100%;
        align-items: flex-start;
    }
    
    .breadcrumb-nav {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .dashboard-header-section {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .dashboard-title {
        font-size: 26px;
    }
    
    .dashboard-subtitle {
        font-size: 14px;
    }
    
    .breadcrumb-nav {
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .dashboard-header-section {
        padding: 20px 16px;
    }
    
    .dashboard-title {
        font-size: 22px;
    }
    
    .welcome-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .breadcrumb-link {
        font-size: 13px;
    }
    
    .breadcrumb-active {
        font-size: 13px;
    }
    
    .quick-stats-mini {
        width: 100%;
    }
    
    .mini-stat {
        flex: 1;
        justify-content: center;
    }
}

/* ============================================
   REGISTRATION SUCCESS PAGE
   ============================================ */

/* === SUCCESS CARD === */
.success-card {
    background: #ffffff;
    border-radius: 32px;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(30, 35, 56, 0.2);
    position: relative;
    animation: successSlideUp 0.6s ease;
}

@keyframes successSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SUCCESS HEADER === */
.success-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 48px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.success-icon-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    animation: checkmarkPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-checkmark svg {
    color: #ffffff;
    stroke-width: 3;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.success-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
}

/* === SUCCESS BODY === */
.success-body {
    padding: 40px;
}

/* === WELCOME MESSAGE === */
.welcome-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 4px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.message-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.message-text {
    font-size: 15px;
    line-height: 1.7;
    color: #065f46;
    margin: 0;
}

.message-text strong {
    color: #047857;
    font-weight: 700;
}

/* === CREDENTIALS SECTION === */
.credentials-section {
    margin-bottom: 32px;
}

.credentials-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.credential-card {
    background: #f7f8fc;
    border: 2px solid #e9ecf5;
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    box-shadow: 0 4px 12px rgba(30, 35, 56, 0.08);
}

.credential-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.credential-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credential-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e2338;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    width: 36px;
    height: 36px;
    background: #f1f3fa;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #64748b;
}

.copy-btn:hover {
    background: #4f46e5;
    color: #ffffff;
    transform: scale(1.1);
}

/* === SECURITY NOTICE === */
.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.security-notice svg {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-notice span {
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
    line-height: 1.6;
}

/* === ACTION BUTTONS === */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-proceed {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-proceed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-proceed svg {
    transition: transform 0.3s ease;
}

.btn-proceed:hover svg {
    transform: translateX(4px);
}

.btn-home {
    width: 100%;
    padding: 14px 24px;
    background: #f7f8fc;
    color: #475569;
    border: 2px solid #e9ecf5;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: #ffffff;
    border-color: #4f46e5;
    color: #4f46e5;
    text-decoration: none;
}

/* === CONFETTI ANIMATION === */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #10b981;
    opacity: 0.8;
    animation: confettiFall 3s ease-out infinite;
}

.confetti:nth-child(1) {
    left: 10%;
    background: #10b981;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 20%;
    background: #3b82f6;
    animation-delay: 0.2s;
}

.confetti:nth-child(3) {
    left: 30%;
    background: #f59e0b;
    animation-delay: 0.4s;
}

.confetti:nth-child(4) {
    left: 50%;
    background: #ec4899;
    animation-delay: 0.6s;
}

.confetti:nth-child(5) {
    left: 60%;
    background: #8b5cf6;
    animation-delay: 0.8s;
}

.confetti:nth-child(6) {
    left: 70%;
    background: #ef4444;
    animation-delay: 1s;
}

.confetti:nth-child(7) {
    left: 80%;
    background: #06b6d4;
    animation-delay: 1.2s;
}

.confetti:nth-child(8) {
    left: 90%;
    background: #84cc16;
    animation-delay: 1.4s;
}

@keyframes confettiFall {
    0% {
        top: -10%;
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: rotate(720deg);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .success-card {
        border-radius: 24px;
    }
    
    .success-header {
        padding: 40px 24px 32px;
    }
    
    .success-checkmark {
        width: 100px;
        height: 100px;
    }
    
    .success-checkmark svg {
        width: 64px;
        height: 64px;
    }
    
    .success-title {
        font-size: 26px;
    }
    
    .success-body {
        padding: 32px 24px;
    }
    
    .welcome-message {
        padding: 20px;
    }
    
    .message-icon {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .success-header {
        padding: 32px 20px 28px;
    }
    
    .success-checkmark {
        width: 80px;
        height: 80px;
    }
    
    .success-checkmark svg {
        width: 56px;
        height: 56px;
    }
    
    .success-title {
        font-size: 24px;
    }
    
    .success-body {
        padding: 28px 20px;
    }
    
    .credential-item {
        flex-wrap: wrap;
    }
    
    .credential-value {
        font-size: 14px;
    }
}


/* === CENTER NAVIGATION MENU === */
#topnav .topbar-menu {
    display: flex;
    justify-content: center;
}

#topnav .navigation-menu {
    justify-content: center;
    align-items: center;
}

/* === UPDATE ICON STYLES === */
.navigation-menu > li > a i {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Keep dropdown arrow on right side */
.navigation-menu > li > a .arrow-down {
    margin-left: auto;
}

/* === SPECIFIC ICON REPLACEMENTS === */
/* Home Icon */
.navigation-menu > li:nth-child(1) > a i.mdi-home::before {
    content: "\F02DC"; /* mdi-home-variant */
}

/* Settings Icon */
.navigation-menu > li:nth-child(2) > a i.mdi-account-outline::before {
    content: "\F0493"; /* mdi-cog */
}

/* Links Icon */
.navigation-menu > li:nth-child(3) > a i.mdi-package-variant-closed::before {
    content: "\F0337"; /* mdi-link-variant */
}

/* Pins Section Icon */
.navigation-menu > li:nth-child(4) > a i.mdi-package-variant-closed::before {
    content: "\F0538"; /* mdi-credit-card-multiple */
}

/* Team Section Icon */
.navigation-menu > li:nth-child(5) > a i.mdi-account-group-outline::before {
    content: "\F0150"; /* mdi-account-group */
}

/* Logout Icon */
.navigation-menu > li:last-child > a i.mdi-logout::before {
    content: "\F0343"; /* mdi-logout-variant */
}

/* === RESPONSIVE: Keep centered on all screens === */
@media (max-width: 992px) {
    #topnav .topbar-menu {
        justify-content: flex-start;
    }
    
    #topnav .navigation-menu {
        justify-content: flex-start;
    }
}

/* ============================================
   LOGIN PAGE — LAYOUT V2
   Single centered card, top banner style
   New classes only — does not touch anything above
   ============================================ */

.auth-page-v2 {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(180deg, #eef2ff 0%, #f7f8fc 45%, #ecfeff 100%);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.auth-v2-shell {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.auth-v2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.auth-v2-orb-1 {
    width: 420px;
    height: 420px;
    top: -80px;
    left: -120px;
    background: rgba(79, 70, 229, 0.14);
}

.auth-v2-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -80px;
    right: -100px;
    background: rgba(14, 165, 233, 0.12);
}

.auth-v2-orb-3 {
    width: 260px;
    height: 260px;
    bottom: 20%;
    left: -80px;
    background: rgba(16, 185, 129, 0.1);
}

.auth-v2-card {
    width: 100%;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(79, 70, 229, 0.22);
    border: 1px solid #eef1f8;
    animation: authV2Rise 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authV2Rise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-v2-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    padding: 44px 40px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-v2-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-v2-banner::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -15%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-v2-logo-badge {
    width: 142px;
    height: 142px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.auth-v2-logo-img {
    width: 130px;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

.auth-v2-heading {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.4px;
    position: relative;
    z-index: 1;
}

.auth-v2-subheading {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.auth-v2-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #ffffff;
    margin: -28px 24px 0;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(30, 35, 56, 0.08);
    position: relative;
    z-index: 2;
}

.auth-v2-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4338ca;
}

.auth-v2-trust-item svg {
    color: #4f46e5;
    flex-shrink: 0;
}

.auth-v2-trust-divider {
    width: 1px;
    height: 14px;
    background: #e4e8f2;
}

.auth-v2-body {
    padding: 32px 40px 40px;
}

.auth-v2-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-v2-copyright {
    margin-top: 24px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .auth-page-v2 {
        padding: 24px 14px;
    }

    .auth-v2-card {
        border-radius: 22px;
    }

    .auth-v2-banner {
        padding: 36px 24px 48px;
    }

    .auth-v2-logo-badge {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .auth-v2-logo-img {
        width: 32px;
    }

    .auth-v2-heading {
        font-size: 22px;
    }

    .auth-v2-trust-row {
        margin: -24px 16px 0;
        padding: 12px 14px;
        gap: 10px;
    }

    .auth-v2-trust-item span {
        display: none;
    }

    .auth-v2-body {
        padding: 28px 24px 32px;
    }
}

/* ============================================
   DASHBOARD REDESIGN V4 — MODERN GLOW / BENTO
   Glassmorphism, bold type, ambient glows, bento grid.
   Append to the END of your main CSS file.
   Uses the SAME class names as v3 (metric-highlight-*,
   metric-row-*, stepper-*, pill-timer-*, feed-*) —
   this REPLACES the v3 visual rules with a richer finish.
   If you already added v3 CSS, these rules override it
   since they come later in the file (CSS cascade).
   ============================================ */

.dash-v3-shell {
    padding-top: 8px;
    position: relative;
}

/* Ambient background glow behind the whole dashboard */
.dash-v3-shell::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.dash-v3-shell::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* === BENTO HERO ROW: 4 tiles, unequal sizes, glass + glow === */
.metric-highlight-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 20px 0 36px;
    overflow: visible;
}

.metric-highlight-item {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 22px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}

.metric-highlight-item::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.metric-highlight-item:nth-child(1) { grid-row: span 2; justify-content: center; }
.metric-highlight-item:nth-child(1)::before { background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%); }
.metric-highlight-item:nth-child(2)::before { background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%); }
.metric-highlight-item:nth-child(3)::before { background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%); }
.metric-highlight-item:nth-child(4)::before { background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%); }

.metric-highlight-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.16), inset 0 1px 0 rgba(255,255,255,0.9);
}

.metric-highlight-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7290;
    position: relative;
    z-index: 1;
}

.metric-highlight-value {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1e2338 0%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-highlight-item:nth-child(1) .metric-highlight-value { font-size: 40px; }

.metric-highlight-value small {
    font-size: 12px;
    font-weight: 700;
    color: #4f46e5;
    -webkit-text-fill-color: #4f46e5;
    background: #eef2ff;
    padding: 3px 9px;
    border-radius: 999px;
}

/* === SECTION LABEL — bolder, gradient accent bar === */
.dash-v3-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

.dash-v3-label::before {
    content: '';
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, #4f46e5 0%, #0ea5e9 100%);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.4);
}

.dash-v3-label h3 {
    font-size: 19px;
    font-weight: 800;
    color: #1e2338;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.3px;
}

/* === METRIC ROW LIST → GLASS BENTO GRID OF CARDS === */
.metric-row-list {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-row {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(233,236,245,0.9);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(30, 35, 56, 0.05);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

.metric-row::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(79,70,229,0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.metric-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.14);
    border-color: transparent;
}

.metric-row:hover::after {
    opacity: 1;
}

.metric-row-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.metric-row-icon.tint-indigo { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4f46e5; }
.metric-row-icon.tint-cyan { background: linear-gradient(135deg, #ecfeff, #cffafe); color: #0891b2; }
.metric-row-icon.tint-orange { background: linear-gradient(135deg, #fff7ed, #fed7aa); color: #ea580c; }
.metric-row-icon.tint-green { background: linear-gradient(135deg, #ecfdf5, #a7f3d0); color: #059669; }
.metric-row-icon.tint-pink { background: linear-gradient(135deg, #fdf2f8, #fbcfe8); color: #db2777; }
.metric-row-icon.tint-mint { background: linear-gradient(135deg, #f0fdfa, #99f6e4); color: #0d9488; }
.metric-row-icon.tint-blue { background: linear-gradient(135deg, #eff6ff, #bfdbfe); color: #2563eb; }
.metric-row-icon.tint-peach { background: linear-gradient(135deg, #fffbeb, #fde68a); color: #d97706; }

.metric-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.metric-row-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7290;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.metric-row-value {
    font-size: 26px;
    font-weight: 800;
    color: #1e2338;
    letter-spacing: -0.6px;
}

.metric-row-side {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
    border-top: 1px dashed #e4e8f2;
}

.metric-row-caption {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    max-width: none;
}

.metric-row-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
}

.metric-row-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.metric-row:hover .metric-row-arrow {
    color: #4f46e5;
    transform: translate(3px, -3px);
}
/* ============================================
   BOOSTER REWARDS — 2-CARD REDESIGN
   Replaces the horizontal stepper (built for 5 nodes,
   looked broken/empty with only 2). New side-by-side
   reward cards with condition, reward, progress, and
   live countdown clearly laid out.
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.booster2-wrapper {
    margin-bottom: 32px;
}

.booster2-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.booster2-head-title {
    font-size: 19px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 3px;
    letter-spacing: -0.3px;
}

.booster2-head-sub {
    font-size: 13px;
    color: #6b7290;
    margin: 0;
}

.booster2-overall {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    white-space: nowrap;
}

.booster2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booster2-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.08);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}

.booster2-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.booster2-card.is-done::before {
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
}

.booster2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.14);
}

.booster2-card.is-locked {
    opacity: 0.65;
}

/* Top row: number badge + status pill */
.booster2-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.booster2-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f1f3fa, #e4e8f2);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
}

.booster2-card.is-active .booster2-number {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.booster2-card.is-done .booster2-number {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.booster2-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
}

.booster2-pill.st-active { background: #e0e7ff; color: #3730a3; }
.booster2-pill.st-done { background: #d1fae5; color: #065f46; }
.booster2-pill.st-locked { background: #f1f3fa; color: #64748b; }

/* Reward headline */
.booster2-reward-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

/* Condition chip row */
.booster2-condition {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f8fc;
    border: 1px solid #eef1f8;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    position: relative;
    z-index: 1;
}

.booster2-condition svg {
    color: #4f46e5;
    flex-shrink: 0;
}

.booster2-card.is-done .booster2-condition svg { color: #059669; }

/* Progress section */
.booster2-progress-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.booster2-progress-count {
    font-size: 22px;
    font-weight: 800;
    color: #1e2338;
}

.booster2-progress-count small {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.booster2-progress-remaining {
    font-size: 11.5px;
    font-weight: 700;
    color: #f59e0b;
}

.booster2-progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f3fa;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.booster2-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.booster2-card.is-done .booster2-progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* Countdown box */
.booster2-countdown-box {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
    position: relative;
    z-index: 1;
}

.booster2-countdown-box.is-done {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.booster2-countdown-box .cd-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 3px;
}

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

    .booster2-card {
        padding: 20px;
    }
}

/* === FEED TABS — glass wrapper, glowing active tab === */
.feed-wrapper {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.8));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(79, 70, 229, 0.08);
}

.feed-tabs {
    background: rgba(247, 248, 252, 0.6);
}

.feed-tab.is-active {
    background: #ffffff;
    box-shadow: inset 0 -3px 0 #4f46e5;
}

.feed-tab-count {
    background: #e4e8f2;
}

.feed-tab.is-active .feed-tab-count {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
}

.feed-card {
    background: linear-gradient(135deg, #ffffff, #f7f8fc);
    box-shadow: 0 2px 10px rgba(30,35,56,0.04);
    border-left: 3px solid #4f46e5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feed-card:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.1);
}

.feed-card.tone-provide {
    border-left-color: #0d9488;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .metric-highlight-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .metric-highlight-item:nth-child(1) {
        grid-row: auto;
    }
    .metric-row-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .metric-highlight-row {
        grid-template-columns: 1fr;
    }
    .metric-row-list {
        grid-template-columns: 1fr;
    }
    .metric-highlight-value {
        font-size: 28px;
    }
    .metric-highlight-item:nth-child(1) .metric-highlight-value {
        font-size: 32px;
    }
}

/* ============================================
   DASHBOARD FIX V5 — Booster Stepper + Help Center
   These are DEFENSIVE, high-specificity rules to
   override framework CSS (Bootstrap resets, global
   .row/.col flex rules, button/badge defaults) that
   were breaking the stepper and tabs.
   Append to the END of your main CSS file (after v3/v4).
   ============================================ */

/* ============ BOOSTER STEPPER — FORCE HORIZONTAL ============ */

div.stepper-wrapper .stepper-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 12px;
    margin: 0;
    list-style: none;
}

div.stepper-wrapper .stepper-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    flex: 1 1 0;
    min-width: 110px;
    max-width: 180px;
    position: relative;
    padding: 0 8px;
    margin: 0;
    list-style: none;
}

div.stepper-wrapper .stepper-line {
    display: block !important;
    position: absolute;
    top: 23px;
    left: 55%;
    width: 90%;
    height: 3px;
    background: #e4e8f2;
    z-index: 0;
    border-radius: 2px;
}

div.stepper-wrapper .stepper-step.done .stepper-line {
    background: linear-gradient(90deg, #10b981, #34d399);
}

div.stepper-wrapper .stepper-step:last-child .stepper-line {
    display: none !important;
}

div.stepper-wrapper .stepper-circle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 50%;
    background: #f1f3fa;
    border: 2px solid #e4e8f2;
    font-size: 16px;
    font-weight: 800;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    margin: 0 auto 12px;
}

div.stepper-wrapper .stepper-step.active .stepper-circle {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.15), 0 8px 20px rgba(79, 70, 229, 0.4);
}

div.stepper-wrapper .stepper-step.done .stepper-circle {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

div.stepper-wrapper .stepper-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e2338;
    margin: 0 0 3px;
    white-space: nowrap;
}

div.stepper-wrapper .stepper-meta {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 0 8px;
    white-space: nowrap;
}

div.stepper-wrapper .stepper-step.active .stepper-meta { color: #4f46e5; }
div.stepper-wrapper .stepper-step.done .stepper-meta { color: #059669; }

div.stepper-wrapper .stepper-progress-mini {
    display: block;
    width: 100%;
    max-width: 80px;
    height: 5px;
    background: #e4e8f2;
    border-radius: 3px;
    margin: 0 auto 8px;
    overflow: hidden;
}

div.stepper-wrapper .stepper-progress-mini-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    border-radius: 3px;
}

div.stepper-wrapper .stepper-step.done .stepper-progress-mini-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}

div.stepper-wrapper .stepper-countdown {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 900px) {
    div.stepper-wrapper .stepper-track {
        justify-content: flex-start !important;
    }
    div.stepper-wrapper .stepper-step {
        min-width: 96px;
    }
}


/* ============ HELP CENTER TABS — REBUILD AS REAL BUTTONS ============ */

div.feed-wrapper {
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(30, 35, 56, 0.06);
}

div.feed-wrapper .feed-tabs {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    background: #f7f8fc;
    border-bottom: 1px solid #e9ecf5;
    padding: 0;
    margin: 0;
    gap: 0;
}

div.feed-wrapper button.feed-tab {
    all: unset;
    box-sizing: border-box;
    display: flex !important;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: #64748b;
    cursor: pointer;
    text-align: center;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

div.feed-wrapper button.feed-tab:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.04);
}

div.feed-wrapper button.feed-tab.is-active {
    color: #4f46e5;
    background: #ffffff;
    border-bottom-color: #4f46e5;
}

div.feed-wrapper button.feed-tab .tab-text {
    display: inline;
    color: inherit;
}

div.feed-wrapper button.feed-tab .feed-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: #e4e8f2;
    color: #475569;
    line-height: 1;
}

div.feed-wrapper button.feed-tab.is-active .feed-tab-count {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
}

div.feed-wrapper .feed-panel {
    display: none;
    padding: 22px;
    max-height: 640px;
    overflow-y: auto;
}

div.feed-wrapper .feed-panel.is-active {
    display: block !important;
}

div.feed-wrapper .feed-panel::-webkit-scrollbar {
    width: 6px;
}

div.feed-wrapper .feed-panel::-webkit-scrollbar-thumb {
    background: #c7cee2;
    border-radius: 10px;
}

/* Section label leaking selection-highlight look — force clean */
.dash-v3-label,
.dash-v3-label h3 {
    background: none !important;
    -webkit-user-select: text;
}

@media (max-width: 576px) {
    div.feed-wrapper button.feed-tab {
        padding: 14px 8px;
        font-size: 13px;
        gap: 6px;
    }
}
/* ============================================
   FIX V8 — Timer Pill Row: equal-width grid + title
   Replaces the flex approach (which was letting one
   pill balloon in width) with a strict CSS grid that
   forces all 4 columns to be identical.
   Append to the END of your main CSS file, AFTER v6
   (these selectors are more specific and will win).
   ============================================ */

div.pill-timer-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    align-items: stretch !important;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.08);
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
}

div.pill-timer-row div.pill-timer {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f7f8fc, #ffffff);
    border: 1px solid #eef1f8;
    border-radius: 16px;
    padding: 16px 18px;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(30,35,56,0.04);
    margin: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

div.pill-timer-row div.pill-timer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.12);
    border-color: #c7d2fe;
}

div.pill-timer-row span.pill-timer-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

div.pill-timer-row span.pill-timer-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #1e2338, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.pill-timer-row .pill-timer-state {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1 !important;
    width: 100%;
    text-align: center;
    padding: 30px 20px;
}

@media (max-width: 900px) {
    div.pill-timer-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    div.pill-timer-row {
        grid-template-columns: 1fr !important;
    }
    div.pill-timer-row span.pill-timer-value {
        font-size: 19px;
    }
}


/* ============================================
   BANK DETAILS FORM — NEW DESIGN
   Matches the glass/bento language used elsewhere.
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.bank-form-shell {
    padding-top: 8px;
}

/* === Page hero (reuses same visual family as dashboard hero-header) === */
.bank-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 24px;
    padding: 24px 28px;
    margin: 20px 0 28px;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
}

.bank-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -6%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bank-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 1;
}

.bank-hero-text {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.bank-hero-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
}

.bank-hero-crumb .sep {
    color: #cbd5e1;
}

.bank-hero-crumb .current {
    color: #4f46e5;
    font-weight: 700;
}

.bank-hero-title {
    font-size: 23px;
    font-weight: 800;
    color: #1e2338;
    margin: 0;
    letter-spacing: -0.4px;
}

/* === Form card === */
.bank-form-card {
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 22px;
    padding: 8px;
    box-shadow: 0 8px 28px rgba(30, 35, 56, 0.06);
    max-width: 720px;
}

.bank-form-inner {
    padding: 24px;
}

.bank-field-group {
    margin-bottom: 20px;
}

.bank-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.bank-field-label svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.bank-field-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e2338;
    background: #f7f8fc;
    border: 2px solid #e9ecf5;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.bank-field-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.bank-field-input:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.bank-field-input[readonly] {
    background: #eef2ff;
    border-color: #e0e7ff;
    color: #4338ca;
    cursor: not-allowed;
}

.bank-field-static {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 800;
    color: #4338ca;
    background: #eef2ff;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.bank-locked-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
}

.bank-locked-note svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.bank-field-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bank-submit-row {
    padding-top: 8px;
    border-top: 1px dashed #e4e8f2;
    margin-top: 8px;
}

.bank-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.25s ease;
}

.bank-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.4);
}

@media (max-width: 768px) {
    .bank-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .bank-hero-title {
        font-size: 20px;
    }

    .bank-field-2col {
        grid-template-columns: 1fr;
    }

    .bank-form-inner {
        padding: 18px;
    }
}

/* ============================================
   DATA TABLE PAGE REDESIGN
   For pages using DataTables (Provide Help, and similar
   list pages). Keeps <table> structure intact (required
   for DataTables JS) but restyles the chrome around it
   and the cell content (badges, status pills).
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.table-page-shell {
    padding-top: 8px;
}

/* === Card wrapper around the table === */
.table-glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.07);
    overflow: hidden;
}

.table-glass-card .table-responsive {
    border-radius: 14px;
    overflow: hidden;
}

/* === Restyle the actual <table> without breaking DataTables JS hooks === */
.table-glass-card table.table {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100%;
    margin: 0;
}

.table-glass-card table.table thead th {
    background: #f7f8fc;
    color: #6b7290;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 16px;
    border-bottom: 2px solid #e9ecf5;
    border-top: none;
    white-space: nowrap;
}

.table-glass-card table.table tbody td {
    padding: 14px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e2338;
    border-bottom: 1px solid #f1f3fa;
    border-top: none;
    vertical-align: middle;
}

.table-glass-card table.table tbody tr {
    transition: background 0.2s ease;
}

.table-glass-card table.table tbody tr:hover {
    background: #f7f8fc;
}

.table-glass-card table.table tbody tr:last-child td {
    border-bottom: none;
}

/* Remove default bootstrap striping so hover reads clean */
.table-glass-card table.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

/* === Status pill classes to drop into <td> content via PHP === */
.tbl-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.tbl-status.st-approved { background: #ecfdf5; color: #059669; }
.tbl-status.st-reject { background: #fef2f2; color: #dc2626; }
.tbl-status.st-processing { background: #fff7ed; color: #ea580c; }
.tbl-status.st-sent { background: #eff6ff; color: #2563eb; }

.tbl-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #eef2ff;
    color: #4338ca;
}

.tbl-amount {
    font-weight: 800;
    color: #1e2338;
    font-variant-numeric: tabular-nums;
}

.tbl-muted {
    color: #94a3b8;
    font-size: 12.5px;
}

.tbl-txn {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #4338ca;
    background: #eef2ff;
    padding: 3px 8px;
    border-radius: 6px;
}

/* DataTables control bar (search box, length menu, pagination) restyle */
.table-glass-card .dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e9ecf5;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
}

.table-glass-card .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.table-glass-card .dataTables_wrapper .dataTables_length select {
    border: 2px solid #e9ecf5;
    border-radius: 8px;
    padding: 4px 8px;
}

.table-glass-card .dataTables_wrapper .dt-buttons .btn {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    margin-right: 6px;
}

.table-glass-card .dataTables_wrapper .paginate_button.current {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    border-radius: 8px;
}

.table-glass-card .dataTables_wrapper .paginate_button {
    border-radius: 8px !important;
}

@media (max-width: 768px) {
    .table-glass-card {
        padding: 16px;
        border-radius: 18px;
    }
}


/* ============================================
   PINS SUMMARY CARDS
   New bento-style stat cards for pins_unused.php
   (and reusable on pins_used.php too).
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.pin-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 28px;
}

.pin-summary-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.75));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 26px rgba(79, 70, 229, 0.07);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}

.pin-summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    pointer-events: none;
}

.pin-summary-card.pin-tone-indigo::before { background: radial-gradient(circle, rgba(79,70,229,0.14) 0%, transparent 70%); }
.pin-summary-card.pin-tone-green::before { background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 70%); }
.pin-summary-card.pin-tone-amber::before { background: radial-gradient(circle, rgba(245,158,11,0.14) 0%, transparent 70%); }

.pin-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.14);
}

.pin-summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: #ffffff;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.pin-tone-indigo .pin-summary-icon { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.pin-tone-green .pin-summary-icon { background: linear-gradient(135deg, #10b981, #059669); }
.pin-tone-amber .pin-summary-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

.pin-summary-text {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.pin-summary-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.pin-summary-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e2338, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.pin-summary-caption {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

/* Package breakdown chip list inside the third card */
.pin-breakdown-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.pin-breakdown-chip {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
}

@media (max-width: 992px) {
    .pin-summary-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pin-summary-row {
        grid-template-columns: 1fr;
    }
    .pin-summary-value {
        font-size: 22px;
    }
}

/* ============================================
   TRANSFER PIN — AVAILABLE BALANCE STRIP
   Small addition for pins_transfer.php.
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.avail-pin-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.avail-pin-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 14px 18px;
}

.avail-pin-chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 16px;
}

.avail-pin-chip-text {
    display: flex;
    flex-direction: column;
}

.avail-pin-chip-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6366f1;
}

.avail-pin-chip-value {
    font-size: 22px;
    font-weight: 800;
    color: #1e2338;
}

@media (max-width: 576px) {
    .avail-pin-strip {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TEAM SUMMARY — 4 card variant
   Reuses .pin-summary-card visual system but in a
   4-column grid instead of 3, plus an active/inactive
   ratio bar. New classes only.
   Append to the END of your main CSS file.
   ============================================ */

.team-summary-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 28px;
}

/* Reuse pin-summary-card look but allow 4-col grid */
.team-summary-row .pin-summary-card {
    padding: 20px;
}

.pin-tone-rose::before { background: radial-gradient(circle, rgba(244,63,94,0.14) 0%, transparent 70%); }
.pin-tone-rose .pin-summary-icon { background: linear-gradient(135deg, #f43f5e, #e11d48); }

/* Active/inactive ratio bar (sits inside the 4th card or standalone below) */
.team-ratio-bar-wrap {
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(30,35,56,0.05);
}

.team-ratio-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
}

.team-ratio-label-row span.active-txt { color: #059669; }
.team-ratio-label-row span.inactive-txt { color: #dc2626; }

.team-ratio-bar {
    display: flex;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #f1f3fa;
}

.team-ratio-fill-active {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    transition: width 0.6s ease;
}

.team-ratio-fill-inactive {
    background: linear-gradient(90deg, #f87171, #ef4444);
    height: 100%;
    transition: width 0.6s ease;
}

/* Status pills used inside the table cells for this page */
.tbl-status.st-blocked { background: #fef2f2; color: #dc2626; }

@media (max-width: 992px) {
    .team-summary-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-summary-row {
        grid-template-columns: 1fr;
    }
}




/* ============================================
   VISUAL PACKAGE PICKER — for pins_transfer.php
   Replaces the plain <select> with 4 selectable cards
   showing pack name, pin amount, pack amount.
   New classes only. Append to the END of your main CSS file.
   ============================================ */

.pkg-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pkg-picker-card {
    position: relative;
    background: #f7f8fc;
    border: 2px solid #e9ecf5;
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.pkg-picker-card:hover {
    border-color: #c7d2fe;
    background: #ffffff;
}

.pkg-picker-card.is-selected {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-color: #4f46e5;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.15);
}

.pkg-picker-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pkg-picker-card.is-selected .pkg-picker-check {
    background: #4f46e5;
    border-color: #4f46e5;
}

.pkg-picker-card.is-selected .pkg-picker-check::after {
    content: '✓';
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.pkg-picker-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    padding-right: 20px;
}

.pkg-picker-card.is-selected .pkg-picker-name {
    color: #4338ca;
}

.pkg-picker-pin-value {
    font-size: 20px;
    font-weight: 800;
    color: #1e2338;
    letter-spacing: -0.3px;
    margin-bottom: 2px;
}

.pkg-picker-pin-label {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
}

.pkg-picker-pack-amount {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e4e8f2;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.pkg-picker-pack-amount strong {
    color: #1e2338;
    font-weight: 800;
}

@media (max-width: 768px) {
    .pkg-picker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pkg-picker-grid {
        grid-template-columns: 1fr;
    }
}

.avail-pin-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .avail-pin-strip {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .avail-pin-strip {
        grid-template-columns: 1fr !important;
    }
}


.table-glass-card {
    overflow: visible !important;
}

.table-glass-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    display: block;
    border-radius: 14px;
}

.table-glass-card table.table {
    width: 100% !important;
    min-width: 720px !important;
}

/* DataTables sometimes injects its own wrapper div (.dataTables_wrapper)
   around the table — make sure THAT scrolls too, not just .table-responsive */
.table-glass-card .dataTables_wrapper {
    overflow-x: auto !important;
    width: 100%;
}

.table-glass-card .dataTables_scrollBody {
    overflow-x: auto !important;
}

@media (max-width: 768px) {
    .table-glass-card {
        padding: 10px;
    }

    .table-glass-card .table-responsive {
        border: 1px solid #eef1f8;
    }

    .table-glass-card table.table {
        min-width: 650px !important;
    }
}

/* ============================================
   FEED CARD REDESIGN — Help Center request cards
   Fixes flat/generic look: proper header/body/footer
   separation, refined timer treatment, better info
   grid, distinct button anchoring.
   Overrides feed-card internals. Uses SAME class names
   as your PHP (.feed-card, .request-item-header, etc.)
   so no PHP changes needed.
   Append to the END of your main CSS file.
   ============================================ */

.feed-card {
    background: #ffffff !important;
    border: 1px solid #eef1f8 !important;
    border-left: none !important;
    border-radius: 18px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(30, 35, 56, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feed-card:hover {
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.feed-card.tone-provide {
    border-left: none !important;
}

/* === HEADER STRIP: avatar + name + amount, with colored top border === */
.feed-card .request-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    margin: 0 !important;
    border-bottom: none !important;
    border-top: 3px solid #4f46e5;
    background: linear-gradient(180deg, #f7f8fc, #ffffff);
}

.feed-card.tone-provide .request-item-header {
    border-top-color: #0d9488;
}

.feed-card .request-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.feed-card.tone-provide .request-user-avatar {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.feed-card .request-user-details h5 {
    font-size: 14.5px;
    margin: 0 0 2px;
}

.feed-card .request-user-id {
    font-size: 11.5px;
}

.feed-card .request-amount-badge {
    font-size: 16px;
    padding: 7px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.feed-card.tone-provide .request-amount-badge {
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* === BODY: info grid gets real spacing + subtle dividers === */
.feed-card .request-info-grid {
    padding: 16px 20px 4px;
    margin: 0 !important;
    gap: 16px 24px;
}

.feed-card .request-info-field {
    gap: 4px;
}

.feed-card .request-info-label {
    font-size: 10.5px;
    letter-spacing: 0.4px;
}

.feed-card .request-info-value {
    font-size: 13.5px;
}

/* === TIMER: compact inline pill instead of big beige block === */
.feed-card .request-timer {
    margin: 12px 20px !important;
    padding: 10px 14px !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 10px !important;
    gap: 10px;
}

.feed-card .request-timer.timer-expired {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.feed-card .timer-icon {
    font-size: 16px;
}

.feed-card .timer-label {
    font-size: 9.5px;
}

.feed-card .timer-value {
    font-size: 13.5px;
}

/* === FOOTER: status + actions, clearly separated from body === */
.feed-card .request-footer {
    padding: 14px 20px 18px !important;
    margin: 0 !important;
    border-top: 1px solid #f1f3fa !important;
}

.feed-card .request-status-badge {
    font-size: 11.5px;
    padding: 6px 12px;
}

.feed-card .help-btn {
    padding: 8px 16px;
    font-size: 12.5px;
    border-radius: 9px;
}

/* Provide-help specific: bank/txn section gets same card-body rhythm */
.feed-card .provide-bank-section {
    margin: 0 20px 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f3fa !important;
}

@media (max-width: 576px) {
    .feed-card .request-item-header {
        padding: 14px 16px;
    }

    .feed-card .request-info-grid {
        padding: 14px 16px 4px;
        grid-template-columns: 1fr !important;
    }

    .feed-card .request-timer {
        margin: 10px 16px !important;
    }

    .feed-card .request-footer {
        padding: 12px 16px 16px !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .feed-card .request-action-buttons {
        width: 100%;
    }

    .feed-card .help-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ============================================
   BANK DETAILS VIEW PAGE (bank-details.php)
   Payment info shown to the "provide help" side of a
   donation transaction. New classes, matching the
   indigo/glass language used across the redesign.
   Append to the END of your main CSS file.
   ============================================ */

.pay-details-shell {
    padding-top: 8px;
    display: flex;
    justify-content: center;
}

.pay-details-card {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border: 1px solid #eef1f8;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(30, 35, 56, 0.1);
}

/* === HEADER === */
.pay-details-header {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    padding: 34px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pay-details-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%);
    border-radius: 50%;
}

.pay-details-header-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    background: rgba(255,255,255,0.16);
    border: 2px solid rgba(255,255,255,0.28);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.pay-details-header h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}

.pay-details-header p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* === BODY === */
.pay-details-body {
    padding: 28px 30px;
}

.pay-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #1e2338;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 14px;
}

.pay-section-label:not(:first-child) {
    margin-top: 26px;
}

.pay-section-label .icon-box {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pay-item-card {
    background: #f7f8fc;
    border: 2px solid #e9ecf5;
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.pay-item-row {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pay-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pay-item-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pay-item-value {
    font-size: 15px;
    font-weight: 700;
    color: #1e2338;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.pay-item-value.is-empty {
    color: #cbd5e1;
    font-family: inherit;
    font-weight: 500;
    font-style: italic;
}

.pay-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pay-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.pay-copy-btn:disabled {
    background: #e4e8f2;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Security notice */
.pay-security-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
}

.pay-security-notice svg {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.pay-security-notice p {
    margin: 0;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.6;
}

.pay-security-notice strong {
    color: #78350f;
}

@media (max-width: 576px) {
    .pay-details-header {
        padding: 26px 22px;
    }

    .pay-details-body {
        padding: 22px 20px;
    }

    .pay-item-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pay-copy-btn {
        justify-content: center;
    }
}


/* ============================================
   UPDATE TXN PAGE — Payment Method Selector
   New card-based radio picker for USDT / GPay / PhonePe,
   matching the glass hero + form-card language used
   across the redesign. New classes only.
   Append to the END of your main CSS file.
   ============================================ */

.pm-picker-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 4px;
}

.pm-picker-card {
    position: relative;
    background: #f7f8fc;
    border: 2px solid #e9ecf5;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pm-picker-card:hover {
    border-color: #c7d2fe;
    background: #ffffff;
}

.pm-picker-card.is-selected {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-color: #4f46e5;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.15);
}

.pm-picker-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-picker-card.is-selected .pm-picker-check {
    background: #4f46e5;
    border-color: #4f46e5;
}

.pm-picker-card.is-selected .pm-picker-check::after {
    content: '✓';
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.pm-picker-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.pm-picker-card[data-method="usdt"] .pm-picker-icon { background: linear-gradient(135deg, #26a17b, #1a7a5e); }
.pm-picker-card[data-method="gpay"] .pm-picker-icon { background: linear-gradient(135deg, #4285f4, #1a73e8); }
.pm-picker-card[data-method="phonepe"] .pm-picker-icon { background: linear-gradient(135deg, #5f259f, #4a1d7a); }

.pm-picker-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
}

.pm-picker-card.is-selected .pm-picker-name {
    color: #4338ca;
}

@media (max-width: 576px) {
    .pm-picker-group {
        grid-template-columns: 1fr;
    }
}



.booster2-business {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f7f8fc;
    border: 1px solid #eef1f8;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.booster2-business-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.booster2-business-label svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.booster2-business-value {
    font-size: 15px;
    font-weight: 800;
    color: #1e2338;
    font-variant-numeric: tabular-nums;
}

.booster2-card.is-done .booster2-business-value {
    color: #059669;
}

/* ============================================
   SUPPORT TICKET SYSTEM — new components
   Ticket row view button (POST form styled as a link),
   priority pills, and chat bubble styles for ticket view.
   Append to the END of your main CSS file.
   ============================================ */

/* Table-row "view" form styled as a plain link/button */
.tbl-view-form {
    display: inline;
    margin: 0;
}

.tbl-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tbl-view-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

/* Priority pills */
.tbl-priority { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tbl-priority.p-low { background: #ecfdf5; color: #059669; }
.tbl-priority.p-medium { background: #fff7ed; color: #ea580c; }
.tbl-priority.p-high { background: #fef2f2; color: #dc2626; }

/* ============ TICKET VIEW / CHAT THREAD ============ */

.ticket-meta-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.ticket-meta-item {
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 14px;
    padding: 14px 16px;
}

.ticket-meta-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.ticket-meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e2338;
}

.ticket-thread-card {
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(30, 35, 56, 0.06);
}

.ticket-thread-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f3fa;
    background: #f7f8fc;
}

.ticket-thread-subject {
    font-size: 17px;
    font-weight: 800;
    color: #1e2338;
    margin: 0 0 4px;
}

.ticket-thread-concern {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.ticket-chat-body {
    padding: 24px;
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble-row {
    display: flex;
    gap: 10px;
    max-width: 78%;
}

.chat-bubble-row.from-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.chat-bubble-row.from-user .chat-avatar { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.chat-bubble-row.from-admin .chat-avatar { background: linear-gradient(135deg, #0d9488, #0f766e); }

.chat-bubble {
    background: #f7f8fc;
    border-radius: 14px;
    padding: 12px 16px;
}

.chat-bubble-row.from-user .chat-bubble {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-top-right-radius: 4px;
}

.chat-bubble-row.from-admin .chat-bubble {
    background: #f0fdfa;
    border-top-left-radius: 4px;
}

.chat-bubble-sender {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}

.chat-bubble-text {
    font-size: 13.5px;
    color: #1e2338;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble-time {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 6px;
}

.ticket-reply-form {
    padding: 18px 24px;
    border-top: 1px solid #f1f3fa;
    background: #f7f8fc;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.ticket-reply-input {
    flex: 1;
    min-height: 46px;
    max-height: 140px;
    padding: 12px 16px;
    border: 2px solid #e9ecf5;
    border-radius: 12px;
    font-size: 13.5px;
    resize: vertical;
    background: #ffffff;
}

.ticket-reply-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.ticket-reply-send {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-reply-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.ticket-closed-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #ecfdf5;
    color: #059669;
    font-size: 13.5px;
    font-weight: 700;
    border-top: 1px solid #f1f3fa;
}

@media (max-width: 768px) {
    .ticket-meta-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .chat-bubble-row {
        max-width: 90%;
    }

    .ticket-reply-form {
        flex-direction: column;
        align-items: stretch;
    }
}


/* ============================================
   FIX/ADD — Close ticket button variant + UTF-8 note
   Append to the END of your main CSS file, after v25.
   ============================================ */

.tbl-view-btn-close {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.tbl-view-btn-close:hover {
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.3);
}