@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

body.auth-page {
    background: radial-gradient(circle at center, #1a1a35 0%, #070710 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: #e2e2f5;
    overflow: hidden;
    position: relative;
}

body.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    background: rgba(17, 17, 39, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid #2a2a50;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.auth-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -0.5px;
}

.auth-logo span {
    color: #4f8eff;
}

.auth-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #9494b8;
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-form .input-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #9494b8;
    margin-bottom: 8px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    background: #0d0d1a;
    border: 1px solid #1e1e3d;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.auth-form input:focus {
    outline: none;
    border-color: #4f8eff;
    box-shadow: 0 0 0 2px rgba(79, 142, 255, 0.2);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.auth-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9494b8;
    cursor: pointer;
    margin: 0;
}

.auth-options a {
    color: #4f8eff;
    text-decoration: none;
}

.auth-options a:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    background: #4f8eff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.btn-auth:hover {
    background: #3a75e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 142, 255, 0.4);
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #9494b8;
}

.auth-footer a {
    color: #fff;
    font-weight: 500;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(255, 94, 135, 0.1);
    border: 1px solid #ff5e87;
    color: #ff5e87;
}

.alert-success {
    background: rgba(0, 217, 163, 0.1);
    border: 1px solid #00d9a3;
    color: #00d9a3;
}