/**
 * TravelPuzzle - 登录页样式
 */

/* ==================== 登录页面 ==================== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo h1 {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

.role-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.role-option {
    flex: 1;
    padding: 16px;
    text-align: center;
    background: var(--card-bg-light);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-option:hover {
    border-color: var(--border-color);
}

.role-option.active {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.role-option i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.role-option span {
    font-size: 14px;
    font-weight: 500;
}
