/* SwiftCore Vitals - Full Admin Stylesheet */

/* 1. Container & Layout */
.scv-admin-wrap {
    max-width: 800px;
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.scv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.scv-header h1 {
    margin: 0;
    color: #1d2327;
    font-size: 24px;
    font-weight: 600;
}

/* 2. Cards & Sections */
.scv-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.scv-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f1;
}

.scv-toggle-row:last-of-type {
    border-bottom: none;
}

/* 3. Typography */
.scv-toggle-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: #1d2327;
}

.scv-toggle-info p {
    margin: 0;
    color: #646970;
    font-size: 13px;
    line-height: 1.5;
    max-width: 550px;
}

/* 4. Badges */
.scv-badge {
    background: #2271b1;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.scv-pro-badge {
    background: #adff2f;
    color: #000;
}

.scv-badge-warning {
    background: #ffb900;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 5. Advanced Warning Row */
.scv-warning-border {
    border-left: 4px solid #ffb900;
    padding-left: 20px !important;
    background-color: #fffcf5;
}

/* 6. The Toggle Switch Logic */
.scv-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0; /* Voorkomt dat de switch vervormt bij lange teksten */
    margin-left: 20px;
}

.scv-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.scv-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #c3c4c7;
    transition: .3s;
    border-radius: 24px;
}

.scv-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input:checked + .scv-slider {
    background-color: #2271b1;
}

input:focus + .scv-slider {
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.3);
}

input:checked + .scv-slider:before {
    transform: translateX(20px);
}

/* 7. Footer & Buttons */
.scv-save-button {
    margin-top: 10px !important;
}

.scv-pro-box {
    border-left: 4px solid #d63638;
}

.scv-pro-box h4 {
    color: #adff2f;
}

/* Pro styles */
/* Styling voor de Pro-slotjes */
.scv-pro-locked {
    cursor: not-allowed;
}

.scv-pro-locked .scv-toggle-info {
    opacity: 0.6;
}

.scv-pro-locked .scv-upgrade-link {
    background: #adff2f;
    color: #1d2327;
    padding: 4px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    pointer-events: auto; /* Zorg dat de link wél klikbaar blijft */
}