* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#000;
    color:#FFF;
    font-family:Arial,Helvetica,sans-serif;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.password-container{
    position:relative;
}

.password-container input {
    width:100%;
    padding-right:45px;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    user-select:none;
    font-size:18px;
    color:#888;
    transition:.2s;
}

.toggle-password:hover{  color:#FFF; }

.d-none { display: none; }

.error { color:red; border-radius:5px; margin-bottom:20px; border: 1px solid red; padding: 10px; }

.container{
    width:100%;
    max-width:500px;
    padding:40px;
}

.logo{
    text-align:center;
    margin-bottom:40px;
}

.logo h1{
    font-size:44px;
    letter-spacing:-2px;
}

.logo p{
    color:#888;
    margin-top:10px;
}

.card{
    background:#080808;
    border:1px solid #222;
    border-radius:16px;
    padding:35px;
}

.card h2{
    margin-bottom:10px;
}

.subtitle{
    color:#999;
    margin-bottom:30px;
    line-height:1.5;
}

.form-group{
    margin-bottom:18px;
}

label{
    display:block;
    margin-bottom:8px;
    color:#CCC;
    font-size:14px;
}

input{
    width:100%;
    background:#000;
    color:#FFF;
    border:1px solid #333;
    border-radius:8px;
    padding:14px;
    font-size:15px;
}

input:focus{
    outline:none;
    border:1px solid #FFF;
}

.form-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:8px 0 25px;
    gap:15px;
}

.checkbox{
    display:flex;
    align-items:center;
    gap:8px;
    color:#999;
    font-size:14px;
}

.checkbox input{
    width:auto;
}

.form-row a{
    color:#FFF;
    text-decoration:none;
    font-size:14px;
}

.form-row a:hover{
    text-decoration:underline;
}

button{
    width:100%;
    background:#FFF;
    color:#000;
    border:none;
    border-radius:10px;
    padding:15px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

button:hover{
    background:#DDD;
}

.register{
    text-align:center;
    margin-top:25px;
    color:#888;
}

.register a{
    color:#FFF;
    text-decoration:none;
}

.register a:hover{
    text-decoration:underline;
}

.security-note{
    margin-top:30px;
    border-top:1px solid #222;
    padding-top:22px;
    color:#888;
    font-size:14px;
    line-height:1.5;
}

@media(max-width:600px){
    .container{
        padding:22px;
    }

    .card{
        padding:28px;
    }

    .form-row{
        flex-direction:column;
        align-items:flex-start;
    }
}

