/* eSauti for WooCommerce - Admin Styles */

.esauti-wc-settings {
    max-width: 1200px;
}

.esauti-wc-settings .nav-tab-wrapper {
    margin: 20px 0;
}

.esauti-wc-settings .tab-content {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-top: none;
    margin-bottom: 20px;
}

.esauti-wc-settings .form-table th {
    width: 250px;
    font-weight: 600;
}

.esauti-wc-settings .form-table td {
    padding: 15px 10px;
}

.esauti-wc-settings .form-table p.description {
    color: #646970;
    font-size: 13px;
    margin-top: 5px;
}

/* Connection status */
#connection-status {
    margin-left: 10px;
    font-weight: 600;
}

#connection-status.success {
    color: #008a00;
}

#connection-status.error {
    color: #d63638;
}

#connection-status .spinner {
    float: none;
    margin: 0;
    visibility: visible;
}

/* Queue statistics */
.esauti-wc-settings .widefat th,
.esauti-wc-settings .widefat td {
    padding: 10px;
}

.esauti-wc-settings .widefat th {
    font-weight: 600;
    width: 200px;
}

/* Logs */
#logs-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

#logs-container table {
    margin: 0;
}

.log-level-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.log-level-badge.log-error {
    background: #d63638;
    color: #fff;
}

.log-level-badge.log-warning {
    background: #dba617;
    color: #fff;
}

.log-level-badge.log-info {
    background: #2271b1;
    color: #fff;
}

.log-level-badge.log-debug {
    background: #646970;
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .esauti-wc-settings .form-table th {
        width: auto;
    }
}

/* Loading spinner */
.esauti-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Notice styles */
.esauti-notice {
    margin: 15px 0;
    padding: 12px;
    border-left: 4px solid;
    background: #fff;
}

.esauti-notice.success {
    border-color: #00a32a;
}

.esauti-notice.error {
    border-color: #d63638;
}

.esauti-notice.info {
    border-color: #2271b1;
}

/* Button spacing */
.esauti-wc-settings p.submit {
    position: sticky;
    bottom: 0;
    background: #f0f0f1;
    padding: 15px;
    margin: 0 -20px -20px;
    border-top: 1px solid #ccd0d4;
}

