
        :root {
            --primary: #9333ea;
            --secondary: #a5b4fc;
            --dark-bg: #0d0d1f;
            --dark-secondary: #1a0033;
            --text-primary: #e0e0ff;
            --text-secondary: #d8b4fe;
            --success: #22c55e;
            --accent: #ff6b6b;
            --card-bg: rgba(17, 24, 39, 0.8);
        }
    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }
    
        body {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
            color: var(--text-primary);
            line-height: 1.6;
            position: relative;
            overflow-x: hidden;
        }
    
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1), transparent 70%);
            z-index: -1;
            animation: pulse 15s infinite;
        }
    
        @keyframes pulse {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.6; transform: scale(1.05); }
        }
    
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(49, 46, 129, 0.9));
            padding: 1rem 2rem;
            backdrop-filter: blur(12px) saturate(120%);
            box-shadow: 0 4px 20px rgba(147, 51, 234, 0.2);
            opacity: 0;
            transform: translateY(-20px);
            animation: navbarEnter 0.5s ease 0.2s forwards;
        }
    
        @keyframes navbarEnter {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        .nav-links {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }
    
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
    
        .nav-links a:hover {
            color: var(--text-primary);
            background: rgba(147, 51, 234, 0.2);
            transform: translateY(-2px);
        }

        .avatar-container {
            display: flex;
            align-items: center;
        }

        .avatar-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary);
            transition: transform 0.3s ease;
        }

        .avatar-img:hover {
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .avatar-img {
                width: 35px;
                height: 35px;
            }
        }

        @media (max-width: 480px) {
            .avatar-img {
                width: 30px;
                height: 30px;
            }
        }
    
        .container {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 2rem;
            background: var(--card-bg);
            border: 1px solid rgba(147, 51, 234, 0.2);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
            transition: transform 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: containerEnter 0.5s ease forwards;
        }
        
        .dashboard-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        
        @media (min-width: 1024px) {
            .dashboard-grid {
                flex-direction: row;
                gap: 2rem;
            }
            
            .left-column {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 0 0 350px;
}

            
            .right-column {
                flex: 1;
                min-width: 0;
            }
        }
        
        .profile-card, .stats-card, .update-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin: 1.5rem 0;
        }
    
        @keyframes containerEnter {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        .container:hover {
            transform: translateY(-5px);
        }
    
        input {
            width: 100%;
            padding: 0.8rem 1.2rem;
            margin: 0.5rem 0;
            background: rgba(49, 46, 129, 0.3);
            border: none;
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 1rem;
            transition: all 0.3s ease, transform 0.2s ease-in-out;
        }
    
        input:hover {
            transform: scale(1.02);
        }
    
        input:focus {
            outline: none;
            box-shadow: 0 0 12px rgba(147, 51, 234, 0.4);
            background: rgba(49, 46, 129, 0.5);
        }
    
        button {
            width: 100%;
            padding: 0.8rem;
            margin: 0.5rem 0;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border: none;
            border-radius: 8px;
            color: #fff;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
    
        button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
    
        button:hover:not(.loading) {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
        }
    
        button:hover:not(.loading)::before {
            width: 300%;
            height: 300%;
        }
    
        button.loading {
            cursor: not-allowed;
            opacity: 0.7;
        }
    
        button.loading::after {
            content: "⏳";
            position: absolute;
            right: 15px;
            animation: spin 1s linear infinite;
        }
    
        @keyframes spin {
            100% { transform: rotate(360deg); }
        }
    
        .google-btn {
            background: linear-gradient(135deg, #db4437, #c1351a);
        }
    
        #accountDashboard {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
        }
    
        #accountDashboard h2 {
            grid-column: span 2;
            font-size: 2rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 12px rgba(147, 51, 234, 0.3);
            margin-bottom: 1.5rem;
        }
    
        .profile-card, .stats-card, .update-card {
            background: rgba(17, 24, 39, 0.9);
            padding: 1.5rem;
            border-radius: 10px;
            border: 1px solid rgba(147, 51, 234, 0.2);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        }
    
        .profile-card h3, .stats-card h3, .update-card h3 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
    
        .profile-card p, .stats-card p {
            font-size: 1rem;
            color: var(--text-secondary);
            margin: 0.5rem 0;
        }
    
        .profile-card span, .stats-card span {
            color: var(--text-primary);
            font-weight: 500;
        }
    
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
    
        .stat-item {
            background: rgba(49, 46, 129, 0.2);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
        }
    
        .stat-item span {
            display: block;
            font-size: 1.5rem;
            color: var(--accent);
        }
    
        .logout-btn {
            background: linear-gradient(135deg, #ff6b6b, #c0392b);
            margin-top: 1rem;
        }

        .delete-btn {
            background: linear-gradient(135deg, #ff4444, #cc0000);
            margin-top: 1rem;
            position: relative;
            overflow: hidden;
        }

        .delete-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
        }

        .delete-btn::after {
            content: "⚠️";
            position: absolute;
            right: 15px;
            animation: pulseWarning 1.5s infinite;
        }

        @keyframes pulseWarning {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }
    
        @media (max-width: 1024px) {
    .left-column {
        max-width: 100%;
        padding: 0 1rem;
    }
    .stats-card, .profile-card, .update-card {
        width: 100%;
    }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }
            
            .profile-card, .stats-card, .update-card {
                margin: 1rem 0;
            }
            
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .container {
                max-width: 95%;
                padding: 1.25rem;
            }
            
            .navbar {
                padding: 0.75rem 1rem;
            }
            
            .nav-links {
                gap: 0.75rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .profile-card, .stats-card, .update-card {
                padding: 1.25rem;
            }
        }
    
        @media (max-width: 768px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
            
            .analytics-row {
                flex-direction: column;
            }
            
            .analytics-col {
                width: 100%;
                margin-bottom: 1.5rem;
            }
            
            .analytics-col:last-child {
                margin-bottom: 0;
            }
        }
        
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            button, input {
                font-size: 0.9rem;
                padding: 0.8rem;
            }
            
            .profile-card, .stats-card, .update-card {
                padding: 1rem;
            }
            
            .container {
                padding: 1rem;
            }
        }

        /* Password Container Styles */
        .password-container {
            position: relative;
            width: 100%;
            margin-bottom: 15px;
        }

        .auth-form input[type="password"],
        .auth-form input[type="text"] {
            padding: 12px 40px 12px 15px;
            margin-bottom: 0;
            border: 1px solid #4a5568;
            border-radius: 8px;
            background-color: #2d3748;
            color: white;
            width: 100%;
            box-sizing: border-box;
            transition: border-color 0.3s;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #a0aec0;
            user-select: none;
        }

        .toggle-password:hover {
            color: #ffffff;
        }

        /* Dialog Styles */
        .dialog-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .dialog-content {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            border: 1px solid var(--primary);
            animation: dialogEnter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes dialogEnter {
            from { transform: scale(0.95); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .dialog-actions {
            margin-top: 1.5rem;
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
        }

        .dialog-input {
            width: 100%;
            margin: 1rem 0;
        }

        /* Notification Styles */
        .notification-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1100;
        }

        .notification-content {
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            border: 1px solid var(--primary);
            animation: dialogEnter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
        }

        .notification-content.success {
            border-color: var(--success);
        }

        .notification-content.error {
            border-color: var(--accent);
        }

        .notification-content.info {
            border-color: var(--secondary);
        }

        .notification-content h3 {
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .notification-content.success h3 {
            color: var(--success);
        }

        .notification-content.error h3 {
            color: var(--accent);
        }

        .notification-content.info h3 {
            color: var(--secondary);
        }

        .notification-content p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .secondary-btn {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .secondary-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        /* Enhanced Auth Form Transitions */
        .auth-form {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.4s ease, transform 0.4s ease;
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
        }

        .auth-form.active-form {
            opacity: 1;
            transform: translateY(0);
            position: relative;
        }

        #auth-container {
            position: relative;
            overflow: hidden;
            min-height: 450px;
        }
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 60, 0.9) 0%, rgba(0, 0, 20, 0.95) 100%);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: var(--bg-primary);
            margin: 15% auto;
            padding: 2rem;
            border-radius: 10px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            position: relative;
            color: var(--text-primary);
        }

        .close {
            position: absolute;
            right: 1.5rem;
            top: 1rem;
            font-size: 1.5rem;
            font-weight: bold;
            cursor: pointer;
            color: var(--text-secondary);
        }

        .close:hover {
            color: var(--accent);
        }

        .modal h2 {
            margin-top: 0;
            color: var(--accent);
        }

        .modal p {
            margin: 1rem 0;
            color: var(--text-secondary);
        }

        .modal input[type="email"] {
            width: 100%;
            padding: 0.75rem;
            margin: 0.5rem 0 1rem;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            background-color: var(--bg-secondary);
            color: var(--text-primary);
            font-size: 1rem;
        }

        .error-message {
            color: #ff4d4d !important;
            margin: 0.5rem 0 !important;
            font-size: 0.9rem;
            display: none;
        }

        .success-message {
            color: #4CAF50 !important;
            margin: 0.5rem 0 !important;
            font-size: 0.9rem;
            display: none;
        }

        .primary-btn {
            background-color: var(--accent);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            font-size: 1rem;
            transition: background-color 0.3s;
        }

        .primary-btn:hover {
            background-color: #7c3aed;
        }

        .primary-btn:disabled {
            background-color: #a78bfa;
            cursor: not-allowed;
        }

        /* Notification Styles */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 5px;
            color: white;
            font-weight: 500;
            z-index: 1001;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateX(120%);
            transition: transform 0.3s ease-in-out;
            max-width: 350px;
        }

        .notification.success {
            background-color: #10b981;
            border-left: 4px solid #059669;
        }

        .notification.error {
            background-color: #ef4444;
            border-left: 4px solid #dc2626;
        }

        .notification.info {
            background-color: #3b82f6;
            border-left: 4px solid #2563eb;
        }

        .notification.warning {
            background-color: #f59e0b;
            border-left: 4px solid #d97706;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.fade-out {
            animation: fadeOut 0.3s forwards;
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateX(120%);
            }
        }
        /* ================================
   Auth Page Styles (auth.css)
   ================================ */

