/* Estilos para o Modal e Colunas Arrastáveis */

.column-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: grab;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.column-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.column-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(2deg);
}

.column-item.drag-over {
    border-top: 3px solid #007bff;
    background-color: #e3f2fd;
}

.drag-handle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 12px;
    cursor: grab;
}

.drag-handle .dot {
    width: 4px;
    height: 4px;
    background-color: #6c757d;
    border-radius: 50%;
}

.column-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.column-label {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

.column-default {
    font-size: 12px;
    color: #6c757d;
    margin-left: 8px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .toggle-slider {
    background-color: #007bff;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
}

.container-custom {
    max-width: 400px;
    margin: 40px auto;
    padding: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-lg-custom {
    max-width: 900px;
}

.preferences-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    min-height: 500px;
}

.page-size-option {
    margin-bottom: 12px;
}

.page-size-option input[type="radio"] {
    margin-right: 8px;
}

.page-size-label {
    font-weight: 500;
    margin-bottom: 16px;
    color: #212529;
}

.columns-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}
/* Estado: Marcado E Desabilitado */
input:checked:disabled + .toggle-slider {
    background-color: #a0c4ff; /* Um azul bem mais claro/lavado que o original */
    cursor: not-allowed;
    opacity: 0.8;
}

/* Ajuste da bolinha interna no estado desabilitado */
input:disabled + .toggle-slider:before {
    background-color: #f8f9fa;
    cursor: not-allowed;
}