/* NectoMax Admin Styles */
/* Shared styles loaded on all NectoMax admin pages */

/* Dashboard cards */
.nectomax-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.nectomax-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 16px 20px;
}

.nectomax-card h2 {
    margin-top: 0;
    font-size: 14px;
    font-weight: 600;
}

/* Status dot */
.nectomax-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dba617;
    margin-right: 6px;
}

.nectomax-status-dot.connected {
    background: #00a32a;
}

.nectomax-status-dot.error {
    background: #d63638;
}

/* Progress bar */
.nectomax-progress-bar {
    width: 100%;
    height: 24px;
    background: #f0f0f1;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}

.nectomax-progress-fill {
    height: 100%;
    background: #2271b1;
    border-radius: 12px;
    transition: width 0.3s ease;
}

.nectomax-success {
    color: #00a32a;
    font-size: 16px;
    font-weight: 600;
}

/* Service/city list items */
.nectomax-list-item {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.nectomax-list-item input {
    flex: 1;
}

.nectomax-list-item .remove-item {
    color: #d63638;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 18px;
}

/* Billing page */
.nectomax-plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.nectomax-plan-badge.subscriber { background: #dcfce7; color: #166534; }
.nectomax-plan-badge.paid { background: #dbeafe; color: #1e40af; }
.nectomax-plan-badge.grace { background: #fef9c3; color: #854d0e; }
.nectomax-plan-badge.free { background: #f1f5f9; color: #475569; }

.nectomax-upgrade-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 16px;
}
.nectomax-upgrade-box h3 { margin-top: 0; }

/* Settings page sections */
.nectomax-settings-section {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    margin-bottom: 12px;
}

.nectomax-settings-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    text-align: left;
}

.nectomax-settings-toggle .dashicons {
    transition: transform 0.2s;
    color: #50575e;
}

.nectomax-settings-section.open .nectomax-settings-toggle .dashicons {
    transform: rotate(180deg);
}

.nectomax-settings-body {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid #f0f0f1;
}

.nectomax-settings-section.open .nectomax-settings-body {
    display: block;
}

/* Hours repeater */
.nectomax-hours-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.nectomax-hours-days {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nectomax-hours-days label {
    font-size: 12px;
    white-space: nowrap;
}

.nectomax-hours-row input[type="time"] {
    width: 120px;
}

.remove-hours-row {
    color: #d63638;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 18px;
}

/* Save feedback */
.nectomax-save-ok {
    color: #00a32a;
    font-weight: 600;
    margin-left: 8px;
}

/* Helper text */
.nectomax-helper {
    font-size: 12px;
    color: #646970;
    font-style: italic;
    margin-top: 2px;
}
