@charset "UTF-8";

/* ============================================
   Template 16 - Modern Warm Elegant Style
   Distinctive terracotta/coral aesthetic
   ============================================ */

:root {
    --cff16-primary: #e07a5f;
    --cff16-primary-dark: #c9604a;
    --cff16-primary-light: #eda080;
    --cff16-accent: #3d405b;
    --cff16-bg: #fdfcf8;
    --cff16-surface: #ffffff;
    --cff16-surface-warm: #fefaf5;
    --cff16-text: #2d2d2d;
    --cff16-text-muted: #6b6b6b;
    --cff16-border: #e8e4dc;
    --cff16-border-focus: #e07a5f;
    --cff16-shadow-sm: 0 2px 8px rgba(224, 122, 95, 0.08);
    --cff16-shadow-md: 0 8px 24px rgba(224, 122, 95, 0.12);
    --cff16-shadow-lg: 0 16px 48px rgba(224, 122, 95, 0.16);
    --cff16-radius: 16px;
    --cff16-radius-sm: 10px;
    --cff16-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#cff_ai_assistant_bubble,
.cp_cff_16 #fbuilder * {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   Form Container
   ============================================ */

.cp_cff_16 #fbuilder {
    background: linear-gradient(160deg, #fefaf5 0%, #fdfcf8 50%, #faf7f0 100%);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--cff16-shadow-md);
    position: relative;
    overflow: hidden;
}

.cp_cff_16 #fbuilder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--cff16-primary) 0%, var(--cff16-primary-light) 50%, var(--cff16-accent) 100%);
}

.cp_cff_16 #fbuilder::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   Form Header
   ============================================ */

.cp_cff_16 #fbuilder .fform {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.cp_cff_16 #fbuilder .fform span {
    font-size: 16px;
    color: var(--cff16-text-muted);
    font-weight: 400;
    font-style: italic;
}

.cp_cff_16 #fbuilder h1,
.cp_cff_16 #fbuilder h2,
.cp_cff_16 #fbuilder h3,
.cp_cff_16 #fbuilder h4,
.cp_cff_16 #fbuilder h5,
.cp_cff_16 #fbuilder h6,
.cp_cff_16 #fbuilder .fform p {
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--cff16-accent);
}

.cp_cff_16 #fbuilder h1 { font-size: 28px; }
.cp_cff_16 #fbuilder h2 { font-size: 24px; }
.cp_cff_16 #fbuilder h3 { font-size: 20px; }
.cp_cff_16 #fbuilder h4 { font-size: 18px; }
.cp_cff_16 #fbuilder h5 { font-size: 16px; }
.cp_cff_16 #fbuilder h6 { font-size: 14px; }

