/* 导航样式 */
.nav-item:hover {
    background-color: rgba(217, 73, 22, 0.14);
    color: #f97316;
}

.nav-item.active {
    background-color: rgba(217, 73, 22, 0.16);
    color: #f97316;
    border-right: 3px solid #d94916;
}

/* 表格样式 */
table th {
    font-weight: normal;
    color: #666;
}

/* 趋势样式 */
.trend-up {
    color: #13C296;
}

/* 自定义颜色 */
:root {
    --primary-color: #d94916;
    --secondary-color: #13C296;
}

/* 自定义圆角 */
.rounded-button {
    border-radius: 4px;
}

/* 登录页面样式 */
.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: #f5f6f8;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.left-section {
    flex: 1;
    background:
        radial-gradient(circle at 50% 35%, rgba(217, 73, 22, 0.14), transparent 34%),
        linear-gradient(rgba(31, 41, 55, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 41, 55, 0.055) 1px, transparent 1px),
        #f7f8fa;
    background-size: auto, 46px 46px, 46px 46px, auto;
    padding: 60px;
    color: #1f2937;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E') no-repeat bottom center;
    background-size: cover;
    z-index: 0;
}

.right-section {
    flex: 1;
    padding: 60px 40px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.right-section::before {
    display: none;
}

.right-section > div {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-form-container {
    background: white;
    min-height: clamp(560px, 72vh, 650px);
    padding: clamp(46px, 5vh, 64px) 58px;
    width: 100%;
    max-width: 570px;
    position: relative;
    z-index: 1;
    box-shadow: none;
    border-radius: 22px;
    border: 0;
    box-shadow: 0 24px 46px rgba(31, 41, 55, 0.12);
}

.login-form-container h2 {
    margin-bottom: 8px;
    font-size: 34px;
    color: #1f2937;
}

.login-form-container p {
    margin-bottom: 32px;
    color: #6b7280;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    margin-bottom: 6px;
    color: #374151;
    font-weight: 700;
}

.input-group input {
    height: 56px;
    border: 1px solid #d6dbe4;
    background: #ffffff;
    color: #111827;
    padding: 0 16px 0 50px;
    font-size: 14px;
}

.floating-shapes {
    display: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 60%;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 70%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.brand-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.92);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.decoration-image {
    display: none;
}

.decoration-top {
    top: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
}

.decoration-bottom {
    bottom: 40px;
    left: 40px;
    width: 100px;
    height: 100px;
}

.decoration-top svg {
    animation: pulse 2s ease-in-out infinite;
}

.decoration-bottom svg {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 登录按钮悬浮效果增强 */
.login-btn {
    margin-top: 4px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 记住我复选框美化 */
.remember-checkbox {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remember-checkbox:checked {
    background-color: #d94916;
    border-color: #d94916;
}

.form-footer {
    margin: 24px 0;
}

/* 调整图标位置 */
.input-group .absolute {
    left: 14px;
}

@media (max-width: 1180px) {
    .left-section {
        display: none;
    }

    .right-section {
        flex: 1 1 100%;
        padding: 48px 28px;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .login-container {
        height: auto;
        overflow-y: auto;
    }

    .right-section {
        min-height: 100vh;
        padding: 32px 18px;
    }

    .login-form-container {
        max-width: 430px;
        min-height: auto;
        padding: 38px 28px;
        border-radius: 18px;
    }

    .login-form-container h2 {
        font-size: 28px;
    }
}