/* Auth forms */
.auth-form {
  display: none;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--bg-primary);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.auth-form.active-form {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.auth-form input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
}

.auth-form button {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 5px;
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.auth-form button:hover {
  background-color: #7c3aed;
}

.google-btn {
  background-color: #db4437 !important;
  color: #fff !important;
}

.google-btn:hover {
  background-color: #c1351d !important;
}

/* Password container */
.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.eye-icon {
  font-size: 1rem;
}

/* ================================
   Modal Styles
   ================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 60, 0.9) 0%,
    rgba(0, 0, 20, 0.95) 100%
  );
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--bg-primary);
  margin: 15% auto;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  color: var(--text-primary);
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-secondary);
}

.close:hover {
  color: var(--accent);
}

.modal h2 {
  margin-top: 0;
  color: var(--accent);
}

.modal p {
  margin: 1rem 0;
  color: var(--text-secondary);
}

.modal input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
}

.error-message {
  color: #ff4d4d !important;
  margin: 0.5rem 0 !important;
  font-size: 0.9rem;
  display: none;
}

.success-message {
  color: #4caf50 !important;
  margin: 0.5rem 0 !important;
  font-size: 0.9rem;
  display: none;
}

.primary-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.primary-btn:hover {
  background-color: #7c3aed;
}

.primary-btn:disabled {
  background-color: #a78bfa;
  cursor: not-allowed;
}

/* ================================
   Notification Styles
   ================================ */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  max-width: 350px;
}

.notification.success {
  background-color: #10b981;
  border-left: 4px solid #059669;
}

.notification.error {
  background-color: #ef4444;
  border-left: 4px solid #dc2626;
}

.notification.info {
  background-color: #3b82f6;
  border-left: 4px solid #2563eb;
}

.notification.warning {
  background-color: #f59e0b;
  border-left: 4px solid #d97706;
}

.notification.show {
  transform: translateX(0);
}

.notification.fade-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}
/* Responsive */
@media (max-width: 480px) {
  .auth-form {
    padding: 1.5rem;
  }

  .modal-content {
    margin: 30% auto;
    padding: 1.5rem;
  }
}
    