* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0a0e17;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    padding: 20px;
}

.auth-container {
    background: #111827;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 30px rgba(0, 90, 255, 0.15);
    border: 1px solid #1e293b;
}

.auth-container h2 {
    color: #3b82f6;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    color: #64748b;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}

.auth-container input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #0f172a;
    color: #fff;
    outline: none;
    transition: 0.2s;
}

.auth-container input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.auth-container button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.auth-container button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.auth-container p {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

.auth-container a {
    color: #3b82f6;
    text-decoration: none;
}

.error {
    color: #f87171;
    text-align: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.success {
    color: #4ade80;
    text-align: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.password-strength {
    height: 4px;
    border-radius: 4px;
    background: #1e293b;
    margin: -8px 0 14px;
    overflow: hidden;
    position: relative;
}

.password-strength::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    transition: 0.3s ease;
    border-radius: 4px;
}

.password-strength.weak::before { width: 33%; background: #ef4444; }
.password-strength.medium::before { width: 66%; background: #facc15; }
.password-strength.strong::before { width: 100%; background: #4ade80; }