/* ============================================
   Form Fields - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .pbreak>fieldset { margin: 0 !important; }

.cp_cff_16 #fbuilder {
    position: relative;
    animation: cff16_fieldFadeIn 0.5s ease forwards;
}

@keyframes cff16_fieldFadeIn {
    from {
        opacity: 0;
        margin-top: 20px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

.cp_cff_16 #fbuilder .fields:nth-child(1) { animation-delay: 0.08s; }
.cp_cff_16 #fbuilder .fields:nth-child(2) { animation-delay: 0.16s; }
.cp_cff_16 #fbuilder .fields:nth-child(3) { animation-delay: 0.24s; }
.cp_cff_16 #fbuilder .fields:nth-child(4) { animation-delay: 0.32s; }
.cp_cff_16 #fbuilder .fields:nth-child(5) { animation-delay: 0.4s; }
.cp_cff_16 #fbuilder .fields:nth-child(6) { animation-delay: 0.48s; }
.cp_cff_16 #fbuilder .fields:nth-child(7) { animation-delay: 0.56s; }
.cp_cff_16 #fbuilder .fields:nth-child(8) { animation-delay: 0.64s; }

.cp_cff_16 #fbuilder input[type="text"],
.cp_cff_16 #fbuilder input[type="password"],
.cp_cff_16 #fbuilder input[type="date"],
.cp_cff_16 #fbuilder input[type="datetime"],
.cp_cff_16 #fbuilder input[type="email"],
.cp_cff_16 #fbuilder input[type="number"],
.cp_cff_16 #fbuilder input[type="search"],
.cp_cff_16 #fbuilder input[type="tel"],
.cp_cff_16 #fbuilder input[type="time"],
.cp_cff_16 #fbuilder input[type="url"],
.cp_cff_16 #fbuilder input[type="week"],
.cp_cff_16 #fbuilder input[type="color"],
.cp_cff_16 #fbuilder select,
.cp_cff_16 #fbuilder textarea,
.cp_cff_16 #fbuilder .select2-selection {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--cff16-text);
    background-color: var(--cff16-surface);
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    padding: 10px 16px;
    margin: 0;
    min-height: 56px;
    transition: var(--cff16-transition);
    box-shadow: var(--cff16-shadow-sm);
}

.cp_cff_16 #fbuilder input[type="text"]:focus,
.cp_cff_16 #fbuilder input[type="password"]:focus,
.cp_cff_16 #fbuilder input[type="date"]:focus,
.cp_cff_16 #fbuilder input[type="datetime"]:focus,
.cp_cff_16 #fbuilder input[type="email"]:focus,
.cp_cff_16 #fbuilder input[type="number"]:focus,
.cp_cff_16 #fbuilder input[type="search"]:focus,
.cp_cff_16 #fbuilder input[type="tel"]:focus,
.cp_cff_16 #fbuilder input[type="time"]:focus,
.cp_cff_16 #fbuilder input[type="url"]:focus,
.cp_cff_16 #fbuilder input[type="week"]:focus,
.cp_cff_16 #fbuilder input[type="color"]:focus,
.cp_cff_16 #fbuilder select:focus,
.cp_cff_16 #fbuilder textarea:focus,
.cp_cff_16 #fbuilder .select2-selection:focus {
    border-color: var(--cff16-border-focus);
    outline: none;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.2), var(--cff16-shadow-sm);
    transform: translateY(-2px);
}

.cp_cff_16 #fbuilder input[type="text"]:hover,
.cp_cff_16 #fbuilder input[type="password"]:hover,
.cp_cff_16 #fbuilder input[type="date"]:hover,
.cp_cff_16 #fbuilder input[type="datetime"]:hover,
.cp_cff_16 #fbuilder input[type="email"]:hover,
.cp_cff_16 #fbuilder input[type="number"]:hover,
.cp_cff_16 #fbuilder input[type="search"]:hover,
.cp_cff_16 #fbuilder input[type="tel"]:hover,
.cp_cff_16 #fbuilder input[type="time"]:hover,
.cp_cff_16 #fbuilder input[type="url"]:hover,
.cp_cff_16 #fbuilder input[type="week"]:hover,
.cp_cff_16 #fbuilder input[type="color"]:hover,
.cp_cff_16 #fbuilder select:hover,
.cp_cff_16 #fbuilder textarea:hover,
.cp_cff_16 #fbuilder .select2-selection:hover {
    border-color: var(--cff16-primary-light);
}

/* Readonly and disabled states */
.cp_cff_16 #fbuilder input[readonly],
.cp_cff_16 #fbuilder textarea[readonly] {
    background-color: var(--cff16-surface-warm);
    color: var(--cff16-text-muted);
    border-color: var(--cff16-border);
}

.cp_cff_16 #fbuilder input:disabled,
.cp_cff_16 #fbuilder select:disabled,
.cp_cff_16 #fbuilder textarea:disabled {
    background-color: var(--cff16-surface-warm);
    border-color: var(--cff16-border);
    color: var(--cff16-text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ============================================
   Labels - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .fields>label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--cff16-text);
    letter-spacing: 0.01em;
}

.cp_cff_16 #fbuilder .fields.section_breaks>label {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--cff16-accent);
    margin: 20px 0 0 0;
    letter-spacing: -0.01em;
}

.cp_cff_16 #fbuilder .fields.section_breaks .section_break { border: none; margin-top: 0; }

