/* Lasers Theme - Sci-fi laser beams in deep space */
.theme-lasers {
    /* ============================================================
       Palette — adjust these to restyle everything below
       ============================================================ */
    --theme-primary:       #00D4FF;   /* laser cyan — buttons, headings, borders */
    --theme-primary-mid:   #00AACC;   /* mid cyan */
    --theme-primary-light: #80EAFF;   /* light cyan — disabled, pale accents */
    --theme-accent:        #FF0080;   /* laser magenta — highlights */
    --theme-accent-light:  #FF66B2;   /* lighter magenta */
    --theme-green:         #39FF14;   /* laser green — tertiary highlight */
    --theme-bg:            #0c0c32;   /* card dark navy */
    --theme-text:          #e0eaff;   /* light blue-white body text */
    --theme-text-muted:    #7a95cc;   /* muted blue-gray text */
    --theme-gradient:      linear-gradient(135deg, #080830 0%, #150545 50%, #080830 100%);
    --theme-btn-gradient:  linear-gradient(90deg, #00D4FF, #FF0080);
    --theme-radius-card:   16px;
    --theme-radius-btn:    12px;
    --theme-radius-input:  10px;
    --primary-color:       #00D4FF;   /* bridge for global .text-primary override */

    background: var(--theme-gradient) !important;
    color: var(--theme-text) !important;
    min-height: 100vh !important;
    position: relative;
}

/* Laser beam decorative overlay — faint diagonal beams crossing the page */
.theme-lasers::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(115deg,
            transparent 28%, rgba(0, 212, 255, 0.06) 28.3%, rgba(0, 212, 255, 0.06) 28.7%, transparent 29%,
            transparent 65%, rgba(0, 212, 255, 0.04) 65.2%, rgba(0, 212, 255, 0.04) 65.5%, transparent 65.8%),
        linear-gradient(245deg,
            transparent 20%, rgba(255, 0, 128, 0.05) 20.3%, rgba(255, 0, 128, 0.05) 20.7%, transparent 21%,
            transparent 58%, rgba(255, 0, 128, 0.04) 58.2%, rgba(255, 0, 128, 0.04) 58.5%, transparent 58.8%);
    pointer-events: none;
    z-index: 0;
}

/* Apply to body and all container variants */
body.theme-lasers,
.theme-lasers body,
html.theme-lasers,
body.theme-lasers main,
.form-preview.theme-lasers {
    background: var(--theme-gradient) !important;
    background-attachment: fixed !important;
}

/* Mobile fix */
@media (max-width: 768px) {
    .theme-lasers,
    body.theme-lasers,
    html.theme-lasers {
        background-attachment: scroll !important;
        background-size: cover !important;
    }

    /* Prevent overflow on narrow screens */
    .theme-lasers textarea,
    .theme-lasers .form-control {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ---- Transparent containers ---- */
.theme-lasers .container,
.theme-lasers .container-narrow,
.theme-lasers main,
.theme-lasers .py-2,
.theme-lasers .py-md-5,
.theme-lasers .py-4 {
    background: transparent !important;
}

/* On /respond the container itself has theme-lasers class — keep it transparent so canvas shows */
.theme-lasers.container,
.theme-lasers.container-narrow {
    background: transparent !important;
}

/* ---- Stacking: canvas is z-index:1, content sits above it at z-index:2 (same pattern as celebration) ---- */
.theme-lasers .navbar,
.theme-lasers .card,
.theme-lasers .list-group-item,
.theme-lasers .visual-divider,
.theme-lasers .additional-question-section,
.theme-lasers footer,
.theme-lasers .footer {
    position: relative;
    z-index: 2;
}

/* Additional question sections need their own background so beams don't
   bleed through the gap between the outer div and the card inside it */
.theme-lasers .additional-question-section {
    background: rgba(8, 8, 48, 0.88) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.12), 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    padding: 0 !important;
}

.theme-lasers .additional-question-section:not(:has(.card)) {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* ---- Cards ---- */
.theme-lasers .card {
    background: rgba(8, 8, 48, 0.88) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.12), 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(0, 212, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
}

.theme-lasers .card-body {
    background: transparent !important;
}

/* ---- Typography ---- */

/* Page headings — on dark gradient background */
.theme-lasers h1,
.theme-lasers h2,
.theme-lasers h3,
.theme-lasers h4,
.theme-lasers h5,
.theme-lasers h6 {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Card headings — on dark card background */
.theme-lasers .card h1,
.theme-lasers .card h2,
.theme-lasers .card h3,
.theme-lasers .card h4,
.theme-lasers .card h5,
.theme-lasers .card h6,
.theme-lasers .card .card-title {
    color: var(--theme-primary) !important;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
}

/* Body text — all text nodes inside cards should be bright */
.theme-lasers p,
.theme-lasers .card-text,
.theme-lasers .card p,
.theme-lasers .card span,
.theme-lasers .card li {
    color: var(--theme-text) !important;
}

/* Muted text — brighter than default so it's readable on dark cards */
.theme-lasers .text-muted,
.theme-lasers .form-text {
    color: #a0b8e0 !important;
}

.theme-lasers .form-label {
    color: var(--theme-primary-light) !important;
    font-weight: 600 !important;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.2) !important;
}

.theme-lasers small,
.theme-lasers .small {
    color: #a0b8e0 !important;
}

.theme-lasers label {
    color: var(--theme-text) !important;
}

/* ---- Form Inputs ---- */
/* Light background inputs for readability on dark theme */
.theme-lasers .form-control,
.theme-lasers .form-select,
.theme-lasers textarea {
    background: rgba(230, 240, 255, 0.95) !important;
    border: 2px solid var(--theme-primary) !important;
    color: #1a1a2e !important;
    border-radius: var(--theme-radius-input) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Smaller font for date/time inputs and compact inline selects */
.theme-lasers .date-row-input,
.theme-lasers .time-row-input,
.theme-lasers .timezone-row-select,
.theme-lasers .duration-row-select,
.theme-lasers input[type="date"],
.theme-lasers input[type="time"],
.theme-lasers #futurePeriodType,
.theme-lasers #hideOptionLeadHoursContainer {
    font-size: 14px !important;
}

/* Compact inline selects — smaller border-radius, locked dimensions */
.theme-lasers #futurePeriodType,
.theme-lasers #hideOptionLeadHoursContainer {
    border-radius: 6px !important;
    height: 28px !important;
    padding: 0.25rem 0.5rem !important;
}

/* Timezone global select max-width */
.theme-lasers #globalTimezone {
    max-width: 250px !important;
}

/* Focus state */
.theme-lasers .form-control:focus,
.theme-lasers .form-select:focus,
.theme-lasers textarea:focus {
    border-color: var(--theme-accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.2), 0 0 15px rgba(255, 0, 128, 0.25) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    color: #1a1a2e !important;
}

/* Placeholder */
.theme-lasers ::placeholder {
    color: #5a6a8a !important;
    opacity: 0.8 !important;
}

/* ---- Checkboxes & Radio Buttons ---- */
.theme-lasers .form-check-input {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid var(--theme-primary) !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.3s ease !important;
}

/* CHECKBOX — SQUARE */
.theme-lasers .form-check-input[type="checkbox"] {
    border-radius: 4px !important;
}

/* RADIO — CIRCLE */
.theme-lasers .form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.theme-lasers .form-check-input:checked {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.7) !important;
}

