/* 认证页面样式 */
.auth-container {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-wrapper {
    /* 移除白色背景和圆角边框 */
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    max-width: none;
    width: 100%;
    margin: 0;
    height: 100%;
}

.auth-layout {
    display: flex;
    min-height: calc(100vh - 76px);
    width: 100%;
}

/* 左侧信息展示区域 */
.info-sidebar {
    flex: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.info-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.info-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.info-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.9;
}

.info-carousel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.info-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.info-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.info-slide.prev {
    transform: translateX(-100%);
}

.slide-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffd700;
}

.slide-content {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.slide-content ul {
    margin-left: 1rem;
}

.slide-content li {
    margin-bottom: 0.5rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffd700;
    transform: scale(1.2);
}

/* 右侧表单区域 */
.form-sidebar {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.form-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-layout {
        flex-direction: column;
        min-height: auto;
    }

    .info-sidebar {
        padding: 2rem 1rem;
        min-height: 300px;
    }

    .form-sidebar {
        padding: 2rem 1rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .info-title {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }
}

/* 右侧表单区域 */
.form-sidebar {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #333;
    text-align: center;
}

.form-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-form {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    padding: 10px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* 注册表单特殊样式 - 更紧凑的布局 */
.auth-form.register-form .form-group {
    margin-bottom: 0.8rem;
}

.auth-form.register-form .form-control {
    padding: 8px 10px;
    font-size: 0.85rem;
}

.auth-form.register-form .btn-primary {
    padding: 8px;
    font-size: 0.9rem;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .auth-layout {
        flex-direction: column;
        min-height: auto;
    }

    .info-sidebar {
        padding: 1.5rem 1rem;
        min-height: 250px;
    }

    .form-sidebar {
        padding: 1.5rem 1rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .info-title {
        font-size: 1.8rem;
    }

    .slide-title {
        font-size: 1.3rem;
    }
}