/**
 * HVAC Community Events Admin Styles
 */

/* Admin page wrapper */
.hvac-admin-wrap {
    margin: 20px 20px 20px 0;
}

/* Settings tabs */
.hvac-admin-tabs {
    margin-bottom: 20px;
}

.hvac-admin-tabs .nav-tab-wrapper {
    margin-bottom: 0;
}

/* Settings form */
.hvac-settings-form {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.hvac-settings-form h2 {
    margin-top: 0;
    padding-top: 0;
}

.hvac-settings-form table.form-table {
    margin-top: 0;
}

/* Notifications */
.hvac-notice {
    margin: 15px 0;
}

/* Zoho admin specific */
.zoho-connection-status {
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
}

.zoho-connection-status.connected {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.zoho-connection-status.disconnected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Prevent duplicate content */
.wrap > .wrap {
    display: none !important;
}

/* Fix for duplicate rendering */
.hvac-admin-content-wrapper {
    display: block;
}

.hvac-admin-content-wrapper ~ .hvac-admin-content-wrapper {
    display: none !important;
}