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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #020617);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layout */
.container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: #020617;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
    color: #e5e7eb;
}

/* Branding */
.brand {
    text-align: center;
    margin-bottom: 10px;
    color: #38bdf8;
}

.login-text {
    text-align: center;
    margin-bottom: 16px;
    color: #94a3b8;
}

/* Role buttons */
.role-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.role-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: transparent;
    color: #cbd5f5;
    cursor: pointer;
    transition: all .3s ease;
}

.role-btn:hover {
    background: #020617;
    border-color: #38bdf8;
}

.role-btn.active {
    background: #38bdf8;
    color: #020617;
    font-weight: 600;
}

/* Forms */
.login-form {
    display: none;
    animation: fade .3s ease;
}

.login-form h3 {
    margin-bottom: 16px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e5e7eb;
}

.login-form input:focus {
    outline: none;
    border-color: #38bdf8;
}

/* Login button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #38bdf8;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(56,189,248,.4);
}

/* Signup */
.signup-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #94a3b8;
    text-decoration: none;
}

.signup-link:hover {
    color: #38bdf8;
}

/* Animation */
@keyframes fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