/* Remove white dot from filled radio */
.theme-lasers .form-check-input[type="radio"]:checked {
    background-image: none !important;
}

/* Toggle switches — white thumb via CSS variable */
.theme-lasers .form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
    background-color: rgba(0, 212, 255, 0.25) !important;
    border: 2px solid var(--theme-primary) !important;
    border-radius: 2em !important;
    width: 2em !important;
    height: 1em !important;
}

.theme-lasers .form-switch .form-check-input:checked {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6) !important;
}

.theme-lasers .form-check-label {
    color: var(--theme-text) !important;
    font-weight: 500 !important;
}


/* ---- Primary Buttons ---- */
.theme-lasers .btn-primary,
.theme-lasers button[type="submit"],
.theme-lasers #submitBtn {
    background: var(--theme-btn-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: var(--theme-radius-btn) !important;
    padding: 12px 28px !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 4px 15px rgba(255, 0, 128, 0.2) !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px;
}

.theme-lasers .btn-primary:hover,
.theme-lasers button[type="submit"]:hover,
.theme-lasers #submitBtn:hover {
    background: linear-gradient(90deg, #33DDFF, #FF33A0) !important;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 20px rgba(255, 0, 128, 0.5) !important;
    transform: translateY(-2px) scale(1.02) !important;
    color: #ffffff !important;
}