.cp_cff_16 #fbuilder .fields.section_breaks>label:not(:empty)::before {
    content: "◆";
    color: var(--cff16-primary-light);
    margin-right: 10px;
}

/* ============================================
   Checkboxes and Radio Buttons
   ============================================ */

.cp_cff_16 #fbuilder input[type="checkbox"]:not(:checked) {
    -webkit-appearance: none !important;
    appearance: none !important;
}

.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="radio"]:not(:checked) {
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 50%;
}

.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="checkbox"],
.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0 12px 0 0;
    cursor: pointer;
    accent-color: var(--cff16-primary);
    border-radius: 6px;
    border: 2px solid var(--cff16-border);
    background: var(--cff16-surface);
    padding: 0;
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="checkbox"]:hover,
.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="radio"]:hover {
    border-color: var(--cff16-primary);
    transform: scale(1.05);
}

.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="checkbox"]:checked,
.cp_cff_16 #fbuilder .fields:not(.cff-switch-container) input[type="radio"]:checked {
    background: var(--cff16-primary);
    border-color: var(--cff16-primary);
}

.cp_cff_16 #fbuilder .cff-switch-container .dfield label>span:not(.cff-switch) { width: initial; }

.cp_cff_16 #fbuilder .cff-radiobutton-field .dfield label,
.cp_cff_16 #fbuilder .cff-checkbox-field .dfield label {
    display: inline-flex;
    align-items: center;
}

.cp_cff_16 #fbuilder .cff-radiobutton-field .one_column,
.cp_cff_16 #fbuilder .cff-checkbox-field .one_column { margin-bottom: 16px; }

/* Quantity field for checkboxes */
.cp_cff_16 #fbuilder .cff-checkbox-field span:not(.cff-checkbox-field-quantity):not(.cff-switch) { flex-grow: 1; }

.cp_cff_16 #fbuilder .cff-checkbox-field .cff-checkbox-field-quantity {
    display: inline-flex;
    align-items: center;
    margin-left: 14px;
    vertical-align: middle;
}

.cp_cff_16 #fbuilder .cff-checkbox-field-quantity input[type="number"] {
    width: 120px !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
    border: 2px solid var(--cff16-border) !important;
    border-radius: var(--cff16-radius-sm) !important;
    background: var(--cff16-surface) !important;
    color: var(--cff16-text) !important;
    transition: var(--cff16-transition) !important;
    margin: 0 !important;
    text-align: center;
    box-shadow: var(--cff16-shadow-sm) !important;
}

.cp_cff_16 #fbuilder .cff-checkbox-field-quantity input[type="number"]:focus {
    border-color: var(--cff16-primary) !important;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.2) !important;
    outline: none;
    transform: none !important;
}

.cp_cff_16 #fbuilder .cff-checkbox-field-quantity input[type="number"]::-webkit-inner-spin-button,
.cp_cff_16 #fbuilder .cff-checkbox-field-quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cp_cff_16 #fbuilder .cff-quantity-when-ticked .cff-checkbox-field-quantity {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cp_cff_16 #fbuilder .cff-quantity-when-ticked input[type="checkbox"]:checked ~ .cff-checkbox-field-quantity {
    opacity: 1;
}

/* Checkbox with quantity container */
.cp_cff_16 #fbuilder .cff-checkbox-field .one_column > label {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: none;
}

/* Switch container */
.cp_cff_16 #fbuilder .cff-switch-container input:checked+span.cff-switch {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
}

/* ============================================
   Calculated Fields
   ============================================ */

.cp_cff_16 #fbuilder .cff-calculated-field input[readonly] {
    background: linear-gradient(135deg, #fef6f3 0%, #fdf0eb 100%);
    border: 2px solid var(--cff16-primary);
    color: var(--cff16-primary-dark) !important;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}

/* ============================================
   Buttons - Elegant Style
   ============================================ */

