 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #fafafa;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            line-height: 1.6;
            color: #1a1a1a;
            -webkit-font-smoothing: antialiased;
        }

        .wrapper {
            width: 100%;
            max-width: 440px;
        }

        .login-card {
            background: white;
            border-radius: 16px;
            border: 1px solid #e5e5e5;
            padding: 48px 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .logo-container {
            text-align: center;
            margin-bottom: 32px;
        }

        .logo {
            width: 180px;
            height: auto;
        }

        .page-title {
            text-align: center;
            font-size: 15px;
            font-weight: 600;
            color: #666;
            margin-bottom: 32px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        /* Alert Styles */
        .alert {
            border-radius: 8px;
            padding: 14px 16px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            font-weight: 500;
        }

        .alert i {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        .alert-success {
            background: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .alert-success i {
            color: #16a34a;
        }

        .alert-error {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .alert-error i {
            color: #dc2626;
        }

        /* Profile Display */
        .profile-display {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            background: #fafafa;
            border-radius: 8px;
            margin-bottom: 20px;
            border: 1px solid #e5e5e5;
        }

        .profile-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #040669;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .profile-welcome {
            font-size: 13px;
            color: #666;
            margin-bottom: 4px;
        }

        .profile-email {
            font-size: 14px;
            font-weight: 500;
            color: #1a1a1a;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 14px;
            color: #666;
            width: 18px;
            height: 18px;
            z-index: 1;
        }

        .form-control {
            width: 100%;
            padding: 12px 14px 12px 44px;
            font-size: 14px;
            font-family: inherit;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            transition: all 0.2s ease;
            background: #fafafa;
            color: #1a1a1a;
        }

        .form-control:hover {
            background: #fff;
            border-color: #d0d0d0;
        }

        .form-control:focus {
            outline: none;
            background: #fff;
            border-color: #040669;
            box-shadow: 0 0 0 3px rgba(4, 6, 105, 0.08);
        }

        .form-control::placeholder {
            color: #999;
        }

        .password-wrapper {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #999;
            width: 18px;
            height: 18px;
            z-index: 1;
        }

        .password-toggle:hover {
            color: #666;
        }

        /* Checkbox */
        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .checkbox-input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #040669;
        }

        .checkbox-label {
            font-size: 14px;
            color: #666;
            cursor: pointer;
        }

        /* Not You Link */
        .not-you-link {
            text-align: center;
            margin: 20px 0;
        }

        .not-you-link a {
            font-size: 14px;
            color: #666;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .not-you-link a:hover {
            color: #040669;
        }

        .not-you-link span {
            color: #040669;
            font-weight: 500;
        }

        /* Submit Button */
        .btn-submit {
            width: 100%;
            padding: 14px;
            background: #040669;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            letter-spacing: -0.01em;
        }

        .btn-submit:hover {
            background: #030557;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(4, 6, 105, 0.25);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .btn-submit i {
            width: 18px;
            height: 18px;
        }

        .spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Links */
        .extra-links {
            text-align: center;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #f0f0f0;
            font-size: 14px;
        }

        .extra-links a {
            color: #666;
            text-decoration: none;
            transition: color 0.2s ease;
            font-weight: 500;
        }

        .extra-links a:hover {
            color: #040669;
        }

        .extra-links .separator {
            color: #d0d0d0;
            margin: 0 10px;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            top: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            border: 1px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .theme-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .theme-toggle i {
            color: #040669;
            width: 20px;
            height: 20px;
        }

        /* Dark Mode */
        body.dark-mode {
            background: #0f0f0f;
            color: #e5e5e5;
        }

        body.dark-mode .theme-toggle {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .theme-toggle i {
            color: #fbbf24;
        }

        body.dark-mode .login-card {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .page-title {
            color: #999;
        }

        body.dark-mode .alert-success {
            background: rgba(34, 197, 94, 0.1);
            color: #86efac;
            border-color: rgba(34, 197, 94, 0.2);
        }

        body.dark-mode .alert-error {
            background: rgba(239, 68, 68, 0.1);
            color: #fca5a5;
            border-color: rgba(239, 68, 68, 0.2);
        }

        body.dark-mode .profile-display {
            background: #0f0f0f;
            border-color: #333;
        }

        body.dark-mode .profile-welcome {
            color: #999;
        }

        body.dark-mode .profile-email {
            color: #e5e5e5;
        }

        body.dark-mode .form-group label {
            color: #e5e5e5;
        }

        body.dark-mode .input-icon {
            color: #999;
        }

        body.dark-mode .form-control {
            background: #0f0f0f;
            border-color: #333;
            color: #e5e5e5;
        }

        body.dark-mode .form-control:hover {
            background: #1a1a1a;
            border-color: #444;
        }

        body.dark-mode .form-control:focus {
            background: #1a1a1a;
            border-color: #5b6fd8;
            box-shadow: 0 0 0 3px rgba(91, 111, 216, 0.15);
        }

        body.dark-mode .form-control::placeholder {
            color: #666;
        }

        body.dark-mode .password-toggle {
            color: #999;
        }

        body.dark-mode .password-toggle:hover {
            color: #e5e5e5;
        }

        body.dark-mode .checkbox-label {
            color: #999;
        }

        body.dark-mode .not-you-link a {
            color: #999;
        }

        body.dark-mode .not-you-link a:hover {
            color: #5b6fd8;
        }

        body.dark-mode .not-you-link span {
            color: #5b6fd8;
        }

        body.dark-mode .extra-links {
            border-top-color: #333;
        }

        body.dark-mode .extra-links a {
            color: #999;
        }

        body.dark-mode .extra-links a:hover {
            color: #5b6fd8;
        }

        body.dark-mode .extra-links .separator {
            color: #444;
        }

        @media (max-width: 480px) {
            .login-card {
                padding: 40px 28px;
            }

            .logo {
                width: 150px;
            }
        }