.theme-lasers .btn-primary:active {
    background: linear-gradient(90deg, #00AACC, #CC0066) !important;
    transform: translateY(0) scale(0.98) !important;
}

.theme-lasers .btn-primary:focus {
    outline: 3px solid rgba(0, 212, 255, 0.5) !important;
    outline-offset: 2px;
}

/* ---- Outline Primary Buttons ---- */
.theme-lasers .btn-outline-primary {
    background: transparent !important;
    border: 2px solid var(--theme-primary) !important;
    color: var(--theme-primary) !important;
    font-weight: 600 !important;
    border-radius: var(--theme-radius-btn) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.2) !important;
}

.theme-lasers .btn-outline-primary:hover {
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: var(--theme-primary-light) !important;
    color: var(--theme-primary-light) !important;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.5) !important;
}

/* Active/checked state for toggle buttons */
.theme-lasers .btn-check:checked + .btn-outline-primary,
.theme-lasers .btn-outline-primary.active {
    background: var(--theme-btn-gradient) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5) !important;
}

.theme-lasers .btn-check:checked + .btn-outline-primary .bi,
.theme-lasers .btn-outline-primary.active .bi {
    color: #ffffff !important;
}

/* ---- Secondary Buttons ---- */
.theme-lasers .btn-outline-secondary {
    background: transparent !important;
    border: 2px solid rgba(0, 212, 255, 0.4) !important;
    color: var(--theme-primary) !important;
    border-radius: var(--theme-radius-btn) !important;
    transition: all 0.3s ease !important;
}

.theme-lasers .btn-outline-secondary:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.3) !important;
}

/* ---- Danger/Accent Buttons ---- */
.theme-lasers .btn-outline-danger {
    color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
    border-width: 2px !important;
    border-radius: var(--theme-radius-btn) !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.theme-lasers .btn-outline-danger:hover {
    background: rgba(255, 0, 128, 0.15) !important;
    color: var(--theme-accent-light) !important;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4) !important;
    transform: translateY(-1px);
}

/* ---- List Items (Options) ---- */
.theme-lasers .list-group-item {
    background: rgba(8, 8, 48, 0.7) !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: var(--theme-radius-card) !important;
    color: var(--theme-text) !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.theme-lasers .list-group-item:hover {
    background: rgba(0, 212, 255, 0.08) !important;
    border-color: rgba(0, 212, 255, 0.5) !important;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px);
}

/* Cyan-to-magenta laser beam accent bar */
.theme-lasers .list-group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
    border-radius: var(--theme-radius-card) 0 0 var(--theme-radius-card);
}

/* Highlighted options — subtle gold tint + glow (matches neon-dark pattern) */
.theme-lasers .list-group-item.option-highlighted {
    background: rgba(255, 176, 0, 0.12) !important;
    border: 2px solid #FFB000 !important;
    box-shadow: 0 0 14px rgba(255, 176, 0, 0.35), 0 0 4px rgba(255, 176, 0, 0.2) !important;
}

.theme-lasers .list-group-item.option-highlighted:hover {
    background: rgba(255, 176, 0, 0.18) !important;
    box-shadow: 0 0 20px rgba(255, 176, 0, 0.5), 0 0 6px rgba(255, 176, 0, 0.3) !important;
}

/* ---- Visual Dividers ---- */
.theme-lasers .visual-divider-label {
    background: rgba(8, 8, 48, 0.9) !important;
    color: var(--theme-primary) !important;
    border: 1px solid rgba(0, 212, 255, 0.5) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.theme-lasers .visual-divider-line {
    background: rgba(0, 212, 255, 0.25) !important;
}

/* ---- Disabled / Taken Options ---- */
.theme-lasers .list-group-item input:disabled + label {
    color: var(--theme-text-muted) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    text-decoration: line-through !important;
}

.theme-lasers .list-group-item input:disabled ~ small {
    color: var(--theme-primary) !important;
    font-weight: 600 !important;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.4) !important;
}

.theme-lasers .list-group-item:has(input:disabled) {
    background: rgba(0, 212, 255, 0.05) !important;
    border-color: rgba(0, 212, 255, 0.15) !important;
    opacity: 0.7 !important;
}