#cff_ai_assistant_use_suggestion,
.cp_cff_16 #fbuilder input[type=file]::file-selector-button,
.cp_cff_16 #fbuilder .pbSubmit,
.cp_cff_16 #fbuilder .pbreak .pbPrevious,
.cp_cff_16 #fbuilder .pbreak .pbNext,
.cp_cff_16 #fbuilder button:not([class*="trumbowyg"]),
.cp_cff_16 #fbuilder input[type="submit"],
.cp_cff_16 #fbuilder input[type="button"],
.cp_cff_16 #fbuilder input[type="reset"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 16px 32px;
    min-height: 56px;
    cursor: pointer;
    border: none;
    border-radius: var(--cff16-radius-sm);
    white-space: nowrap;
    box-sizing: border-box;
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder input[type=file]::file-selector-button {
    margin-right: 14px;
    background: var(--cff16-surface);
    border: 2px solid var(--cff16-border);
    color: var(--cff16-text);
}

.cp_cff_16 #fbuilder .pbSubmit,
.cp_cff_16 #fbuilder input[type="submit"],
.cp_cff_16 #fbuilder input[type="button"] {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
    color: #ffffff;
}

.cp_cff_16 #fbuilder input[type="submit"]:hover,
.cp_cff_16 #fbuilder input[type="button"]:hover,
.cp_cff_16 #fbuilder .pbSubmit:hover,
.cp_cff_16 #fbuilder button:not([class*="trumbowyg"]):hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--cff16-primary-light) 0%, var(--cff16-primary-dark) 100%);
}

.cp_cff_16 #fbuilder input[type="reset"] {
    background: var(--cff16-surface);
    color: var(--cff16-text-muted);
    border: 2px solid var(--cff16-border);
}

.cp_cff_16 #fbuilder input[type="reset"]:hover {
    background: var(--cff16-surface-warm);
    color: var(--cff16-primary);
    border-color: var(--cff16-primary);
}

.cp_cff_16 #fbuilder .pbreak .pbPrevious,
.cp_cff_16 #fbuilder .pbreak .pbNext {
    background: linear-gradient(135deg, var(--cff16-accent) 0%, #2a2a3a 100%);
    color: #ffffff;
}

.cp_cff_16 #fbuilder .pbreak .pbPrevious:hover,
.cp_cff_16 #fbuilder .pbreak .pbNext:hover {
    transform: translateY(-3px);
    box-shadow: var(--cff16-shadow-md);
    background: linear-gradient(135deg, #5a5a7a 0%, #2a2a3a 100%);
}

#cff_ai_assistant_use_suggestion {
    background: linear-gradient(135deg, var(--cff16-accent) 0%, #2a2a3a 100%);
    color: #fff;
}

#cff_ai_assistant_use_suggestion:hover {
    background: linear-gradient(135deg, #5a5a7a 0%, #2a2a3a 100%);
    transform: translateY(-3px);
    box-shadow: var(--cff16-shadow-md);
}

#cff_ai_assistant_use_suggestion:hover,
.cp_cff_16 #fbuilder .pbSubmit:hover,
.cp_cff_16 #fbuilder .pbreak .pbPrevious:hover,
.cp_cff_16 #fbuilder .pbreak .pbNext:hover,
.cp_cff_16 #fbuilder button:not([class*="trumbowyg"]):hover,
.cp_cff_16 #fbuilder input[type="submit"]:hover,
.cp_cff_16 #fbuilder input[type="button"]:hover,
.cp_cff_16 #fbuilder input[type="reset"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--cff16-shadow-md);
}

.cp_cff_16 #fbuilder .pbEnd .pbNext,
.cp_cff_16 #fbuilder .pb0 .pbPrevious { display: none; }

/* ============================================
   Required Indicator
   ============================================ */

.cp_cff_16 #fbuilder .r { color: #FF0000; }

/* ============================================
   Fieldset and Legends
   ============================================ */

.cp_cff_16 #fbuilder fieldset {
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius);
    padding: 28px;
    margin: 28px 0;
    background: var(--cff16-surface);
}

.cp_cff_16 #fbuilder fieldset legend {
    font-weight: 600;
    color: var(--cff16-accent);
    padding: 5px 14px;
    font-size: 16px;
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    background: var(--cff16-surface);
}

