*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#1f3556;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    color:white;
}

.main{
    text-align:center;
}

.logo-circle{
    width:80px;
    height:80px;
    background:#f4a621;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    font-size:28px;
    margin:0 auto 15px;
}

h1{
    font-size:32px;
    margin-bottom:5px;
}

.subtitle{
    opacity:0.8;
    margin-bottom:30px;
}

.card{
    background:#f4f5f7;
    color:black;
    padding:35px;
    border-radius:20px;
    width:480px;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
    text-align:left;
}

.row{
    display:flex;
    gap:15px;
    margin-bottom:15px;
}

.field{
    flex:1;
}

label{
    font-size:14px;
    font-weight:500;
    display:block;
    margin-bottom:5px;
}

input{
    width:100%;
    padding:10px;
    border-radius:8px;
    border:1px solid #ccc;
}

.btn-primary{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#f4a621;
    color:white;
    font-weight:600;
    cursor:pointer;
    margin-top:15px;
}

.switch{
    text-align:center;
    margin-top:15px;
    font-size:14px;
}

.switch a{
    color:#1f3556;
    font-weight:600;
    text-decoration:none;
}

/* POPUP */
#alertBox{
    position:fixed;
    top:-120px;
    left:50%;
    transform:translateX(-50%);
    background:#e74c3c;
    color:white;
    padding:15px 35px;
    border-radius:10px;
    transition:top 0.5s ease;
    z-index:9999;
}

.password-rules {
    margin-top:10px;
    font-size:13px;
}

.password-rules p {
    margin:3px 0;
    color:#888;
    transition:0.3s;
}

.password-rules .valid {
    color:green;
    font-weight:500;
}

/* ===== POPUP ERROR ===== */
#alertBox {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: top 0.5s ease;
    z-index: 9999;
}

/* ===== POPUP SUCCESS ===== */
#successBox {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: #27ae60;
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: top 0.5s ease;
    z-index: 9999;
}