/* TAB - CONTACT FORM SETTINGS */
.chatbot-contact-form-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: none;
}

.chatbot-contact-form-section .description {
    margin-bottom: 10px;
    color: #64748b;
}

/* Clean up top table styles */
.chatbot-contact-form-section form>.form-table {
    border: none;
    background: transparent;
    margin-bottom: 20px;
}

.chatbot-contact-form-section form>.form-table th,
.chatbot-contact-form-section form>.form-table td {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.chatbot-contact-form-section form>.form-table tr:last-child th,
.chatbot-contact-form-section form>.form-table tr:last-child td {
    border-bottom: none;
}

/* Contact Form Collapsible Settings (Master Toggle Wrapper) */
.contact-form-settings-collapsible {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.contact-form-settings-collapsible.active {
    max-height: 5000px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.3s ease-in;
}



/* Score Guide Styling */
.score-guide {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.score-guide strong {
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.score-guide-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px 15px;
    background: #ffffff;
    border-radius: 6px;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.score-guide-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.score-guide-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.score-guide-range {
    display: inline-block;
    min-width: 70px;
    font-weight: 600;
    color: #3b82f6;
    font-size: 13px;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 12px;
    text-align: center;
}

.score-guide-description {
    flex-grow: 1;
    color: #64748b;
    font-size: 13px;
}

.score-guide-note {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 4px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

.score-guide-note strong {
    color: #b45309;
    font-weight: 600;
}

/* Utility to ensure instruction content has good spacing */
.instruction-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.instruction-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
}

.instruction-content h5 {
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 15px;
}

.instruction-content pre {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc !important;
    color: #334155;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 13px;
    padding: 12px;
}