/* MBA报名弹窗样式 */
.mba-signup-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: auto;
}

.mba-signup-modal {
    position: relative;
    width: 480px;
    max-width: 90%;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mba-signup-modal-header {
    position: relative;
    color: #fff;
    padding: 25px;
    border-radius: 8px 8px 0 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mba-signup-modal-header .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/resource/ckgsbmba/image/con-8-02.png') no-repeat center center;
    background-size: cover;
    opacity: 0.9;
}

.mba-signup-modal-header h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mba-signup-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 2;
}

.mba-signup-modal-close:hover {
    opacity: 1;
}

.mba-signup-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.mba-signup-form-group {
    margin-bottom: 18px;
}

.mba-signup-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.mba-signup-form-group label .required {
    color: #ff4d4f;
    margin-right: 2px;
}

.mba-signup-form-group input,
.mba-signup-form-group select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.mba-signup-form-group input:focus,
.mba-signup-form-group select:focus {
    outline: none;
    border-color: #003088;
}

.mba-signup-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.mba-signup-submit-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #003088 0%, #0055aa 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 10px;
}

.mba-signup-submit-btn:hover {
    opacity: 0.9;
}

.mba-signup-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 验证码样式 */
.captcha-group {
    margin-bottom: 18px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-box input {
    flex: 1;
    width: auto !important;
    max-width: 150px;
}

.captcha-box img {
    width: 100px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
}

/* 弹窗底部联系信息 */
.mba-signup-modal-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.contact-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #003088;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon::before {
    content: '';
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 100%;
}

.email-icon::before {
    content: '';
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 100%;
}

.contact-text {
    color: #555;
}

.mba-signup-error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .mba-signup-modal {
        width: 95%;
        max-width: 95%;
        margin: 20px auto;
    }

    .mba-signup-modal-header {
        padding: 20px 15px;
        min-height: 80px;
    }

    .mba-signup-modal-header h3 {
        font-size: 18px;
    }

    .mba-signup-modal-body {
        padding: 20px 15px;
    }

    .mba-signup-form-group {
        margin-bottom: 14px;
    }

    .mba-signup-form-group input,
    .mba-signup-form-group select {
        height: 38px;
        font-size: 14px;
    }

    /* 移动端验证码适配 */
    .captcha-box {
        gap: 8px;
    }

    .captcha-box img {
        width: 85px;
        height: 38px;
    }

    .mba-signup-submit-btn {
        height: 42px;
        font-size: 15px;
    }

    .mba-signup-modal-footer {
        padding: 15px;
    }

    .contact-item {
        font-size: 13px;
    }
}
