/* 爱特佳数据管理系统 - 高级登录页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0c0c2e 0%, #1a1a3e 50%, #2a2a5e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
}



/* 背景装饰元素 */
.decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 200, 255, 0.1), rgba(100, 0, 255, 0.05));
    filter: blur(60px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: float 25s infinite ease-in-out;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    background: linear-gradient(45deg, rgba(255, 0, 200, 0.1), rgba(0, 150, 255, 0.05));
    animation: float 30s infinite ease-in-out reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    background: linear-gradient(45deg, rgba(0, 255, 150, 0.1), rgba(0, 100, 255, 0.05));
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 40px) rotate(240deg);
    }
}

/* 登录容器 */
.login-container {
    position: relative;
    z-index: 100; /* 提高z-index确保在最上层 */
    width: 100%;
    max-width: 1200px;
    padding: 40px;
}

.login-card {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: cardAppear 0.8s ease-out;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 左侧装饰区域 */
.login-left {
    flex: 1;
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.2), rgba(100, 0, 255, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='2'/%3E%3Cpath d='M25,25 L75,25 L75,75 L25,75 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px;
    opacity: 0.3;
}

.logo-container {
    position: relative;
    z-index: 1;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.4);
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 114, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 114, 255, 0.6);
    }
}

.logo-circle i {
    font-size: 36px;
    color: white;
}

.logo-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ffffff, #a0c8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.features {
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 20px;
    color: #00c6ff;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.feature-item span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 右侧登录区域 */
.login-right {
    flex: 1;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.login-header {
    margin-bottom: 50px;
}

.login-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.login-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* 登录表单 */
.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group label i {
    margin-right: 10px;
    color: #00c6ff;
    font-size: 16px;
}

.input-wrapper {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.modern-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    cursor: text;
    pointer-events: auto;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.modern-input:focus {
    border-color: #00c6ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper.focused .input-icon,
.input-wrapper:focus-within .input-icon {
    color: #00c6ff;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.remember-me input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #00c6ff;
}

.forgot-password {
    color: #00c6ff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #00a8ff;
    text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(5px);
}

/* 登录页脚 */
.login-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.register-link {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: #00a8ff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .login-card {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .login-left, .login-right {
        padding: 40px 30px;
    }
    
    .features {
        margin-top: 40px;
    }
    
    .circle-3 {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 20px;
    }
    
    .login-card {
        border-radius: 16px;
    }
    
    .login-left, .login-right {
        padding: 30px 20px;
    }
    
    .logo-container h1 {
        font-size: 26px;
    }
    
    .login-header h2 {
        font-size: 28px;
    }
    
    .modern-input {
        padding: 16px 20px 16px 50px;
    }
    
    .feature-item {
        padding: 10px 14px;
    }
}