
    /* ========= PREMIUM MINIMALIST LOGIN PAGE ========= */

    .login-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: calc(100vh - 120px);
        padding: 40px 20px;
        width: 100%;
        background-color: #f8fafc; /* Soft background to match the screen */
    }

    .login-card {
        position: relative;
        background: #ffffff;
        border-radius: 24px; /* Matches the clean rounded design in image */
        padding: 40px 32px;
        width: 100%;
        max-width: 440px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
        border: 1px solid #f1f5f9;
        box-sizing: border-box;
        animation: loginReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .login-header {
        text-align: left; /* Left-aligned header text matching image */
        margin-bottom: 30px;
    }

    .login-title {
        font-size: 2.2rem;
        font-weight: 800;
        color: #090d16;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }

    .login-subtitle {
        font-size: 0.95rem;
        color: #64748b;
        font-weight: 500;
        line-height: 1.5;
    }

    .form-group-custom { 
        margin-bottom: 22px; 
    }

    .form-label-custom {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: #090d16;
        margin-bottom: 10px;
    }

    .input-wrapper { 
        position: relative; 
    }

    .input-custom {
        width: 100%;
        height: 54px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 18px;
        font-size: 1rem;
        font-weight: 500;
        color: #0f172a;
        transition: all 0.2s ease-in-out;
        outline: none;
        box-sizing: border-box;
    }

    .input-custom::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    .input-custom:focus {
        border-color: var(--theme-color, #703fec);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color, #703fec) 12%, transparent);
    }

    /* Minimal Password Toggle Icon on Right */
    .password-toggle {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        cursor: pointer;
        transition: color 0.2s;
        font-size: 1rem;
    }
    .password-toggle:hover {
        color: var(--theme-color, #703fec);
    }

    .submit-btn {
        width: 100%;
        height: 54px;
        background: var(--theme-color, #703fec);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-color, #703fec) 30%, transparent);
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .submit-btn:hover {
        transform: translateY(-1px);
        filter: brightness(108%);
    }

    .login-separator {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #090d16;
        font-size: 0.95rem;
        font-weight: 600;
        margin: 28px 0;
    }
    .login-separator::before,
    .login-separator::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e2e8f0;
    }

    .google-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 54px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    .google-btn:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

    .error-alert {
        background: #fee2e2;
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 0.82rem;
        font-weight: 700;
        color: #dc2626;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-left: 3px solid #ef4444;
    }

    .bottom-links {
        text-align: center;
        margin-top: 28px;
    }
    .bottom-links a {
        color: #000000;
        text-decoration: none;
        font-weight: 800;
    }
    .bottom-links a:hover {
        text-decoration: underline;
    }

    .register-text {
        color: #000000;
        font-size: 1rem;
        font-weight: 700;
    }

    @media (max-width: 640px) {
        .login-container {
            padding: 16px;
            min-height: calc(100vh - 80px);
        }
        .login-card {
            border-radius: 20px;
            padding: 32px 24px;
        }
        .login-title {
            font-size: 1.8rem;
        }
        .login-subtitle {
            font-size: 0.9rem;
        }
    }
