/* Modern Dating App Design System - Based on Figma Export */

/* Tailwind Configuration & CSS Variables */
:root {
  --font-size: 14px;
  --background: #fafafa;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #e91e63;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #f5f5f5;
  --muted-foreground: #717182;
  --accent: #ff6b9d;
  --accent-foreground: #ffffff;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f8f9fa;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --radius: 0.75rem;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --primary: #ff6b9d;
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --accent: #e91e63;
  --accent-foreground: oklch(0.985 0 0);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
}

html, body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size);
    background-color: var(--background);
}

/* ===== Admin Dashboard Styles ===== */
.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-title i {
    font-size: 2rem;
    color: var(--primary);
}

.admin-title h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    gap: 1rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(233, 30, 99, 0.2);
    border-top-color: #e91e63;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.15);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fef2f2;
    border: 1px solid var(--destructive);
    border-radius: var(--radius);
    color: var(--destructive);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card.primary { border-left: 4px solid var(--primary); }
.stat-card.success { border-left: 4px solid #10b981; }
.stat-card.warning { border-left: 4px solid #f59e0b; }
.stat-card.info { border-left: 4px solid #3b82f6; }

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 1.75rem;
}

.stat-card.primary .stat-icon { background: rgba(233, 30, 99, 0.1); color: var(--primary); }
.stat-card.success .stat-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-card.info .stat-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.stat-content h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-content p {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.filters-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-box i {
    color: var(--muted-foreground);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.filter-select {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

.users-section {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.users-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.users-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.users-table {
    overflow-x: auto;
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table thead {
    background: var(--muted);
}

.users-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.users-table td {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.users-table tbody tr {
    transition: background-color 0.15s;
}

.users-table tbody tr:hover {
    background: var(--muted);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-info strong {
    font-weight: 600;
    color: var(--foreground);
}

.user-email {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.plan-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

.plan-badge.free {
    background: #f3f4f6;
    color: #6b7280;
}

.plan-badge.beta {
    background: #d1fae5;
    color: #065f46;
}

.plan-badge.unlimited {
    background: #fef3c7;
    color: #92400e;
}

.plan-badge.premium {
    background: #fce7f3;
    color: #be185d;
}

.usage-bar {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 28px;
    background: var(--muted);
    border-radius: 9999px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.usage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    z-index: 1;
}

.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.admin {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.beta {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.unlimited {
    background: #fef3c7;
    color: #92400e;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.date-time {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-action.view {
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-action.view:hover:not(:disabled) {
    background: #dbeafe;
}

.btn-action.impersonate {
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.btn-action.impersonate:hover:not(:disabled) {
    background: #ede9fe;
}

.btn-action.beta {
    color: #10b981;
    border-color: #10b981;
}

.btn-action.beta:hover:not(:disabled) {
    background: #d1fae5;
}

.btn-action.unlimited {
    color: #f59e0b;
    border-color: #f59e0b;
}

.btn-action.unlimited:hover:not(:disabled) {
    background: #fef3c7;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--muted);
    color: var(--foreground);
}

.modal-body {
    padding: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.details-section h4 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    font-weight: 600;
    color: var(--muted-foreground);
}

.detail-value {
    color: var(--foreground);
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--muted);
}

.btn-modal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal.impersonate {
    background: #8b5cf6;
    color: white;
}

.btn-modal.impersonate:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-modal.beta {
    background: #10b981;
    color: white;
}

.btn-modal.beta:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-modal.unlimited {
    background: #f59e0b;
    color: white;
}

.btn-modal.unlimited:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-modal.danger {
    background: var(--destructive);
    color: white;
}

.btn-modal.danger:hover {
    background: #b91c3c;
    transform: translateY(-2px);
}

.btn-modal.secondary {
    background: var(--muted);
    color: var(--foreground);
}

.btn-modal.secondary:hover {
    background: var(--border);
}

@media (max-width: 768px) {
    .admin-dashboard {
        padding: 1rem;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .filters-section {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .users-table {
        font-size: 0.875rem;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== End Admin Dashboard Styles ===== */

html, body {
    color: var(--foreground);
}

/* Dating App Custom Gradients & Animations */
.gradient-romantic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-sunset {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-ocean {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-rose {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
}

.gradient-steel {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
}

.gradient-tech {
    background: linear-gradient(135deg, #0c0c0c 0%, #434343 100%);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Custom styles for Date Night Planner */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
            text-decoration: underline;
        }

        .top-row ::deep a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row ::deep a, .top-row ::deep .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Tag Input Component */
.tag-input-container {
    margin-bottom: 1rem;
}

.tag-list {
    min-height: 38px;
    padding: 0.375rem 0;
}

.badge .btn-close {
    font-size: 0.5rem;
    margin-left: 0.25rem;
}

/* Focus Management - Better UX for Login Redirects */
/* Remove default browser focus outline on brand/logo elements */
.brand-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5) !important;
    border-radius: 0.375rem;
}

/* Prevent unwanted focus rings on decorative headings */
h1:not([tabindex]):not([role="button"]):not([onclick]),
h1[tabindex="-1"] {
    outline: none !important;
}

/* Prevent focus rings on any heading that gets auto-focus after login */
h1, h2, h3, h4, h5, h6 {
    outline: none !important;
}

/* Re-enable focus for interactive headings only when using keyboard navigation */
h1[role="button"]:focus-visible,
h2[role="button"]:focus-visible,
h3[role="button"]:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.6);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Ensure accessibility for actual interactive elements */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(139, 92, 246, 0.6);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Focus visible only when navigating with keyboard */
.focus-visible-only:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Fade-in animation for tab content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-in-out;
}

/* ===== Navigation Menu Active State Fix ===== */
/* Force active navigation items to have visible text on colored background */
nav a.active,
nav a[href].active {
    background: linear-gradient(to right, rgb(236, 72, 153), rgb(139, 92, 246)) !important;
}

nav a.active span,
nav a[href].active span {
    color: white !important;
}

nav a.active i,
nav a[href].active i {
    color: white !important;
}

nav a.active .text-gray-700,
nav a[href].active .text-gray-700 {
    color: white !important;
}

/* Prevent hover from overriding active state */
nav a.active:hover,
nav a[href].active:hover {
    background: linear-gradient(to right, rgb(236, 72, 153), rgb(139, 92, 246)) !important;
}
