/* Authentication Page Styles */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000005 0%, #1a1a2e 100%);
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.auth-header h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.gradient-text {
    background: linear-gradient(90deg, #4c8bf5, #d367c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    color: #aaccff;
    font-size: 0.95rem;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: #aaccff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: white;
}

.tab-btn.active {
    color: #4c8bf5;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4c8bf5, #d367c1);
}

/* Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4c8bf5;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group small {
    display: block;
    color: #aaccff;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-footer {
    margin-bottom: 1.5rem;
    text-align: right;
}

.forgot-link {
    color: #4c8bf5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.forgot-link:hover {
    opacity: 0.8;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #4c8bf5, #d367c1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(76, 139, 245, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ff6b6b;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.success-message {
    color: #51cf66;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: rgba(81, 207, 102, 0.1);
    border-radius: 6px;
    border-left: 3px solid #51cf66;
    display: none;
}

.success-message:not(:empty) {
    display: block;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.back-link {
    color: #aaccff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 600px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}