* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.auth-container { 
    width: 100%;
    max-width: 440px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(30, 144, 255, 0.3);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
}

.auth-title {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-subtitle {
    color: #64748b;
    font-size: 16px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e3a8a;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.btn-auth {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(30, 144, 255, 0.3);
    margin-bottom: 20px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 144, 255, 0.4);
}

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

.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-link {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #64748b;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    padding: 0 15px;
    font-size: 14px;
}

.message-box {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.5s ease-out;
}

.message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.message-success {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #64748b;
    font-size: 14px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.6s ease-out;
}

.auth-card form > .form-group:first-child {
    animation: fadeIn 0.6s ease-out;
    animation-delay: 0.1s;
}

.auth-card form > .form-group:nth-child(2) {
    animation: fadeIn 0.6s ease-out;
    animation-delay: 0.2s;
}

.btn-auth {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.auth-links {
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-card {
        padding: 30px 25px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}