.theme-lasers .list-group-item:has(input:disabled):hover {
    cursor: not-allowed !important;
    transform: none !important;
}

/* ---- Navbar ---- */
.theme-lasers .navbar {
    background: linear-gradient(90deg, #05051a 0%, #0d0535 50%, #05051a 100%) !important;
    border-bottom: 2px solid var(--theme-primary) !important;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35), 0 0 40px rgba(0, 212, 255, 0.08) !important;
}

.theme-lasers .navbar-brand,
.theme-lasers .nav-link {
    color: var(--theme-text) !important;
    font-weight: 600;
}

.theme-lasers .nav-link:hover {
    color: var(--theme-primary) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

/* Brand text */
.theme-lasers .navbar-brand .brand-text-primary {
    color: var(--theme-primary) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.theme-lasers .navbar-brand .brand-text-white {
    color: #ffffff !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2) !important;
}

.theme-lasers .navbar-brand:hover .brand-text-primary {
    color: var(--theme-primary-light) !important;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.9) !important;
}

.theme-lasers .navbar-brand:hover .brand-text-white {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

/* Navbar logo — recolor to cyan */
.theme-lasers .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(700%) hue-rotate(170deg) brightness(105%) contrast(105%);
    transition: filter 0.3s ease !important;
}

.theme-lasers .navbar-brand:hover img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(700%) hue-rotate(170deg) brightness(120%) contrast(105%);
}

/* Mobile hamburger */
.theme-lasers .navbar-toggler {
    border-color: rgba(0, 212, 255, 0.5) !important;
}

.theme-lasers .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2C 212%2C 255%2C 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.theme-lasers .nav-auth-icon {
    color: rgba(0, 212, 255, 0.9) !important;
}

/* ---- Dropdown ---- */
.theme-lasers .dropdown-menu {
    background: rgba(8, 8, 48, 0.97) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2) !important;
}

.theme-lasers .dropdown-item {
    color: var(--theme-text) !important;
}

.theme-lasers .dropdown-item:hover {
    background: rgba(0, 212, 255, 0.15) !important;
    color: var(--theme-primary) !important;
}

/* ---- Modals ---- */
.theme-lasers .modal-backdrop {
    display: none;
}

.theme-lasers .modal-content {
    background: rgba(8, 8, 48, 0.97) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(20px) !important;
}

.theme-lasers .modal-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2) !important;
    padding: 1.5rem 1.5rem 0.75rem !important;
}

.theme-lasers .modal-title {
    color: var(--theme-primary) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4) !important;
}

.theme-lasers .modal-body {
    background: transparent !important;
    color: var(--theme-text) !important;
    padding: 1rem 1.5rem !important;
}

.theme-lasers .modal-footer {
    background: transparent !important;
    border-top: 1px solid rgba(0, 212, 255, 0.2) !important;
    padding: 0.75rem 1.5rem 1.5rem !important;
}

.theme-lasers .btn-close {
    filter: invert(1) !important;
}

/* ---- Alerts ---- */
.theme-lasers .alert {
    background: rgba(8, 8, 48, 0.8) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: var(--theme-text) !important;
}

/* ---- Footer ---- */
.theme-lasers footer,
.theme-lasers .footer {
    background: linear-gradient(90deg, #05051a 0%, #0d0535 100%) !important;
    border-top: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: var(--theme-text-muted) !important;
}

.theme-lasers .footer a,
.theme-lasers .footer a * {
    color: var(--theme-primary) !important;
    font-weight: 600 !important;
}

.theme-lasers .footer a:hover,
.theme-lasers .footer a:hover * {
    color: var(--theme-primary-light) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

/* ---- Editor action bar ---- */
.theme-lasers .editor-action-btn--primary {
    background: var(--theme-btn-gradient) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.theme-lasers .editor-action-btn--primary:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5) !important;
}

/* ---- .text-primary icons ---- */
.theme-lasers .text-primary,
.theme-lasers a.text-primary,
.theme-lasers .btn-link {
    color: var(--theme-primary) !important;
}

/* ---- #ssModal Spreadsheet Modal — complete theme opt-out ---- */

/* Reset everything to dark-on-white */
.theme-lasers #ssModal *,
.theme-lasers #ssModal h1,
.theme-lasers #ssModal h2,
.theme-lasers #ssModal h3,
.theme-lasers #ssModal h4,
.theme-lasers #ssModal h5,
.theme-lasers #ssModal h6,
.theme-lasers #ssModal p,
.theme-lasers #ssModal small,
.theme-lasers #ssModal .text-muted {
    color: #212529 !important;
    text-shadow: none !important;
    filter: none !important;
}

