*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#eaf3ff,#dbeafe);
}

.background{
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top left,#60cefa40,transparent 35%),
    radial-gradient(circle at bottom right,#25aceb30,transparent 40%);
    z-index:-1;
}

.login-card{
    width:430px;
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.back-btn{
    text-decoration:none;
    color:#30d5c8;
    font-size:14px;
}

.logo{
    width:100px;
    height:100px;
    margin:20px auto;
    border-radius:50%;
    background:#effcff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:40px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
h1{
    text-align:center;
    color:#1e7d8a;
}

.subtitle{
    margin:15px 0 30px;
    text-align:center;
    color:#64748b;
    line-height:1.6;
}

.google-btn{
    width:100%;
    height:55px;
    border:2px solid #e2e8f0;
    background:#fff;
    border-radius:14px;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    font-size:16px;
    font-weight:600;

    transition:.3s;
}

.google-btn:hover{
    background:#f8fafc;
    border-color:#cbd5e1;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.google-btn svg{
    width:24px;
    height:24px;
}

.divider{
    display:flex;
    align-items:center;
    margin:25px 0;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#e2e8f0;
}

.divider span{
    padding:0 15px;
    color:#94a3b8;
}

input{
    width:100%;
    height:52px;
    margin-bottom:15px;
    padding:0 16px;
    border:2px solid #e2e8f0;
    border-radius:12px;
    font-size:15px;
    outline:none;
}

input:focus{
    border-color:#4ecec3;
}

.primary-btn{
    width:100%;
    height:55px;
    border:none;
    border-radius:12px;
    background:#4ecec3;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.primary-btn:hover{
    background:#1db3d8;
}

.switch-text{
    margin-top:18px;
    text-align:center;
    color:#64748b;
}

.switch-text span{
    color:#4ecec3;
    font-weight:600;
    cursor:pointer;
}

.switch-text span:hover{
    text-decoration:underline;
}

.hidden{
    display:none;
}

@media(max-width:480px){

.login-card{
    width:92%;
    padding:30px 25px;
}

}



.login-form,
.register-form{
    animation:fade .35s ease;
}

@keyframes fade{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}