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

body{
    min-height:100vh;
    font-family:Arial, sans-serif;
    background:radial-gradient(circle at top, #1e3a8a 0%, #0f172a 45%, #020617 100%);
    color:#0f172a;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.auth-card{
    width:100%;
    max-width:430px;
    background:rgba(255,255,255,0.96);
    border:1px solid #dbeafe;
    border-radius:22px;
    padding:36px;
    box-shadow:0 30px 80px rgba(0,0,0,0.45);
}

.auth-logo{
    text-align:center;
    margin-bottom:32px;
}

.auth-logo a{
    display:inline-block;
}

.auth-logo img{
    display:block;
    width:280px;
    max-width:100%;
    height:auto;
    margin:0 auto;
}

.auth-title{
    text-align:center;
    font-size:26px;
    color:#020617;
    margin-bottom:10px;
}

.auth-subtitle{
    text-align:center;
    color:#334155;
    line-height:1.5;
    margin-bottom:28px;
    font-size:15px;
}

.auth-error{
    background:#7f1d1d;
    color:#fecaca;
    padding:13px 14px;
    border-radius:12px;
    margin-bottom:20px;
    font-size:14px;
}
.auth-success{
    background:#dcfce7;
    color:#166534;
    padding:13px 14px;
    border-radius:12px;
    margin-bottom:20px;
    font-size:14px;
}

.auth-success a{
    color:#166534;
    font-weight:bold;
    word-break:break-all;
}

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

label{
    display:block;
    color:#020617;
    margin-bottom:8px;
    font-weight:bold;
    font-size:14px;
}

input{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid #cbd5e1;
    background:#eff6ff;
    color:#0f172a;
    font-size:16px;
}

input:focus{
    outline:none;
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,0.16);
}

button,
.auth-btn{
    width:100%;
    display:block;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#3b82f6;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    text-align:center;
    text-decoration:none;
}

button:hover,
.auth-btn:hover{
    background:#2563eb;
}

.auth-links{
    margin-top:16px;
    display:grid;
    gap:8px;
    text-align:center;
}

.auth-links a{
    color:#2563eb;
    font-size:14px;
}

.auth-footer{
    margin-top:22px;
    color:#64748b;
    font-size:12px;
    text-align:center;
}

@media(max-width:500px){
    body{
        padding:18px;
    }

    .auth-card{
        padding:28px 22px;
    }

    .auth-logo img{
        width:250px;
    }

    .auth-title{
        font-size:24px;
    }
}