.jb-suite-settings-tabs {
    display: flex;
    gap: 12px;
    border-top: 1px solid #e5e1d9;
    padding-top: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.jb-suite-settings-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d9d6cc;
    text-decoration: none;
    font-size: 13px;
    color: #1f2937;
    background: #fff;
}

.jb-suite-settings-tab.is-active {
    border-color: #1d4ed8;
    color: #1d4ed8;
    font-weight: 600;
}

.jb-suite-file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    gap: 10px;
    text-align: center;
    background: #fff;
    position: relative;
}

.jb-suite-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.jb-suite-file-upload-label {
    display: grid;
    gap: 6px;
    justify-items: center;
    font-size: 13px;
    color: #6b7280;
}

.jb-suite-file-upload-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.jb-suite-file-upload-icon svg {
    width: 20px;
    height: 20px;
}

.jb-suite-file-upload-label strong {
    font-size: 16px;
    color: #111827;
}

.jb-suite-file-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 8px;
    background: #0b5fff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.jb-suite-file-upload-name {
    font-size: 12px;
    color: #6b7280;
}

.jb-suite-cv-remove-btn {
    justify-self: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    cursor: pointer;
}

.jb-suite-cv-remove-btn:hover {
    background: #f8fafc;
}

.jb-suite-settings-logo {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 1px solid #e5e1d9;
}

.jb-suite-settings-logo-wrap {
    position: relative;
    width: fit-content;
}

.jb-suite-settings-logo-wrap input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.jb-suite-settings-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #111827;
    text-transform: none;
    letter-spacing: 0;
}

.jb-suite-settings-switch input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.jb-suite-settings-switch-readonly {
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 6px;
}

.jb-suite-settings-switch-readonly strong {
    color: #1b5e20;
    font-weight: 600;
}

.jb-suite-settings-toggle-list {
    margin-top: 8px;
    border-top: 1px solid #e5e1d9;
}

.jb-suite-settings-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e1d9;
}

.jb-suite-settings-toggle-copy h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.jb-suite-settings-toggle-copy p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.jb-suite-settings-toggle-controls {
    flex: 0 0 auto;
}

.jb-suite-settings-toggle-always {
    font-size: 14px;
    font-weight: 600;
    color: #1b5e20;
}

.jb-suite-settings-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.jb-suite-settings-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jb-suite-settings-toggle-state {
    min-width: 24px;
    text-align: right;
    font-size: 14px;
    color: #4b5563;
}

.jb-suite-settings-toggle-state .is-on {
    display: none;
}

.jb-suite-settings-toggle-state .is-off {
    display: inline;
}

.jb-suite-settings-toggle-track {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    transition: background-color 0.2s ease;
}

.jb-suite-settings-toggle-track::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.jb-suite-settings-toggle input:checked + .jb-suite-settings-toggle-state .is-on {
    display: inline;
}

.jb-suite-settings-toggle input:checked + .jb-suite-settings-toggle-state .is-off {
    display: none;
}

.jb-suite-settings-toggle input:checked ~ .jb-suite-settings-toggle-track {
    background: #16a34a;
}

.jb-suite-settings-toggle input:checked ~ .jb-suite-settings-toggle-track::before {
    transform: translateX(18px);
}

@media (max-width: 640px) {
    .jb-suite-settings-toggle-row {
        gap: 12px;
    }

    .jb-suite-settings-toggle-copy h4 {
        font-size: 16px;
    }

    .jb-suite-settings-toggle-copy p {
        font-size: 13px;
    }
}

.jb-suite-settings-logo-label {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.jb-suite-settings-logo-icon {
    position: absolute;
    right: -6px;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e1d9;
}
