.ckgsb-leads-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.ckgsb-leads-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.ckgsb-leads-modal-header {
    position: relative;
    padding: 0;
    border-bottom: none;
}

/* 顶部过渡图样式 */
.ckgsb-leads-banner {
    width: 100%;
    height: 180px;
    background-image: url('/resource/dbanew/images/guodu.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ckgsb-leads-banner-bg {
    display: none;
}

.ckgsb-leads-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
    width: 100%;
    /* background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%); */
}

.ckgsb-leads-banner-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ckgsb-leads-banner-subtitle {
    font-size: 16px;
    margin: 8px 0 0 0;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.ckgsb-leads-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.ckgsb-leads-modal-close:hover {
    background: rgba(0,0,0,0.4);
    transform: rotate(90deg);
}

.ckgsb-leads-modal-body {
    padding: 30px;
}

.ckgsb-leads-form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.ckgsb-leads-form-label {
    width: 100px;
    text-align: right;
    margin-right: 15px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.ckgsb-leads-form-control {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ckgsb-leads-form-control:focus {
    border-color: #c49d61;
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 157, 97, 0.1);
}

.ckgsb-leads-form-select {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
}

.ckgsb-leads-form-select:focus {
    border-color: #c49d61;
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 157, 97, 0.1);
}

.ckgsb-leads-other-input {
    display: block;
}

.ckgsb-leads-other-input[style*="display: block"] {
    display: block !important;
}

.ckgsb-leads-other-input[style*="display: none"] {
    display: none !important;
}

.ckgsb-leads-required {
    color: #dc3545;
    margin-left: 2px;
}

/* 底部联系信息样式 */
.ckgsb-leads-contact-info {
    background-image: url('/resource/dbanew/images/form-bottom.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 30px;
    border-radius: 0 0 12px 12px;
    text-align: center;
    margin-top: 20px;
    position: relative;
}

.ckgsb-leads-contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0 0 12px 12px;
    z-index: 0;
}

.ckgsb-leads-contact-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.ckgsb-leads-contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ckgsb-leads-phone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c49d61;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ckgsb-leads-phone-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 157, 97, 0.3);
}

.ckgsb-leads-phone-icon {
    font-size: 18px;
}

.ckgsb-leads-modal-footer {
    padding: 0 30px 20px 30px;
    border-top: none;
    text-align: right;
}

.ckgsb-leads-warm-tips {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

.ckgsb-leads-warm-tips strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.ckgsb-leads-privacy-agreement {
    margin-bottom: 15px;
    text-align: left;
    padding: 0 5px;
}

.ckgsb-leads-privacy-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    user-select: none;
}

.ckgsb-leads-privacy-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #c49d61;
}

.ckgsb-leads-privacy-link {
    color: #c49d61;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ckgsb-leads-privacy-link:hover {
    color: #a67c3d;
    text-decoration: underline;
}

.ckgsb-leads-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ckgsb-leads-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    user-select: none;
}

.ckgsb-leads-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #c49d61;
}

.ckgsb-leads-radio-group {
    display: flex;
    gap: 20px;
}

.ckgsb-leads-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    user-select: none;
}

.ckgsb-leads-radio {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #c49d61;
}

.ckgsb-leads-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.ckgsb-leads-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ckgsb-leads-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.ckgsb-leads-btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.ckgsb-leads-btn-primary {
    background: linear-gradient(135deg, #c49d61 0%, #a67c3d 100%);
    color: white;
}

.ckgsb-leads-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 157, 97, 0.4);
}

.ckgsb-leads-btn:active {
    transform: translateY(0);
}

.ckgsb-leads-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 验证码样式优化 */
.ckgsb-captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ckgsb-captcha-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ckgsb-captcha-input:focus {
    border-color: #c49d61;
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 157, 97, 0.1);
}

.ckgsb-captcha-image {
    height: 46px;
    cursor: pointer;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ckgsb-captcha-image:hover {
    border-color: #c49d61;
    transform: scale(1.05);
}

.ckgsb-captcha-refresh {
    padding: 12px 16px;
    background: linear-gradient(135deg, #c49d61 0%, #a67c3d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ckgsb-captcha-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .ckgsb-leads-form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ckgsb-leads-form-label {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .ckgsb-leads-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .ckgsb-leads-banner {
        height: 100px;
    }
    
    .ckgsb-leads-banner-title {
        font-size: 20px;
    }
    
    .ckgsb-leads-banner-subtitle {
        font-size: 12px;
    }
    
    .ckgsb-leads-modal-body {
        padding: 20px;
    }
    
    .ckgsb-leads-contact-info {
        padding: 15px 20px;
    }
    
    .ckgsb-leads-contact-phone {
        flex-direction: column;
        gap: 10px;
    }
    
    .ckgsb-leads-phone-item {
        width: 100%;
        justify-content: center;
    }
}