/* assets/css/auth.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e2f 0%, #0f101d 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.auth-container {
    background: rgba(30, 32, 50, 0.9);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-header h1 {
    font-size: 1.6rem;
    color: #4e54c8;
    background: linear-gradient(to right, #8f94fb, #4e54c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-header p {
    font-size: 0.85rem;
    color: #a0a5ba;
    margin-top: 5px;
}

.auth-form h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #e1e3ec;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #b0b5c9;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #323652;
    background: #141625;
    color: #fff;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: #8f94fb;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.switch-form {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #a0a5ba;
}

.switch-form a {
    color: #8f94fb;
    text-decoration: none;
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.alert-error {
    background: rgba(235, 77, 75, 0.2);
    border: 1px solid #eb4d4b;
    color: #ff7979;
}

.alert-success {
    background: rgba(106, 176, 76, 0.2);
    border: 1px solid #6ab04c;
    color: #badc58;
}