/* ========== 国际证书详情模态框样式 ========== */

/* 新版证书详情容器 */
.cert-detail-new {
    max-width: 900px !important;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* 固定关闭按钮 - 不随内容滚动 */
.cert-detail-new .modal-close {
    position: fixed;
    top: 50%;
    transform: translateY(-50vh) translateY(20px);
    right: calc(50% - 450px + 20px);
    font-size: 32px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cert-detail-new .modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50vh) translateY(20px) rotate(90deg);
    color: white;
}

/* 证书头部 */
.cert-header {
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 25px;
    border-radius: 20px 20px 0 0;
}

.cert-icon-large {
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cert-title-group {
    flex: 1;
}

.cert-name-large {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: white;
}

.cert-full-name {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.cert-english-name {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* 证书描述 */
.cert-description {
    padding: 30px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e0e0e0;
}

.cert-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

/* 内容网格 */
.cert-content-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cert-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.cert-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.cert-section.full-width {
    grid-column: 1 / -1;
}

/* 区块标题 */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.title-icon {
    font-size: 24px;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* 信息列表 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.info-row:last-child {
    border-bottom: none;
}

.row-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.row-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* 职业发展内容 */
.career-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career-item {
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
}

.career-item strong {
    font-size: 15px;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.career-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 职位标签 */
.position-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.position-tag {
    padding: 8px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    transition: all 0.3s ease;
}

.position-tag:hover {
    border-color: #003d7a;
    background: #f0f4f8;
    transform: translateY(-2px);
}

/* 职业统计 */
.career-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-box {
    padding: 20px;
    background: white;
    border: 3px solid;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
}

.stat-value-small {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 优势列表 */
.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    transform: translateX(5px);
}

.advantage-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.advantage-item strong {
    font-size: 15px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.advantage-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 报考条件列表 */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid #ff9800;
}

.req-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.requirement-item strong {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.requirement-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 底部按钮区 */
.cert-footer {
    padding: 30px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid #e0e0e0;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.cert-footer .btn-cta {
    padding: 16px 50px;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-tip {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cert-detail-new {
        width: 95%;
        max-height: 95vh;
    }

    /* 移动端关闭按钮调整 */
    .cert-detail-new .modal-close {
        right: 10px;
        top: 10px;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .cert-detail-new .modal-close:hover {
        transform: rotate(90deg);
    }

    .cert-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cert-icon-large {
        font-size: 60px;
    }

    .cert-name-large {
        font-size: 36px;
    }

    .cert-full-name {
        font-size: 20px;
    }

    .cert-description {
        padding: 20px;
    }

    .cert-content-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .career-stats {
        grid-template-columns: 1fr;
    }

    .position-tags {
        flex-direction: column;
    }

    .position-tag {
        text-align: center;
    }

    .cert-footer {
        padding: 20px;
    }

    .cert-footer .btn-cta {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }
}
