/* OSI Multivendor Extension Styles */

.osi-mve-section {
    max-width: 1100px;
    margin: 1.5em 0;
}

.osi-mve-section h2 {
    font-size: 1.4em;
    margin-bottom: 0.8em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.4em;
}

.osi-mve-section h3 {
    font-size: 1.1em;
    margin: 1.2em 0 0.5em;
}

.osi-mve-info {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 0.6em 1em;
    margin-bottom: 1em;
    font-size: 0.95em;
}

/* Tables */
.osi-mve-table {
    border-collapse: collapse;
    width: 100%;
}

.osi-mve-table th,
.osi-mve-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.osi-mve-table thead th {
    background: #f5f5f5;
    font-weight: 600;
}

.osi-mve-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Status badges */
.osi-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: capitalize;
}

.osi-status--approved  { background: #d4edda; color: #155724; }
.osi-status--pending   { background: #fff3cd; color: #856404; }
.osi-status--rejected  { background: #f8d7da; color: #721c24; }
.osi-status--active    { background: #d4edda; color: #155724; }
.osi-status--inactive  { background: #e2e3e5; color: #383d41; }
.osi-status--removed   { background: #f8d7da; color: #721c24; }
.osi-status--none      { background: #e2e3e5; color: #383d41; }

/* Badges */
.osi-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.osi-badge--approved { background: #d4edda; color: #155724; }

/* Toggle checkbox */
.osi-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Form table overrides */
.osi-mve-section .form-table th {
    width: 200px;
}

/* Saved message */
.osi-saved-msg {
    color: #155724;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .osi-mve-table th,
    .osi-mve-table td {
        padding: 6px 8px;
        font-size: 0.9em;
    }
}

/* ---- Context banner (main /shop/ when a reseller is active) -------------- */

.osi-reseller-context-banner {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 0.6em 1em;
    margin-bottom: 1.2em;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
}

.osi-exit-shop {
    margin-left: auto;
    color: #b32d2e;
    text-decoration: none;
    font-size: 0.9em;
}

.osi-exit-shop:hover {
    text-decoration: underline;
}

