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

body{
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(180deg,#fafbfc 0%,#f2f4f7 100%);
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:20px;
}

.login-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
}

.login-card{
    width:420px;
    max-width:100%;
    background:#fff;
    padding:40px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 10px 25px -5px rgba(0,0,0,.05), 0 8px 10px -6px rgba(0,0,0,.05);
}

.logo{
    width:220px;
    height:auto;
    display:block;
    margin:0 auto 28px;
}

.login-card h1{
    text-align:left;
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
    color:#111827;
}

.login-card p{
    text-align:left;
    color:#6b7280;
    margin-bottom:32px;
    line-height:1.55;
}

#loginForm,
#registerForm,
#loginAtletaForm,
#cadastroAtletaForm{
    display:flex;
    flex-direction:column;
    gap:18px;
}

#loginForm input,
#registerForm input,
#loginAtletaForm input,
#cadastroAtletaForm input{
    width:100%;
    padding:14px 16px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:16px;
    outline:none;
    transition:.2s;
}

#loginForm input:focus,
#registerForm input:focus,
#loginAtletaForm input:focus,
#cadastroAtletaForm input:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

#loginForm button,
#registerForm button,
#loginAtletaForm button,
#cadastroAtletaForm button{
    width:100%;
    padding:15px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

#loginForm button:hover,
#registerForm button:hover,
#loginAtletaForm button:hover,
#cadastroAtletaForm button:hover{
    background:#1d4ed8;
}

.auth-tabs{
    display:flex;
    gap:4px;
    margin-bottom:30px;
    background:#f1f5f9;
    padding:5px;
    border-radius:12px;
}

.auth-tab{
    flex:1;
    padding:11px;
    border:none;
    background:transparent;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    color:#94a3b8;
    cursor:pointer;
    transition:.2s;
}

.auth-tab:hover:not(.active){
    color:#475569;
}

.auth-tab.active{
    background:#fff;
    color:#111827;
    font-weight:700;
    box-shadow:0 2px 8px rgba(15,23,42,.1);
}

.btn-secundario{
    width:100%;
    padding:15px;
    background:transparent;
    color:#2563eb;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.btn-secundario:hover{
    background:#f5f7fb;
}

.login-card a{
    display:block;
    text-align:center;
    margin-top:18px;
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.login-card a:hover{
    text-decoration:underline;
}

.hidden{
    display:none!important;
}

#forgotPasswordLink{
    margin-top:18px;
    font-size:14px;
}

#forgotPasswordForm{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:10px;
}

#forgotPasswordForm input{
    width:100%;
    padding:14px 16px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:16px;
    outline:none;
    transition:.2s;
}

#forgotPasswordForm input:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

#forgotPasswordForm button{
    width:100%;
    padding:15px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

#forgotPasswordForm button:hover{
    background:#1d4ed8;
}

.forgot-text{
    font-size:14px;
    color:#4b5563;
    line-height:1.5;
    margin:0;
}

.forgot-message{
    text-align:center;
    font-size:14px;
    font-weight:600;
    margin-top:14px;
    padding:12px;
    border-radius:12px;
}

.forgot-message.success{
    background:#dcfce7;
    color:#166534;
}

.forgot-message.error{
    background:#fee2e2;
    color:#b91c1c;
}

@media (max-width:480px){
    .login-card{
        width:100%;
        padding:30px 24px;
    }

    .logo{
        width:180px;
    }

    .login-card h1{
        font-size:28px;
    }
}