/* Switch styling: rounded rectangle, neon, glowing knob with soft blue border */
.bulk-edit-switch, .bulk-edit-checkbox {
    position: relative;
    display: inline-block;
    width: 50px; /* Bold and compact */
    height: 26px; /* Slim for elegance */
    margin: 10px 0 10px 10px; /* Spacing to separate from label */
}
.bulk-edit-switch input, .bulk-edit-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #3a3a3a, #5a5a5a); /* Sleek dark gradient for off state */
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00b7ff; /* Soft blue border */
    border-radius: 6px; /* Rounded rectangle for modern look */
    box-shadow: 0 0 4px rgba(0, 183, 255, 0.4); /* Feathered blue glow */
}
.slider:before {
    position: absolute;
    content: "";
    width: 20px; /* Compact knob */
    height: 20px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(90deg, #a0a0a0, #d0d0d0); /* Subtle metallic gradient for off state */
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00b7ff; /* Soft blue border for knob */
    border-radius: 4px; /* Slightly rounded knob */
    box-shadow: 0 2px 6px rgba(0, 183, 255, 0.3); /* Feathered blue glow */
}
input:checked + .slider {
    background: linear-gradient(90deg, #00ff88, #00b7ff); /* Vibrant neon green to blue */
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.6); /* Stronger glow */
}
input:checked + .slider:before {
    transform: translateX(24px); /* Adjusted for width */
    background: linear-gradient(90deg, #00ff88, #00b7ff); /* Neon gradient to match slider */
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8), 0 0 15px rgba(0, 255, 136, 0.6); /* Intense glowing effect */
    animation: glow-pulse 1.2s infinite ease-in-out; /* Fast, vibrant pulse */
}
input:focus + .slider {
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.4); /* Vibrant focus ring */
}
/* Indeterminate state */
.bulk-edit-switch input[type="checkbox"]:indeterminate + .slider,
.bulk-edit-checkbox input[type="checkbox"]:indeterminate + .slider {
    background: linear-gradient(90deg, #ff9500, #ffcc00); /* Orange-yellow gradient */
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.6); /* Subtle glow */
}
.bulk-edit-switch input[type="checkbox"]:indeterminate + .slider:before,
.bulk-edit-checkbox input[type="checkbox"]:indeterminate + .slider:before {
    transform: translateX(12px); /* Centered for indeterminate */
    background: linear-gradient(90deg, #ff9500, #ffcc00); /* Orange-yellow to match */
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.8), 0 0 15px rgba(255, 149, 0, 0.6); /* Intense glow */
    animation: glow-pulse-indeterminate 1.2s infinite ease-in-out; /* Fast pulse */
}
/* Hover effect for interactivity */
.slider:hover {
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.5); /* Stronger hover glow */
}
/* Glow pulse animations */
@keyframes glow-pulse {
    0% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.8), 0 0 15px rgba(0, 255, 136, 0.6); }
    50% { box-shadow: 0 0 16px rgba(0, 255, 136, 1), 0 0 22px rgba(0, 255, 136, 0.8); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.8), 0 0 15px rgba(0, 255, 136, 0.6); }
}
@keyframes glow-pulse-indeterminate {
    0% { box-shadow: 0 0 10px rgba(255, 149, 0, 0.8), 0 0 15px rgba(255, 149, 0, 0.6); }
    50% { box-shadow: 0 0 16px rgba(255, 149, 0, 1), 0 0 22px rgba(255, 149, 0, 0.8); }
    100% { box-shadow: 0 0 10px rgba(255, 149, 0, 0.8), 0 0 15px rgba(255, 149, 0, 0.6); }
}

/* Select styling: matching the neon, rounded rectangle aesthetic with soft blue border */
.bulk-edit-select select {
    width: 100%;
    max-width: 200px;
    padding: 8px 12px;
    border: 1px solid #00b7ff; /* Soft blue border */
    border-radius: 4px; /* Slightly rounded for balance */
    font-size: 14px;
    font-weight: 500; /* Bold text for impact */
    background: linear-gradient(180deg, #fff, #f5f5f5); /* Subtle gradient for depth */
    color: #1a1a1a; /* Dark text for contrast */
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 4px rgba(0, 183, 255, 0.4); /* Feathered blue glow */
}
.bulk-edit-select select:hover {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); /* Hover glow to match switches */
    transform: translateY(-1px); /* Slight lift for interactivity */
}
.bulk-edit-select select:focus {
    border-color: #00ff88; /* Neon green to match on state */
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.4); /* Matching focus ring */
    outline: none;
}