/* ===========================
   FundsIQ Login Page
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0f172a;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    color:#fff;
    padding:20px;
}

.auth-container{
    width:100%;
    max-width:420px;
    background:#1e293b;
    padding:35px 28px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
    animation:fadeIn .5s ease;
}

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

.logo{
    width:75px;
    height:75px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:36px;
    box-shadow:0 10px 25px rgba(37,99,235,.35);
}

h1{
    text-align:center;
    font-size:36px;
    font-weight:800;
    margin-bottom:8px;
}

.subtitle{
    text-align:center;
    color:#94a3b8;
    font-size:15px;
    line-height:1.5;
    margin-bottom:30px;
}

.input-group{
    margin-bottom:18px;
}

input{
    width:100%;
    padding:16px;
    border-radius:14px;
    border:2px solid transparent;
    background:#334155;
    color:#fff;
    font-size:16px;
    transition:.25s;
}

input::placeholder{
    color:#94a3b8;
}

input:focus{
    background:#1f2937;
    border-color:#2563eb;
}

.forgot{
    display:block;
    text-align:right;
    margin:12px 0 24px;
    color:#3b82f6;
    text-decoration:none;
    font-size:14px;
    transition:.25s;
}

.forgot:hover{
    color:#60a5fa;
}

.login-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:14px;
    background:#2563eb;
    color:#fff;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.login-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

.login-btn:active{
    transform:scale(.98);
}

.login-btn:disabled{
    background:#475569;
    cursor:not-allowed;
    opacity:.8;
    transform:none;
}

.divider{
    display:flex;
    align-items:center;
    gap:15px;
    margin:28px 0;
    color:#94a3b8;
    font-size:14px;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#475569;
}

.google-btn{
    width:100%;
    padding:15px;
    border-radius:14px;
    border:1px solid #475569;
    background:transparent;
    color:#fff;
    font-size:16px;
    cursor:pointer;
    transition:.25s;
}

.google-btn:hover{
    background:#334155;
}

.signup{
    margin-top:28px;
    text-align:center;
    color:#94a3b8;
    font-size:15px;
}

.signup a{
    color:#8b5cf6;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.signup a:hover{
    color:#a78bfa;
}

/* ===========================
   Toast Notification
=========================== */

.toast{
    position:fixed;
    left:50%;
    bottom:30px;
    transform:translateX(-50%) translateY(20px);
    min-width:260px;
    max-width:90%;
    padding:15px 20px;
    border-radius:14px;
    text-align:center;
    font-size:15px;
    font-weight:600;
    color:#fff;
    opacity:0;
    visibility:hidden;
    transition:all .3s ease;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.toast.show{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

.toast.success{
    background:#22c55e;
}

.toast.error{
    background:#ef4444;
}

.toast.warning{
    background:#f59e0b;
}

/* ===========================
   Mobile
=========================== */

@media(max-width:480px){

    .auth-container{
        padding:30px 22px;
    }

    h1{
        font-size:32px;
    }

    .logo{
        width:65px;
        height:65px;
        font-size:30px;
    }

}