/* ============================================
   Slider - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .slider-type-components { margin-bottom: 20px; }

.cp_cff_16 #fbuilder .slider {
    background: var(--cff16-border);
    border-radius: 20px;
    border: none;
    height: 10px;
}

.cp_cff_16 #fbuilder .ui-slider-range {
    background: linear-gradient(90deg, var(--cff16-primary) 0%, var(--cff16-primary-light) 100%);
    border-radius: 20px;
}

.cp_cff_16 #fbuilder .ui-slider-handle {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
    border: 4px solid #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    box-shadow: var(--cff16-shadow-md);
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    top: -9px;
}

.cp_cff_16 #fbuilder .ui-slider-handle:hover {
    transform: scale(1.2);
    box-shadow: var(--cff16-shadow-lg);
}

.cp_cff_16 #fbuilder .ui-slider-handle:focus {
    box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.2), var(--cff16-shadow-md);
    outline: none;
}

.cp_cff_16 #fbuilder .cff-slider-field .mark {
    font-size: 13px;
    color: var(--cff16-text-muted);
    font-weight: 500;
}

.cp_cff_16 #fbuilder span.uh {
    font-size: 13px;
    font-style: italic;
    color: var(--cff16-text-muted);
}

/* ============================================
   Summary - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .cff-summary-field .cff-summary-title { font-weight: 600; }

/* ============================================
   File Upload - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .cff-file-field input {
    border: 2px dashed var(--cff16-border);
    padding: 40px;
    border-radius: var(--cff16-radius);
    background: var(--cff16-surface-warm);
}

.cp_cff_16 #fbuilder .cff-file-field input:hover {
    border-color: var(--cff16-primary);
    background: #fef6f3;
}

.cp_cff_16 #fbuilder .cff-file-field .cff-file-field-container {
    border: 2px dashed var(--cff16-border);
    border-radius: var(--cff16-radius);
    background-color: var(--cff16-surface-warm);
    padding: 40px;
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder .cff-file-field .cff-file-field-container:hover {
    border-color: var(--cff16-primary);
    background: #fef6f3;
    transform: scale(1.01);
}

.cp_cff_16 #fbuilder span.files-list img { border-color: var(--cff16-border); }
.cp_cff_16 #fbuilder .cff-file-clearer { color: var(--cff16-text-muted); }
.cp_cff_16 #fbuilder .cff-file-clearer:hover { color: var(--cff16-primary); }

/* ============================================
   Select2 - Elegant Style
   ============================================ */

.cp_cff_16 #fbuilder .select2-selection {
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    min-height: 56px;
    padding: 10px 16px;
    background: var(--cff16-surface);
    box-shadow: var(--cff16-shadow-sm);
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder .select2-selection:hover { border-color: var(--cff16-primary-light); }

.cp_cff_16 #fbuilder .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    font-size: 16px;
}

.cp_cff_16 #fbuilder .select2-selection__arrow {
    min-height: 56px;
    width: 44px;
}

.cp_cff_16 #fbuilder .select2-selection__arrow b {
    border-color: var(--cff16-text-muted) transparent transparent transparent;
}

.cp_cff_16 #fbuilder .select2-dropdown {
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    box-shadow: var(--cff16-shadow-lg);
    overflow: hidden;
}

.cp_cff_16 #fbuilder .select2-selection:not(.select2-selection--multiple) .select2-search__field {
    border: 1px solid var(--cff16-border) !important;
    border-radius: var(--cff16-radius-sm);
    padding: 14px;
    font-size: 15px;
}

.cp_cff_16 #fbuilder .select2-results__option--highlighted {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
}

.cp_cff_16 #fbuilder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--cff16-primary-light);
}

.cp_cff_16 #fbuilder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--cff16-surface);
}

.cp_cff_16 #fbuilder .select2-selection__choice {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    color: #ffffff;
    font-weight: 500;
}

/* ============================================
   Spinner
   ============================================ */

