* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px 34px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tabs {
    display: flex;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e5e5;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #86868b;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #1d1d1f;
}

.tab-btn.active {
    color: #1d1d1f;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #007AFF;
    border-radius: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.logo h1 {
    color: #1d1d1f;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

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

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

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.form-group input::placeholder {
    color: #86868b;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.remember-me input {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.error-message {
    color: #ff3b30;
    font-size: 12px;
    margin-bottom: 15px;
    display: none;
    text-align: center;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.login-btn:hover {
    background: #0071E3;
}

.login-btn:active {
    transform: scale(0.98);
}
