* {
    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;
}

a { color: white; }

.btn-primary{
    background:#FFF;
    color:#000;
    border:none;
    padding:14px 22px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.btn-primary:disabled{
    opacity:.6;
    cursor:not-allowed;
}

.spinner{
    width:18px;
    height:18px;
    border:3px solid rgba(0,0,0,.2);
    border-top:3px solid #000;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

.d-none { display: none; }

.error { color:red; border-radius:5px; margin-bottom:20px; border: 1px solid red; padding: 10px; }

.container{
    width:100%;
    max-width:540px;
    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;
}

.checkbox{
    display:flex;
    gap:10px;
    margin-top:20px;
    margin-bottom:25px;
}

.checkbox input{
    width:auto;
    margin-top:3px;
}

.checkbox label{
    margin:0;
    color:#999;
    line-height:1.5;
}

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;
}

.login{
    text-align:center;
    margin-top:25px;
    color:#888;
}

.login a{
    color:#FFF;
    text-decoration:none;
}

.login a:hover{
    text-decoration:underline;
}

.features{
    margin-top:35px;
    border-top:1px solid #222;
    padding-top:25px;
}

.features h3{
    margin-bottom:15px;
    font-size:18px;
}

.features ul{
    list-style:none;
}

.features li{
    padding:8px 0;
    color:#AAA;
}

.features li::before{
    content:"✓ ";
    color:#FFF;
}