body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh; /* FIX */
    padding: 20px;
    text-align: center;
    background-color: #3dafa5;
    overflow: hidden; /* optional, prevents micro-scroll */
}

html, body {
    margin: 0;
    padding: 0;
}


.login-note {
    font-size: 0.75rem;
    color: #280841;
    margin-top: 1.5rem;
    text-align: center;
}


.login-card {
    width: 100%;
    max-width: 400px;   /* keeps your desktop look */
    margin: 1.5rem;     /* prevents edge-to-edge on small screens */
    padding: 2.6rem;
    border-radius: 20px;
    background: #6e3c95;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.12),
        0 12px 28px rgba(0, 0, 0, 0.18);
    animation: fadeIn 0.45s ease-out;    
}

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

.logo {
    width: 100%;
    display: block;
    margin: 0 auto 1.4rem;
    border: 10px solid #56A69E;
    border-radius: 10px;
    overflow: hidden; 
}

.login-title {
    font-size: 1.55rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.8rem;
    color: #F5F2F2;
}

.login-subtext {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.8rem;
    color: #cca4eb;
}

/*  buttons */
.provider-btn {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    padding: 0.85rem;
    border-radius: 12px;

    /* Neutral outline instead of primary */
    border: 2px solid #444;
    color: #222;
    /*background: transparent;*/
    background-color: #F5F2F2;

    text-decoration: none !important;
    transition: all 0.15s ease;
}

.provider-btn:hover {
    background: #444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


.provider-icon {
    width: 22px;
    height: 22px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.8rem;
        border-radius: 16px;
        box-shadow:
            0 6px 18px rgba(0,0,0,0.22),
            0 14px 32px rgba(0,0,0,0.28);
    }

    .logo {
        border-width: 6px;
    }
}
