@charset "UTF-8";

/* ============================================
   Template 17 - Modern Minimalist Teal Style
   Clean, fresh aesthetic with teal accents
   ============================================ */

:root {
    --cff17-primary: #0d9488;
    --cff17-primary-dark: #0f766e;
    --cff17-primary-light: #14b8a6;
    --cff17-accent: #1e293b;
    --cff17-bg: #f8fafc;
    --cff17-surface: #ffffff;
    --cff17-surface-cool: #f1f5f9;
    --cff17-text: #1e293b;
    --cff17-text-muted: #64748b;
    --cff17-border: #e2e8f0;
    --cff17-border-focus: #0d9488;
    --cff17-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --cff17-shadow-md: 0 4px 12px rgba(13, 148, 136, 0.15);
    --cff17-shadow-lg: 0 12px 32px rgba(13, 148, 136, 0.2);
    --cff17-radius: 12px;
    --cff17-radius-sm: 8px;
    --cff17-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cp_cff_17 #fbuilder {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--cff17-shadow-sm);
    position: relative;
    overflow: hidden;
}

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

.cp_cff_17 #fbuilder::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.cp_cff_17 #fbuilder .fform {
    text-align: left;
    position: relative;
    z-index: 1;
}

.cp_cff_17 #fbuilder .fform span {
    font-size: 15px;
    color: var(--cff17-text-muted);
    font-weight: 400;
}

.cp_cff_17 #fbuilder h1,
.cp_cff_17 #fbuilder h2,
.cp_cff_17 #fbuilder h3,
.cp_cff_17 #fbuilder h4,
.cp_cff_17 #fbuilder h5,
.cp_cff_17 #fbuilder h6 {
    font-weight: 700;
    color: var(--cff17-accent);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

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

/* ============================================
   Form Fields - Minimalist Style
   ============================================ */

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

.cp_cff_17 #fbuilder {
    position: relative;
    animation: cff17_fieldFadeIn 0.4s ease forwards;
}

@keyframes cff17_fieldFadeIn {
    from {
        opacity: 0;
        margin-top: 15px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

.cp_cff_17 #fbuilder .fields:nth-child(1) { animation-delay: 0.06s; }
.cp_cff_17 #fbuilder .fields:nth-child(2) { animation-delay: 0.12s; }
.cp_cff_17 #fbuilder .fields:nth-child(3) { animation-delay: 0.18s; }
.cp_cff_17 #fbuilder .fields:nth-child(4) { animation-delay: 0.24s; }
.cp_cff_17 #fbuilder .fields:nth-child(5) { animation-delay: 0.3s; }
.cp_cff_17 #fbuilder .fields:nth-child(6) { animation-delay: 0.36s; }
.cp_cff_17 #fbuilder .fields:nth-child(7) { animation-delay: 0.42s; }
.cp_cff_17 #fbuilder .fields:nth-child(8) { animation-delay: 0.48s; }

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

.cp_cff_17 #fbuilder input[type="text"]:focus,
.cp_cff_17 #fbuilder input[type="password"]:focus,
.cp_cff_17 #fbuilder input[type="date"]:focus,
.cp_cff_17 #fbuilder input[type="datetime"]:focus,
.cp_cff_17 #fbuilder input[type="email"]:focus,
.cp_cff_17 #fbuilder input[type="number"]:focus,
.cp_cff_17 #fbuilder input[type="search"]:focus,
.cp_cff_17 #fbuilder input[type="tel"]:focus,
.cp_cff_17 #fbuilder input[type="time"]:focus,
.cp_cff_17 #fbuilder input[type="url"]:focus,
.cp_cff_17 #fbuilder input[type="week"]:focus,
.cp_cff_17 #fbuilder input[type="color"]:focus,
.cp_cff_17 #fbuilder select:focus,
.cp_cff_17 #fbuilder textarea:focus,
.cp_cff_17 #fbuilder .select2-selection:focus {
    border-color: var(--cff17-border-focus);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

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

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

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

/* ============================================
   Labels - Minimalist Style
   ============================================ */

.cp_cff_17 #fbuilder .fields>label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--cff17-text);
    letter-spacing: 0.01em;
}

.cp_cff_17 #fbuilder .fields.section_breaks>label {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--cff17-accent);
    margin: 16px 0 0 0;
    letter-spacing: -0.01em;
}

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