.cp_cff_16 #fbuilder .cff-spinner .cff-spinner-down,
.cp_cff_16 #fbuilder .cff-spinner .cff-spinner-up {
    padding: 12px 16px;
    background: var(--cff16-surface);
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder .cff-spinner .cff-spinner-down:hover,
.cp_cff_16 #fbuilder .cff-spinner .cff-spinner-up:hover {
    background: var(--cff16-surface-warm);
    border-color: var(--cff16-primary);
    color: var(--cff16-primary);
}

/* ============================================
   Error Messages
   ============================================ */

.cp_cff_16 #fbuilder .r {
    color: var(--cff16-primary);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    line-height: 1px;
}

.cp_cff_16 #fbuilder .cpefb_error:not(.message):not(input[type="checkbox"]):not(input[type="radio"]),
.cp_cff_16 #fbuilder .dfield:has(input.cpefb_error, textarea.cpefb_error, select.cpefb_error) input:not([type="checkbox"]):not([type="radio"]),
.cp_cff_16 #fbuilder .dfield:has(input.cpefb_error, textarea.cpefb_error, select.cpefb_error) select {
    border-width: 2px !important;
}

.cp_cff_16 #fbuilder div.cpefb_error {
    color: var(--cff16-bg);
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

/* ============================================
   Discount Container
   ============================================ */

.cp_cff_16 #fbuilder .discount-container {
    margin-top: 18px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fef6f3 0%, #fdf0eb 100%);
    border: 2px solid var(--cff16-primary);
    border-radius: var(--cff16-radius-sm);
    font-weight: 600;
    color: var(--cff16-primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================
   Help and Audio Icons
   ============================================ */

.cp_cff_16 #fbuilder .cff-help-icon::before,
.cp_cff_16 #fbuilder .cff-audio-icon::before {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%) !important;
    width: 24px;
    height: 24px;
    font-size: 13px;
    box-shadow: var(--cff16-shadow-sm);
    line-height: 24px;
}

.uh-tooltip {
    border-color: var(--cff16-primary) !important;
    box-shadow: var(--cff16-shadow-md) !important;
}

/* ============================================
   Popups and Containers
   ============================================ */

.cp_cff_16 #fbuilder .cff-popup-container {
    background: var(--cff16-surface);
    border-radius: var(--cff16-radius-sm);
    box-shadow: var(--cff16-shadow-lg);
    border: 1px solid var(--cff16-border);
}

.cp_cff_16 #fbuilder .cff-popup-close {
    color: var(--cff16-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--cff16-transition);
}

.cp_cff_16 #fbuilder .cff-popup-close:hover {
    background: var(--cff16-surface-warm);
    color: var(--cff16-primary-dark);
}

.cp_cff_16 #fbuilder .cff-popup-header {
    background: var(--cff16-surface-warm);
    border-bottom: 2px solid var(--cff16-border);
}

.cp_cff_16 #fbuilder .cff-popup-header:not(:empty) { min-height: 36px; }
.cp_cff_16 #fbuilder .cff-popup-title { font-weight: 600; color: var(--cff16-text); }

/* ============================================
   Data Table
   ============================================ */

.cp_cff_16 #fbuilder .cff-datatable-field .dataTables_filter input { margin-left: 10px; }
.cp_cff_16 #fbuilder .cff-datatable-field .dataTables_length select { margin-left: 10px; margin-right: 10px; }

.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable.no-footer,
.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable thead th,
.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable thead td {
    border-bottom: 2px solid var(--cff16-primary-light);
}

.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable tbody td { border-color: var(--cff16-border); }
.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable tbody .odd td { background: var(--cff16-surface-warm); }
.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable tbody .selected td { background: var(--cff16-primary); color: white; }

.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable tbody tr:not(.selected):hover td {
    background: var(--cff16-primary-light);
    color: white;
}

.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable thead .sorting_asc,
.cp_cff_16 #fbuilder .cff-datatable-field table.dataTable thead .sorting_desc {
    filter: sepia(100%) saturate(300%) hue-rotate(330deg) brightness(0.9);
}

