  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .auth-container {
            width: 100%;
            max-width: 480px;
            animation: fadeIn 0.6s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .auth-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .auth-header {
            padding: 40px 30px 20px;
            text-align: center;
            background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .logo-wrapper {
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

    .logo-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Logo proper ratio me rahe */
        }
        .auth-header h2 {
            color: #1e293b;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .auth-header p {
            color: #64748b;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
            max-width: 280px;
            margin: 0 auto;
        }

        .auth-body {
            padding: 30px;
        }

        /* Alert Styles */
        .alert {
            padding: 16px 20px;
            border-radius: 16px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            font-weight: 500;
            animation: slideDown 0.4s ease;
            border: 1px solid transparent;
        }

        .alert i {
            font-size: 18px;
        }

        .alert-danger {
            background: #fef2f2;
            color: #b91c1c;
            border-color: #fee2e2;
        }

        .alert-success {
            background: #f0fdf4;
            color: #166534;
            border-color: #dcfce7;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Tabs */
        .auth-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 30px;
            padding: 4px;
            background: #f1f5f9;
            border-radius: 16px;
        }

        .auth-tab {
            flex: 1;
            padding: 12px 16px;
            border: none;
            background: transparent;
            color: #64748b;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .auth-tab i {
            font-size: 16px;
        }

        .auth-tab.active {
            background: white;
            color: #4361ee;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
        }

        .auth-tab:hover:not(.active) {
            color: #334155;
            background: rgba(255, 255, 255, 0.5);
        }

        /* Form Styles */
        .auth-form {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .auth-form.active {
            display: block;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
        }

        .form-group label i {
            color: #4361ee;
            font-size: 14px;
            width: 18px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i.input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .form-control {
            width: 100%;
            padding: 14px 16px 14px 48px;
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            font-size: 15px;
            font-family: 'Inter', sans-serif;
            color: #1e293b;
            transition: all 0.3s ease;
            background: white;
        }

        .form-control:focus {
            outline: none;
            border-color: #4361ee;
            box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
        }

        .form-control::placeholder {
            color: #94a3b8;
            font-size: 14px;
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            cursor: pointer;
            transition: color 0.3s ease;
            font-size: 18px;
        }

        .toggle-password:hover {
            color: #4361ee;
        }

        /* Button Styles */
        .btn-auth {
            width: 100%;
            padding: 16px 24px;
            background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
        }

        .btn-auth:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
        }

        .btn-auth:active {
            transform: translateY(0);
        }

        .btn-auth i {
            font-size: 18px;
        }

        /* Footer */
        .auth-footer {
            text-align: center;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 2px solid #f1f5f9;
        }

        .auth-footer p {
            color: #64748b;
            font-size: 13px;
            font-weight: 400;
            margin-bottom: 8px;
        }

        .auth-footer .toggle-link {
            color: #4361ee;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 30px;
            background: #f8fafc;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .auth-footer .toggle-link:hover {
            background: #f1f5f9;
            color: #3a56d4;
        }

        .auth-footer .toggle-link i {
            font-size: 14px;
        }

        /* Minimal Popup Overlay */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.2s ease;
        }

        /* Minimal Popup Container */
        .popup-container {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 360px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            animation: slideUp 0.3s ease;
            overflow: hidden;
        }

        /* Minimal Popup Header */
        .popup-header {
            background: #4361ee;
            padding: 25px 20px 15px;
            text-align: center;
            color: white;
        }

        .popup-header i {
            font-size: 40px;
            margin-bottom: 10px;
            background: rgba(255, 255, 255, 0.2);
            width: 70px;
            height: 70px;
            line-height: 70px;
            border-radius: 50%;
            display: inline-block;
        }

        .popup-header h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .popup-header p {
            font-size: 14px;
            opacity: 0.9;
        }

        /* Minimal Popup Content */
        .popup-content {
            padding: 25px 20px;
            text-align: center;
        }

        .popup-message {
            margin-bottom: 25px;
        }

        .popup-message p {
            color: #1e293b;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .admin-badge {
            background: #f1f5f9;
            padding: 12px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #4361ee;
            font-weight: 600;
            font-size: 15px;
        }

        .admin-badge i {
            font-size: 18px;
        }

        /* Minimal Popup Footer */
        .popup-footer {
            text-align: center;
        }

        .close-btn {
            background: #f1f5f9;
            color: #64748b;
            border: none;
            padding: 14px 30px;
            border-radius: 40px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
        }

        .close-btn:hover {
            background: #e2e8f0;
            color: #334155;
        }

        .close-btn i {
            font-size: 16px;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .popup-header {
                padding: 20px 15px;
            }
            
            .popup-header i {
                width: 60px;
                height: 60px;
                line-height: 60px;
                font-size: 30px;
            }
            
            .popup-header h3 {
                font-size: 18px;
            }
            
            .popup-content {
                padding: 20px 15px;
            }
            
            .popup-message p {
                font-size: 15px;
            }
            
            .admin-badge {
                font-size: 14px;
                padding: 10px;
            }
            
            .close-btn {
                padding: 12px 25px;
                font-size: 14px;
            }
        }

        /* Loading state for button */
        .btn-auth.loading {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .btn-auth.loading i {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            .btn-auth,
            .auth-tab,
            .toggle-password,
            .close-btn {
                min-height: 48px;
            }

            .form-control {
                font-size: 16px;
            }
        }