body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f7fb;
}

.auth-page{
    min-height:calc(100vh - 80px);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding:50px 20px;
}

.auth-card{
    width:100%;
    max-width:460px;
    background:#fff;
    border-radius:10px;
    padding:30px;
    box-shadow:0 8px 24px rgba(0,0,0,.12);
    overflow:hidden;
    box-sizing:border-box;
}

.auth-card h2{
    margin-top:0;
    margin-bottom:20px;
    text-align:center;
}

.auth-card label{
    display:block;
    margin:12px 0 6px;
    font-weight:600;
}

.auth-card input,
.auth-card select,
.auth-card textarea,
.auth-card button{
    width:100%;
    max-width:100%;
    padding:10px;
    border:1px solid #d1d5db;
    border-radius:6px;
    box-sizing:border-box;
    display:block;
    margin:0 0 10px;
}

.auth-card button{
    margin-top:10px;
    margin-bottom:0;
    padding:11px;
    border:none;
    border-radius:6px;
    background:#3b82f6;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

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

.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    padding:20px;
}

.modal{
    width:100%;
    max-width:420px;
    background:#fff;
    padding:30px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    box-sizing:border-box;
}

.modal h3{
    margin-top:0;
    color:#3b82f6;
    font-weight:700;
}

.modal p{
    margin:10px 0;
    color:#4b5563;
    line-height:1.5;
}

.modal button{
    width:100%;
    background:#3b82f6;
    color:white;
    border:none;
    padding:11px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
}

.modal button:hover{
    background:#2563eb;
}

.auth-card a,
.modal a{
    color:#3b82f6;
    text-decoration:none;
    font-weight:600;
}

.auth-card a:hover,
.modal a:hover{
    color:#2563eb;
    text-decoration:none;
}

.success-panel{
    background:#ecfdf5;
    border:1px solid #10b981;
    border-radius:8px;
    padding:20px;
    margin-bottom:20px;
    color:#065f46;
}

.success-panel h3{
    margin-top:0;
    color:#047857;
}

.success-panel p{
    margin:8px 0;
    line-height:1.5;
}

.auth-card small{
    display:block;
    margin:-5px 0 10px;
    color:#6b7280;
}

.error{
    background:#fef2f2;
    border:1px solid #ef4444;
    color:#991b1b;
    border-radius:8px;
    padding:12px;
    margin-bottom:15px;
}