.cp_cff_16 #fbuilder .cff-datatable-field .paginate_button:not(.previous):not(.next) {
    border: 1px solid var(--cff16-border);
    background: var(--cff16-surface);
}

.cp_cff_16 #fbuilder .cff-datatable-field .paginate_button.current {
    background: var(--cff16-surface-warm) !important;
    border-color: var(--cff16-primary) !important;
}

/* ============================================
   Time Slots
   ============================================ */

.cp_cff_16 #fbuilder .cff-timeslot {
    border: 2px solid var(--cff16-border);
    border-radius: var(--cff16-radius-sm);
    padding: 14px 22px;
    margin: 8px;
    font-weight: 500;
    transition: var(--cff16-transition);
    background: var(--cff16-surface);
}

.cp_cff_16 #fbuilder .cff-timeslot[data-active="0"] {
    color: #c4c0b8;
    border-color: #e8e4dc;
    background: var(--cff16-surface-warm);
}

.cp_cff_16 #fbuilder .cff-timeslot[data-active="1"][data-selected="0"]:hover {
    border-color: var(--cff16-primary);
    color: var(--cff16-primary);
    transform: translateY(-3px);
    box-shadow: var(--cff16-shadow-md);
}

.cp_cff_16 #fbuilder .cff-timeslot[data-selected="1"],
.cp_cff_16 #fbuilder .cff-timeslot-selected {
    background: linear-gradient(135deg, var(--cff16-primary) 0%, var(--cff16-primary-dark) 100%);
    border-color: var(--cff16-primary);
    color: #ffffff;
    box-shadow: var(--cff16-shadow-md);
}

.cp_cff_16 #fbuilder .cff-timeslot-selected::after { color: var(--cff16-primary-dark); }

/* ============================================
   QRCode
   ============================================ */

.cp_cff_16 #fbuilder .cff-qrcode-container:not(:empty) {
    border: 2px solid var(--cff16-border) !important;
    border-radius: var(--cff16-radius) !important;
}

.cp_cff_16 #fbuilder .cff-qrcode-container .cff-qrcode-field-close {
    background: transparent;
    color: var(--cff16-primary);
    font-weight: 600;
    padding: 10px;
}

.cp_cff_16 #fbuilder .cff-qrcode-container .cff-qrcode-field-close:hover { color: var(--cff16-primary-dark); }
.cp_cff_16 #fbuilder #html5-qrcode-anchor-scan-type-change { color: var(--cff16-primary); }
.cp_cff_16 #fbuilder #html5-qrcode-anchor-scan-type-change:hover { color: var(--cff16-primary-dark); }
.cp_cff_16 #fbuilder #html5-qrcode-button-file-selection { padding-left: 10px; padding-right: 10px; }

/* ============================================
   Phone
   ============================================ */

.cp_cff_16 #fbuilder .cff-phone-field .components_container {
    display: flex;
    gap: 5px;
}

.cp_cff_16 #fbuilder .cff-phone-field .components_container .uh_phone {
    width: auto !important;
    margin: 0;
    padding: 0;
}

.cp_cff_16 #fbuilder .cff-phone-field .components_container .uh_phone:not(:has(select)) { flex-grow: 1; }
.cp_cff_16 #fbuilder .cff-phone-field .components_container .uh_phone:has(select) { max-width: 80px; }
.cp_cff_16 #fbuilder .cff-phone-field .select2-selection { padding: 10px; }
.cp_cff_16 #fbuilder .cff-phone-field .select2-selection__arrow { display: none; }

/* ============================================
   Column Widths
   ============================================ */

.cp_cff_16 #fbuilder .large { width: 100%; }

@media screen and (min-width: 740px), print {
    .cp_cff_16 #fbuilder .medium { width: 50%; }
    .cp_cff_16 #fbuilder .small { width: 33.333%; }
}

@media screen and (max-width: 640px) {
    .cp_cff_16 #fbuilder .medium,
    .cp_cff_16 #fbuilder .small { width: 100%; }
    .cp_cff_16 #fbuilder { padding: 28px; border-radius: 20px; }
}
