/* 页面通用样式 */

/* 动画关键帧 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

/* 基础动画效果 */
.bg-blur {
    backdrop-filter: blur(8px);
}

.btn-gradient {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.pulse {
    animation: pulse 1.5s infinite;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.2);
}

/* 公共布局类 */
.container-base {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
}

.page-section {
    position: relative;
    height: 95vh;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.6), rgba(99, 102, 241, 0.4));
}

.content-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.2);
}

/* 图标样式 */
.icon-container {
    width: 4rem;
    height: 4rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366F1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s infinite;
}

.error-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.search-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366F1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateY(0);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #818CF8;
    color: #4338CA;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(129, 140, 248, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -3px rgba(129, 140, 248, 0.3);
}

/* 表单样式 */
.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .header-container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .header-container {
        max-width: 1280px;
    }
}
@media (min-width: 1536px) {
    .header-container {
        max-width: 1536px;
    }
}
.upload-area {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 文本样式 */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4338CA;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: #4338CA;
}

.subtitle {
    color: #4b5563;
    margin-top: 0.5rem;
}

/* Element UI 样式覆盖 */
.el-input__inner {
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.el-radio-group {
    width: 100% ;
    display: flex ;
    justify-content: space-between;
    flex-wrap: wrap ;
}

.el-radio {
    margin-right: 0 ;
    margin-bottom: 0.75rem ;
    white-space: nowrap ;
}

.el-upload {
    width: 100% !important;
}

.el-upload-dragger {
    width: 100% !important;
    height: auto !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
}

.el-button {
    border-radius: 0.5rem ;
    padding: 0.75rem 1.5rem ;
}

.el-form-item__label {
    font-size: 1.125rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .main-card {
        padding: 1.5rem;
    }
    
    .container-base {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* 性能优化 */
.video-bg video {
    object-fit: cover;
    will-change: auto;
}

/* 可访问性优化 */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #6366F1;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .video-bg,
    header,
    footer {
        display: none;
    }
    
    .main-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 


.el-button--primary {
    color: #FFF;
    background:linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
    border-color: #409EFF;
}