/* 公司信息模态框样式 */
.company-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.company-modal.active {
    display: flex;
}

.company-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.company-modal-box {
    position: fixed;
    z-index: 10001;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    padding: 2rem;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

.company-modal-box.closing {
    animation: modalSlideOut 0.3s ease-out forwards;
}

.company-modal-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #05AFB5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content {
    min-height: 200px;
}

.modal-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.close-modal {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content {
    min-height: 200px;
}

.business-license-content,
.icp-content,
.security-content {
    text-align: center;
    padding: 1rem 0;
}

.icp-badge {
    display: inline-block;
    background: linear-gradient(135deg, #05AFB5 0%, #6DCFDE 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(5, 175, 181, 0.3);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* 营业执照内容样式 */
.business-license-content {
    text-align: center;
    padding: 1rem 0;
}

.business-license-content .license-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.business-license-content .license-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.business-license-content .license-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.business-license-content .license-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.business-license-content .license-info .info-item:last-child {
    border-bottom: none;
}

.business-license-content .license-info .info-label {
    font-weight: 600;
    color: #374151;
}

.business-license-content .license-info .info-value {
    color: #6b7280;
}

/* ICP备案内容样式 */
.icp-content {
    text-align: center;
    padding: 1rem 0;
}

.icp-content .icp-badge {
    display: inline-block;
    background: linear-gradient(135deg, #05AFB5 0%, #6DCFDE 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(5, 175, 181, 0.3);
}

.icp-content .icp-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: left;
}

.icp-content .icp-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.icp-content .icp-info .info-item:last-child {
    border-bottom: none;
}

.icp-content .icp-info .info-label {
    font-weight: 600;
    color: #374151;
}

.icp-content .icp-info .info-value {
    color: #6b7280;
}

/* 公安备案内容样式 */
.security-content {
    text-align: center;
    padding: 1rem 0;
}

.security-content .security-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.security-content .security-badge svg {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
}

.security-content .security-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: left;
}

.security-content .security-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.security-content .security-info .info-item:last-child {
    border-bottom: none;
}

.security-content .security-info .info-label {
    font-weight: 600;
    color: #374151;
}

.security-content .security-info .info-value {
    color: #6b7280;
}

.modal-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.close-modal {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-box {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-box h3 {
        font-size: 1.5rem;
    }

    .business-license-content .license-info .info-item,
    .icp-content .icp-info .info-item,
    .security-content .security-info .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .business-license-content .license-badge,
    .icp-content .icp-badge,
    .security-content .security-badge {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
}