.cp_cff_17 #fbuilder .fields.section_breaks>label:not(:empty)::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--cff17-primary);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

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

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

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

.cp_cff_17 #fbuilder .fields:not(.cff-switch-container) input[type="checkbox"],
.cp_cff_17 #fbuilder .fields:not(.cff-switch-container) input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    cursor: pointer;
    accent-color: var(--cff17-primary);
    border-radius: 4px;
    border: 1.5px solid var(--cff17-border);
    background: var(--cff17-surface);
    padding: 0;
    transition: var(--cff17-transition);
}

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

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

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

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

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

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

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

.cp_cff_17 #fbuilder .cff-checkbox-field-quantity input[type="number"] {
    width: 100px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
    border: 1.5px solid var(--cff17-border) !important;
    border-radius: var(--cff17-radius-sm) !important;
    background: var(--cff17-surface) !important;
    color: var(--cff17-text) !important;
    transition: var(--cff17-transition) !important;
    margin: 0 !important;
    text-align: center;
    box-shadow: var(--cff17-shadow-sm) !important;
}

.cp_cff_17 #fbuilder .cff-checkbox-field-quantity input[type="number"]:focus {
    border-color: var(--cff17-primary) !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12) !important;
    outline: none;
    transform: none !important;
}

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

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

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

/* Checkbox with quantity container */
.cp_cff_17 #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_17 #fbuilder .cff-switch-container input:checked+span.cff-switch {
    background: linear-gradient(135deg, var(--cff17-primary) 0%, var(--cff17-primary-dark) 100%);
}

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

.cp_cff_17 #fbuilder .cff-calculated-field input[readonly] {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1.5px solid var(--cff17-primary);
    color: var(--cff17-primary-dark) !important;
    font-weight: 600;
    font-size: 16px;
}

/* ============================================
   Buttons - Minimalist Style
   ============================================ */

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

.cp_cff_17 #fbuilder input[type=file]::file-selector-button {
    margin-right: 12px;
    background: var(--cff17-surface);
    border: 1.5px solid var(--cff17-border);
    color: var(--cff17-text);
}

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

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

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

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

.cp_cff_17 #fbuilder .pbreak .pbPrevious,
.cp_cff_17 #fbuilder .pbreak .pbNext {
    background: var(--cff17-surface);
    color: var(--cff17-text);
    border: 1.5px solid var(--cff17-border);
}

.cp_cff_17 #fbuilder .pbreak .pbPrevious:hover,
.cp_cff_17 #fbuilder .pbreak .pbNext:hover {
    background: var(--cff17-surface-cool);
    border-color: var(--cff17-primary);
    color: var(--cff17-primary);
}

.cp_cff_17 #fbuilder .pbreak .pbPrevious:hover,
.cp_cff_17 #fbuilder .pbreak .pbNext:hover {
    transform: translateY(-2px);
    box-shadow: var(--cff17-shadow-md);
}

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

#cff_ai_assistant_use_suggestion:hover {
    background: linear-gradient(135deg, #334155 0%, #111827 100%);
    transform: translateY(-2px);
    box-shadow: var(--cff17-shadow-md);
}

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

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

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

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

.cp_cff_17 #fbuilder fieldset {
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius);
    padding: 24px;
    margin: 24px 0;
    background: var(--cff17-surface);
}

.cp_cff_17 #fbuilder fieldset legend {
    font-weight: 600;
    color: var(--cff17-accent);
    padding: 4px 12px;
    font-size: 15px;
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius-sm);
    background: var(--cff17-surface);
}

/* ============================================
   Slider - Minimalist Style
   ============================================ */

.cp_cff_17 #fbuilder .slider-type-components { margin-bottom: 16px; }

.cp_cff_17 #fbuilder .slider {
    background: var(--cff17-border);
    border-radius: 10px;
    border: none;
    height: 8px;
}

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

.cp_cff_17 #fbuilder .ui-slider-handle {
    background: linear-gradient(135deg, var(--cff17-primary) 0%, var(--cff17-primary-dark) 100%);
    border: 3px solid #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    box-shadow: var(--cff17-shadow-md);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    top: -8px;
}

.cp_cff_17 #fbuilder .ui-slider-handle:hover {
    transform: scale(1.15);
    box-shadow: var(--cff17-shadow-lg);
}

.cp_cff_17 #fbuilder .ui-slider-handle:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2), var(--cff17-shadow-md);
    outline: none;
}

