/**
 * Zoho CRM Admin Styles
 */

/* Main Sections */
.hvac-zoho-status,
.hvac-zoho-sync,
.hvac-zoho-settings {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sync-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sync-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sync-section h3 {
    margin-top: 0;
}

.sync-status {
    margin-top: 10px;
}

.sync-status .notice {
    margin: 10px 0;
}

#connection-status {
    margin-top: 10px;
}

#connection-status .notice {
    margin: 10px 0;
}

.sync-button {
    margin-top: 10px;
}

code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
}

/* Debug Information Styling */
.hvac-zoho-debug-info {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-left: 4px solid #dc3232;
}

.hvac-zoho-debug-info p {
    margin: 5px 0;
}

.hvac-zoho-debug-info strong {
    color: #23282d;
}

.hvac-zoho-debug-info details {
    margin-top: 10px;
}

.hvac-zoho-debug-info details summary {
    cursor: pointer;
    font-weight: bold;
    color: #0073aa;
    padding: 5px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 5px;
}

.hvac-zoho-debug-info details summary:hover {
    background: #e9e9e9;
}

.hvac-zoho-debug-info pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    background: #f0f0f0;
    padding: 15px;
    max-height: 300px;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

/* Error Notice Improvements */
.notice-error {
    padding: 15px;
}

.notice-error p {
    margin: 0.5em 0;
}

.notice-error p:first-child {
    font-weight: 500;
}

/* Staging Mode Banner */
.notice-info h3 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: #0073aa;
}