@charset "utf-8";
/* CSS Document */
:root {
    --zen-orange: #F14E18;
    --zen-orange-hover: #D63F0F;
    --zen-dark-blue: #232B38;
    --zen-text-dark: #333333;
    --zen-border-color: #DDE3EA;
}

/* 右下角悬浮按钮 */
#zenith-msg-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--zen-orange);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(241, 78, 24, 0.3);
    cursor: pointer;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
#zenith-msg-trigger:hover {
    background-color: var(--zen-orange-hover);
    transform: scale(1.05);
}
#zenith-msg-trigger svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

/* 弹窗遮罩层 */
#zenith-form-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}

/* 弹窗主体 */
.zenith-form-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    position: relative;
    animation: zenFormFadeIn 0.3s ease;
}

@keyframes zenFormFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 弹窗头部 */
.zenith-form-modal-header {
    background: var(--zen-dark-blue);
    color: #ffffff;
    padding: 22px 25px;
    position: relative;
    border-bottom: 3px solid var(--zen-orange);
}
.zenith-form-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff !important;
}
.zenith-form-modal-header p {
    margin: 6px 0 0 0;
    font-size: 13px;
    opacity: 0.8;
    color: #ffffff !important;
    line-height: 1.4;
}
.zenith-form-modal-close {
    position: absolute;
    right: 20px;
    top: 22px;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.zenith-form-modal-close:hover { opacity: 1; }

/* 表单独立隔离容器 */
#contact_form_zenith {
    padding: 25px;
    font-family: Arial, sans-serif;
    color: var(--zen-text-dark);
    box-sizing: border-box;
}

.zenith-form-row {
    margin-bottom: 18px;
    position: relative;
}

/* 必填星号标红 */
.zenith-form-row .zenith-required-star {
    color: #ff0000 !important;
    font-weight: bold;
    margin-right: 4px;
    position: absolute;
    left: -12px;
    top: 12px;
}

/* 强力重置输入框 */
#contact_form_zenith input[type="text"],
#contact_form_zenith input[type="email"],
#contact_form_zenith select,
#contact_form_zenith textarea {
    width: 100% !important;
    height: 44px !important;
    padding: 10px 15px !important;
    border: 1px solid var(--zen-border-color) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #333333 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
}
#contact_form_zenith input:focus,
#contact_form_zenith select:focus,
#contact_form_zenith textarea:focus {
    border-color: var(--zen-orange) !important;
}

/* IM 组合框（左右布局） */
.zenith-form-im-wrapper {
    display: flex;
    gap: 4%;
}
.zenith-form-im-type { 
    width: 32% !important; 
}
.zenith-form-im-valbox { 
    width: 64% !important; 
}
.zenith-form-phone-grid { 
    display: flex; 
    gap: 8px; 
}
.zenith-form-phone-grid .zenith-form-cc { width: 35% !important; }
.zenith-form-phone-grid .zenith-form-pn { width: 65% !important; }
.zenith-form-pure-valbox { display: none; } 

/* 文本域 */
#contact_form_zenith textarea.zenith-form-textarea {
    height: 110px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

/* 提交按钮（Zenith 风格大橙色按钮） */
.zenith-form-btn-submit {
    width: 100% !important;
    height: 48px !important;
    background: var(--zen-orange) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    letter-spacing: 1px;
}
.zenith-form-btn-submit:hover { background: var(--zen-orange-hover) !important; }

/* 响应式断点 */
@media (max-width: 576px) {
    .zenith-form-im-wrapper { flex-direction: column; gap: 15px; }
    .zenith-form-im-type, .zenith-form-im-valbox { width: 100% !important; }
    .zenith-form-modal-content { width: 92%; }
}

