
*{
    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:#ffffff;
    padding:40px 20px;
}

.container{
    width:100%;
    max-width:780px;
    background:#980000;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:30px;
    padding:40px 45px;
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
}

.top-accent-line{
    width:60px;
    height:4px;
    background:#fff;
    border-radius:10px;
    margin:0 auto 25px;
}

.logo-header{
    text-align:center;
    margin-bottom:28px;
}

.logo-header img{
    width:80px;
    margin-bottom:10px;
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.logo-header h2{
    color:#fff;
    font-size:26px;
    font-weight:700;
    line-height:1.2;
}

.logo-header p{
    color:rgba(255,255,255,.85);
    font-size:13px;
    margin-top:4px;
}

.flash-msg{
    padding:14px 18px;
    border-radius:14px;
    margin-bottom:22px;
    font-size:13.5px;
    font-weight:700;
    text-align:center;
    animation:fadeIn .3s ease;
    background:#fdecec;
}

.flash-msg.success{
    color:#1a7a3c;
}

.flash-msg.error{
    color:#980000;
}

@keyframes fadeIn{
    from{ opacity:0; transform:translateY(-6px); }
    to{ opacity:1; transform:translateY(0); }
}

.tabs{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:30px;
}

.tabs button{
    border:none;
    padding:10px 28px;
    border-radius:30px;
    background:rgba(255,255,255,0.15);
    color:#fff;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
    transition:.3s;
}

.tabs button:hover{
    background:linear-gradient(135deg,#3a3a3a,#6b6b6b);
}

.tabs button.active{
    background:linear-gradient(135deg,#3a3a3a,#6b6b6b);
    color:#fff;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
}

.form{
    display:none;
}

.form.active{
    display:block;
}

.form-stack{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.full-width{
    grid-column:1 / -1;
}

.input-group{
    width:100%;
}

.input-group input,
.input-group select{
    width:100%;
    padding:14px 16px;
    border:none;
    border-radius:14px;
    background:rgba(255,255,255,0.95);
    outline:none;
    font-size:13.5px;
    transition:.25s;
    color:#333;
}

.input-group input:focus,
.input-group select:focus{
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,0.25);
}

.input-group input::placeholder{
    color:#888;
}

.btn{
    width:100%;
    margin-top:22px;
    padding:14px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#3a3a3a,#6b6b6b);
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    letter-spacing:.5px;
}

.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,0,0,.25);
}

.btn:active{
    transform:translateY(0);
}

.links{
    text-align:center;
    margin-top:22px;
}

.links a{
    color:#fff;
    text-decoration:none;
    font-size:13.5px;
    transition:.3s;
}

.links a:hover{
    color:#ffe0e0;
    text-decoration:underline;
}

@media(max-width:768px){
    .container{
        padding:30px 25px;
    }
    .form-stack{
        grid-template-columns:1fr;
    }
}

@media(max-width:480px){
    body{
        padding:20px 12px;
    }
    .container{
        padding:25px 18px;
        border-radius:22px;
    }
    .logo-header h2{
        font-size:22px;
    }
    .tabs{
        gap:8px;
    }
    .tabs button{
        flex:1;
        padding:10px;
        font-size:12px;
    }
    .input-group input,
    .input-group select{
        padding:13px;
        font-size:13px;
    }
    .btn{
        padding:13px;
        font-size:14px;
    }
}
.logo p,
.links a,
.tabBtn {
    color:#fff;
}

/*
 * Honeypot field: hidden from real users/screen readers, still present
 * in the DOM for bots that blindly fill every input on the form.
 */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.password-group{
    position:relative;
}

.password-group input{
    padding-right:45px;
}

.toggle-eye{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:22px;
    height:22px;
    cursor:pointer;
    color:#666;
}

.toggle-eye svg{
    width:100%;
    height:100%;
}