.cp_cff_17 #fbuilder .cff-slider-field .mark {
    font-size: 12px;
    color: var(--cff17-text-muted);
    font-weight: 500;
}

.cp_cff_17 #fbuilder span.uh {
    font-size: 12px;
    font-style: italic;
    color: var(--cff17-text-muted);
}

/* ============================================
   Summary - Minimalist Style
   ============================================ */

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

/* ============================================
   File Upload - Minimalist Style
   ============================================ */

.cp_cff_17 #fbuilder .cff-file-field input {
    border: 2px dashed var(--cff17-border);
    padding: 36px;
    border-radius: var(--cff17-radius);
    background: var(--cff17-surface-cool);
}

.cp_cff_17 #fbuilder .cff-file-field input:hover {
    border-color: var(--cff17-primary);
    background: #f0fdfa;
}

.cp_cff_17 #fbuilder .cff-file-field .cff-file-field-container {
    border: 2px dashed var(--cff17-border);
    border-radius: var(--cff17-radius);
    background-color: var(--cff17-surface-cool);
    padding: 36px;
    transition: var(--cff17-transition);
}

.cp_cff_17 #fbuilder .cff-file-field .cff-file-field-container:hover {
    border-color: var(--cff17-primary);
    background: #f0fdfa;
    transform: scale(1.01);
}

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

/* ============================================
   Select2 - Minimalist Style
   ============================================ */

.cp_cff_17 #fbuilder .select2-selection {
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius-sm);
    min-height: 48px;
    padding: 10px 14px;
    background: var(--cff17-surface);
    box-shadow: var(--cff17-shadow-sm);
    transition: var(--cff17-transition);
}

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

.cp_cff_17 #fbuilder .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    font-size: 15px;
}

.cp_cff_17 #fbuilder .select2-selection__arrow {
    min-height: 48px;
    width: 36px;
}

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

.cp_cff_17 #fbuilder .select2-dropdown {
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius-sm);
    box-shadow: var(--cff17-shadow-lg);
    overflow: hidden;
}

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

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

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

.cp_cff_17 #fbuilder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff;
}

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

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

.cp_cff_17 #fbuilder .cff-spinner .cff-spinner-down,
.cp_cff_17 #fbuilder .cff-spinner .cff-spinner-up {
    padding: 10px 14px;
    background: var(--cff17-surface);
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius-sm);
    transition: var(--cff17-transition);
}

.cp_cff_17 #fbuilder .cff-spinner .cff-spinner-down:hover,
.cp_cff_17 #fbuilder .cff-spinner .cff-spinner-up:hover {
    background: var(--cff17-surface-cool);
    border-color: var(--cff17-primary);
    color: var(--cff17-primary);
}

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

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

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

.cp_cff_17 #fbuilder div.cpefb_error {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

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

.cp_cff_17 #fbuilder .discount-container {
    margin-top: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1.5px solid var(--cff17-primary);
    border-radius: var(--cff17-radius-sm);
    font-weight: 600;
    color: var(--cff17-primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

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

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

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

.cp_cff_17 #fbuilder .cff-popup-close:hover {
    background: var(--cff17-surface-cool);
    color: var(--cff17-primary-dark);
}

.cp_cff_17 #fbuilder .cff-popup-header {
    background: var(--cff17-surface-cool);
    border-bottom: 1.5px solid var(--cff17-border);
}

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

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

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

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

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

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

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

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

.cp_cff_17 #fbuilder .cff-datatable-field .paginate_button.current {
    background: var(--cff17-surface-cool) !important;
    border-color: var(--cff17-primary) !important;
}

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

.cp_cff_17 #fbuilder .cff-timeslot {
    border: 1.5px solid var(--cff17-border);
    border-radius: var(--cff17-radius-sm);
    padding: 12px 18px;
    margin: 6px;
    font-weight: 500;
    transition: var(--cff17-transition);
    background: var(--cff17-surface);
}

.cp_cff_17 #fbuilder .cff-timeslot[data-active="0"] {
    color: #cbd5e1;
    border-color: #e2e8f0;
    background: var(--cff17-surface-cool);
}

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

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

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

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

.cp_cff_17 #fbuilder .cff-qrcode-container:not(:empty) {
    border: 1.5px solid var(--cff17-border) !important;
    border-radius: var(--cff17-radius) !important;
}

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

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

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

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

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

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

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

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

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

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