body {
    margin:0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:#f5f5f7;
    color:#111;
}

/* HEADER */
.topbar {
    background:white;
    padding:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 1px 6px rgba(0,0,0,0.05);
    position:relative;
}

.topbar .back {
    position:absolute;
    left:16px;
    font-size:20px;
    color:#ff6600;
    cursor:pointer;
}

.topbar .domain {
    color:#ff6600;
    font-weight:600;
    font-size:18px;
}

/* LOGIN BOX */
.login-container {
    width:90%;
    max-width:420px;
    margin:60px auto;
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity:0; transform:translateY(10px); }
    to { opacity:1; transform:translateY(0); }
}

h1 {
    font-size:28px;
    font-weight:600;
}

.subtitle {
    color:#666;
    margin-bottom:30px;
    line-height:1.4;
}

label {
    display:block;
    margin-top:18px;
    font-size:14px;
    font-weight:500;
}

input {
    width:100%;
    padding:14px;
    border-radius:14px;
    border:1px solid #e0e0e0;
    margin-top:6px;
    font-size:15px;
    background:white;
    transition: all 0.2s ease;
    box-sizing:border-box;
}

input:focus {
    outline:none;
    border-color:#ff6600;
    box-shadow:0 0 0 3px rgba(255,102,0,0.15);
}

.password-wrapper {
    position:relative;
}

.toggle-password {
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:16px;
    opacity:0.6;
}

.toggle-password:hover {
    opacity:1;
}

.forgot {
    display:block;
    margin-top:12px;
    font-size:13px;
    color:#2e7d32;
    text-decoration:none;
}

.login-btn {
    width:100%;
    margin-top:28px;
    padding:15px;
    border:none;
    border-radius:16px;
    background:#ff6600;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background:#e65c00;
    transform:translateY(-1px);
}

.login-btn:active {
    transform:scale(0.98);
}

.register {
    margin-top:28px;
    font-size:14px;
}

.register a {
    font-weight:600;
    color:black;
    text-decoration:underline;
}

.error {
    color:#d32f2f;
    margin-bottom:15px;
}