.theme-lasers #ssModal .btn i,
.theme-lasers #ssModal .btn .bi {
    color: inherit !important;
}

.theme-lasers #ssModal .text-danger,
.theme-lasers #ssModal .text-danger i,
.theme-lasers #ssModal .text-danger .bi {
    color: #dc3545 !important;
}

.theme-lasers #ssModal .spreadsheet-delete-row {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
}

.theme-lasers #ssModal .modal-content {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
}

.theme-lasers #ssModal .modal-header {
    background-color: transparent !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding: 1rem !important;
}

.theme-lasers #ssModal .modal-body {
    background-color: transparent !important;
    padding: 1rem !important;
}

.theme-lasers #ssModal .modal-footer {
    background-color: transparent !important;
    border-top: 1px solid #dee2e6 !important;
    padding: 0.75rem !important;
}

/* Apply Changes */
.theme-lasers #ssModal .btn-primary {
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-mid)) !important;
    border: 1px solid var(--theme-primary) !important;
    color: #ffffff !important;
    border-radius: var(--theme-radius-btn) !important;
    padding: 0.25rem 0.75rem !important;
    font-weight: 600 !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4) !important;
    transform: none !important;
}

.theme-lasers #ssModal .btn-primary:hover {
    background: linear-gradient(90deg, var(--theme-primary-light), var(--theme-primary)) !important;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.7) !important;
    transform: none !important;
}

/* Add Row */
.theme-lasers #ssModal .btn-outline-secondary {
    color: #ffffff !important;
    border: 1px solid var(--theme-primary) !important;
    background: var(--theme-primary-mid) !important;
    border-radius: var(--theme-radius-btn) !important;
    padding: 0.25rem 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transform: none !important;
}

.theme-lasers #ssModal .btn-outline-secondary:hover {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4) !important;
    color: #ffffff !important;
    transform: none !important;
}

/* Cancel */
.theme-lasers #ssModal .btn-outline-danger {
    color: var(--theme-accent) !important;
    border: 1px solid var(--theme-accent) !important;
    background: transparent !important;
    border-radius: var(--theme-radius-btn) !important;
    padding: 0.25rem 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transform: none !important;
}

.theme-lasers #ssModal .btn-outline-danger:hover {
    background: rgba(255, 0, 128, 0.12) !important;
    box-shadow: 0 0 8px rgba(255, 0, 128, 0.3) !important;
    color: var(--theme-accent) !important;
    transform: none !important;
}

/* Table inputs */
.theme-lasers #ssModal input,
.theme-lasers #ssModal .form-control {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* ---- Additional question editor — "Required" toggle label ---- */
.theme-lasers .additional-question-settings .form-check-label {
    color: var(--theme-primary-light) !important;
    font-weight: 600 !important;
}

/* Fix vertical alignment of larger radio/checkbox inputs everywhere (excludes toggle switches) */
.theme-lasers .form-check:not(.form-switch) {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.theme-lasers .form-check:not(.form-switch) .form-check-input {
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.theme-lasers .form-check:not(.form-switch) .form-check-label {
    margin-bottom: 0 !important;
}
/* Preserve inline-block display when Bootstrap d-inline-block is used (e.g. Silent Save checkbox) */
.theme-lasers .form-check.d-inline-block:not(.form-switch) {
    display: inline-flex !important;
}

/* ---- Max response number (up/down counter in option rows) ---- */
.theme-lasers .limit-number,
.theme-lasers .response-limit-circle .limit-number {
    color: var(--theme-primary-light) !important;
    font-weight: 600 !important;
}

.theme-lasers .response-limit-circle .limit-btn {
    background: rgba(0, 212, 255, 0.15) !important;
    color: var(--theme-primary) !important;
}

.theme-lasers .response-limit-circle .limit-btn:hover {
    background: rgba(0, 212, 255, 0.3) !important;
    color: var(--theme-primary-light) !important;
}
