.elementor-2197 .elementor-element.elementor-element-ef6b6c7{--display:flex;}.elementor-2197 .elementor-element.elementor-element-6989d32 div.ts-filter i{font-size:24px;}.elementor-2197 .elementor-element.elementor-element-6989d32 div.ts-filter svg{width:24px;height:24px;min-width:24px;}.elementor-2197 .elementor-element.elementor-element-6989d32 div.ts-filter{grid-gap:10px;}.elementor-2197 .elementor-element.elementor-element-6989d32 .ts-stepper-input input{font-size:20px;}.elementor-2197 .elementor-element.elementor-element-6989d32 .ts-edit-success{align-items:center;text-align:center;}/* Start custom CSS for ts-create-post, class: .elementor-element-6989d32 *//* =========================================
   Voxel Create Post Form Styles 
   (Calm SaaS Aesthetic)
   ========================================= */

/* General Container */
.create-post-form {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    padding: 32px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    padding-bottom: 120px !important;
    /* Space for fixed bottom nav */
}

/* Headings (Section Titles) */
.ui-heading-field label {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 12px !important;
    display: block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Field Labels */
.ts-form-group>label {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
}

/* Optional / Required Badges */
.is-required {
    background-color: #f3f4f6 !important;
    color: #6b7280 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
}

/* Core Input Fields (Text, Number, Email, Web, etc) */
.ts-filter,
.ts-input-box,
.create-post-form input[type="text"],
.create-post-form input[type="number"],
.create-post-form input[type="email"],
.create-post-form input[type="url"],
.create-post-form input[type="tel"],
.create-post-form textarea {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    color: #111827 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Fix massive textarea javascript bug (e.g., inline style height: 5400px) */
.create-post-form textarea,
textarea.ts-filter {
    min-height: 120px !important;
    max-height: 300px !important;
    height: auto;
    /* Fallback */
    overflow-y: auto !important;
    resize: vertical !important;
}

.ts-filter:focus,
.create-post-form input:focus,
.create-post-form textarea:focus {
    outline: none !important;
    border-color: #174c9d !important;
    box-shadow: 0 0 0 3px #eff3fa !important;
}

/* Fix Icons Overlapping Text inside Form Inputs (Phone, Email, etc) */
.ts-input-icon {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.ts-input-icon svg {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.ts-input-icon svg path {
    fill: #9ca3af !important;
    /* Override Voxel Default Grey */
}

/* Make room for the absolute icon inside the input */
.ts-input-icon input.ts-filter,
.ts-input-icon input {
    padding-left: 42px !important;
}

/* Dropdown / Popup Targets (e.g., Select Breed, Date of Birth) */
.ts-popup-target {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.ts-popup-target:hover {
    border-color: #d1d5db !important;
    background-color: #fafafa !important;
}

.ts-popup-target .ts-filter-text {
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    margin-left: 8px !important;
    flex-grow: 1 !important;
}

.ts-popup-target svg {
    fill: #6b7280 !important;
    width: 20px !important;
    height: 20px !important;
}

/* File / Image Upload Areas */
.ts-file-upload .ts-file-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    position: relative !important;
}

/* Ensure the upload button container flows normally and doesn't absolutely position over the images */
.ts-file-upload .pick-file-input {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    flex-shrink: 0 !important;
}

.ts-file-upload .pick-file-input a,
.ts-btn-4.form-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fafafa !important;
    border: 2px dashed #d1d5db !important;
    border-radius: 8px !important;
    padding: 24px !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    width: 120px !important;
    height: 120px !important;
    box-sizing: border-box !important;
}

.ts-file-upload .pick-file-input a:hover,
.ts-btn-4.form-btn:hover {
    background-color: #eff3fa !important;
    border-color: #174c9d !important;
    color: #174c9d !important;
}

.ts-file-upload .pick-file-input svg,
.ts-btn-4.form-btn svg {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 8px !important;
    fill: currentColor !important;
}

/* Uploaded File Previews */
.ts-file-img,
.ts-file {
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.ts-file-info {
    display: none !important;
    /* Hide ugly Voxel text over images */
}

.ts-remove-file {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s !important;
}

.ts-remove-file:hover {
    background-color: #fee2e2 !important;
    /* Light red */
}

.ts-remove-file svg {
    width: 14px !important;
    height: 14px !important;
    fill: #ef4444 !important;
    /* Red X */
}

/* Switcher Toggle (Are you an AKC champ?) */
.onoffswitch {
    width: 48px !important;
}

.onoffswitch-label {
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    background-color: #e5e7eb !important;
}

.onoffswitch-label:before {
    background-color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.onoffswitch-checkbox:checked+.onoffswitch-label {
    background-color: #174c9d !important;
    border-color: #174c9d !important;
}

.onoffswitch-checkbox:checked+.onoffswitch-label:before {
    border-color: #174c9d !important;
}

/* Progress Bar Inside Form Navigation */
.ts-form-progres {
    background-color: transparent !important;
    margin-bottom: 32px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Wizard Header (Title + Arrows) */
.ts-active-step {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 24px !important;
}

/* Make Wizard "General" Title Beautiful */
.active-step-details p {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 !important;
    font-family: inherit !important;
}

/* Next / Prev Arrow Navigation in Top Bar */
.step-nav {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.step-nav .ts-icon-btn {
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}

.step-nav .ts-icon-btn:hover:not(.disabled) {
    background-color: #fafafa !important;
    border-color: #d1d5db !important;
}

.step-nav .ts-icon-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.step-nav .ts-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
    fill: #4b5563 !important;
}

/* The Progress Dots below the title */
.step-percentage {
    display: flex !important;
    gap: 4px !important;
    width: 100% !important;
}

.step-percentage li {
    background-color: #f3f4f6 !important;
    height: 6px !important;
    border-radius: 3px !important;
    flex-grow: 1 !important;
    margin: 0 !important;
}

.step-percentage li.step-done,
.step-percentage li.active {
    background-color: #174c9d !important;
}

/* Footer Container (Holds Save Button in normal flow) */
.ts-form-footer {
    margin-top: 40px !important;
    border-top: 1px solid #e5e7eb !important;
    padding-top: 24px !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* Next / Previous Buttons - Fixed Bottom Navbar */
ul.ts-nextprev {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 16px 32px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    /* Spaced out instead of centered */
    align-items: center !important;
}

ul.ts-nextprev li {
    display: flex !important;
}

/* Expand buttons nicely on smaller screens */
@media (max-width: 600px) {
    ul.ts-nextprev {
        padding: 16px !important;
    }

    ul.ts-nextprev li {
        flex: 1 !important;
    }

    ul.ts-nextprev .ts-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        /* Normal padding for mobile */
        font-size: 1rem !important;
        /* Normal font size for mobile */
    }
}

/* Larger Buttons on Desktop for Bottom Nav */
@media (min-width: 601px) {
    ul.ts-nextprev .ts-btn {
        padding: 16px 48px !important;
        font-size: 1.125rem !important;
        /* Slightly larger text */
    }

    ul.ts-nextprev .ts-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

.ts-btn-1,
.ts-btn-2 {
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}

/* Secondary Button (Previous) */
.ts-btn-1 {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
}

.ts-btn-1:hover:not(.disabled) {
    background-color: #fafafa !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

/* Primary Button (Next / Save) */
.ts-btn-2,
.ts-form-footer .ts-next {
    background-color: #174c9d !important;
    border: 1px solid #174c9d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(13, 86, 186, 0.2) !important;
}

.ts-btn-2:hover,
.ts-form-footer .ts-next:hover {
    background-color: #123d7e !important;
    border-color: #123d7e !important;
    color: #ffffff !important;
}

.ts-btn-2 svg,
.ts-btn-1 svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}

/* Force hardcoded Voxel internal path colors to match text */
.ts-btn-2 svg path,
.ts-btn-1 svg path {
    fill: currentColor !important;
}

/* Explicitly force the overridden blue Next button's arrow to white */
.ts-form-footer .ts-next svg,
.ts-form-footer .ts-next svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Dialog / Info Popups */
.vx-dialog-content {
    background-color: #111827 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 0.875rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

.vx-dialog svg {
    fill: #9ca3af !important;
    width: 16px !important;
    height: 16px !important;
}

.vx-dialog:hover svg {
    fill: #174c9d !important;
}

/* =========================================
   Media Library / File Selector Popup
   ========================================= */

/* Override Voxel's tiny inline positioning and force an expansive, centered modal */
.ts-form[style*="position"]:has(.ts-field-popup-container .ts-file-list) {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 650px !important;
    max-width: 90vw !important;
    z-index: 999999 !important;
}

/* Add a dark overlay backdrop behind the centered modal */
.ts-form[style*="position"]:has(.ts-field-popup-container .ts-file-list)::before {
    content: '' !important;
    position: fixed !important;
    top: -50vh !important;
    left: -50vw !important;
    width: 200vw !important;
    height: 200vh !important;
    background-color: rgba(17, 24, 39, 0.2) !important;
    z-index: -1 !important;
    cursor: default !important;
}

/* Stop default slide-in animations and apply a smooth fade */
@keyframes voxelFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ts-form[style*="position"]:has(.ts-file-list) .ts-field-popup-container,
.ts-form[style*="position"]:has(.ts-file-list) .ts-field-popup {
    animation: voxelFadeIn 0.2s ease-out forwards !important;
    transform: none !important;
}

/* Ensure the popup stretches nicely and scrolls internally if there are too many items */
.ts-form[style*="position"] .ts-field-popup-container:has(.ts-file-list) .ts-field-popup {
    max-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.ts-form[style*="position"] .ts-field-popup-container:has(.ts-file-list) .ts-popup-content-wrapper {
    flex-grow: 1 !important;
    overflow-y: auto !important;
}

/* Make inner thumbnail cards slightly bigger for easier desktop selection */
.ts-form[style*="position"] .ts-field-popup-container:has(.ts-file-list) .ts-file-img {
    width: 140px !important;
    height: 140px !important;
}

/* =========================================
   Date Picker Popup (Pikaday Form Overrides)
   ========================================= */

/* Main Popup Window */
.ts-field-popup {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
}

/* Hide Generic Search Icons in Head */
.ts-popup-name svg {
    display: none !important;
}

.ts-popup-name span .chosen {
    color: #174c9d !important;
}

/* Calendar Month/Year Headers */
.pika-label {
    font-weight: 600 !important;
    color: #111827 !important;
    font-size: 1rem !important;
    font-family: inherit !important;
}

.pika-table th {
    color: #6b7280 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding-bottom: 8px !important;
}

/* Base Calendar Days - Strip Default Blue Blocks */
.pika-button {
    background-color: transparent !important;
    border-radius: 6px !important;
    color: #111827 !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    transition: all 0.2s !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

/* Selected Days & Range Ends */
.is-selected .pika-button,
.is-startrange .pika-button,
.is-endrange .pika-button,
.has-event .pika-button {
    background-color: #174c9d !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* In Range (Between start and end) */
.is-inrange .pika-button {
    background-color: #eff3fa !important;
    color: #174c9d !important;
}

/* Hovering Days */
.pika-button:hover {
    background-color: #eff3fa !important;
    color: #174c9d !important;
}

/* Today's Date Outline */
.is-today .pika-button {
    color: #174c9d !important;
    font-weight: 600 !important;
    border-color: #174c9d !important;
}

/* Empty or disabled days */
.is-disabled .pika-button {
    color: #d1d5db !important;
    opacity: 0.5;
}

/* Bottom Controller Bar */
.ts-popup-controller {
    border-top: 1px solid #e5e7eb !important;
    padding: 16px !important;
    background-color: #fafafa !important;
    border-radius: 0 0 12px 12px !important;
}

/* Save / Clear / Close Buttons in Popup */
.ts-popup-controller .ts-btn-1,
.ts-popup-close a {
    background-color: transparent !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: all 0.2s;
}

.ts-popup-controller .ts-btn-1:hover,
.ts-popup-close a:hover {
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

/* "Save" Button */
.ts-popup-controller .ts-btn-2 {
    background-color: #174c9d !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border: none !important;
    transition: all 0.2s;
}

.ts-popup-controller .ts-btn-2:hover {
    background-color: #123d7e !important;
}

/* Calendar Placement & Centering Fix */
.pika-single {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 24px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.pika-single.is-bound {
    position: static !important;
    display: flex !important;
}

.pika-lendar {
    width: auto !important;
    margin: 0 !important;
}

/* Left / Right Arrow Buttons */
.pika-prev.ts-icon-btn,
.pika-next.ts-icon-btn {
    background-color: transparent !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: all 0.2s !important;
    position: absolute !important;
    top: 0 !important;
    box-shadow: none !important;
}

.pika-prev.ts-icon-btn {
    left: 0 !important;
}

.pika-next.ts-icon-btn {
    right: 0 !important;
}

.pika-prev.ts-icon-btn:hover,
.pika-next.ts-icon-btn:hover {
    background-color: #fafafa !important;
    border-color: #d1d5db !important;
}

.pika-prev.ts-icon-btn svg,
.pika-next.ts-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: #6b7280 !important;
    transition: fill 0.2s !important;
}

/* Align Title Next To Arrows */
.pika-title {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

/* =========================================
   Location & Map Field Fixes (SAFE VERSION)
   ========================================= */

/* Use the specific field key to ensure we don't touch other parts of the form */
.field-key-location.ts-location-field {
    /* Removed !important so Voxel can still hide this on other steps */
    display: flex; 
    flex-direction: column;
    gap: 16px;
}

/* 1. Fix the "Geolocate" button (Scoped to this field only) */
.field-key-location .ts-btn-4.form-btn {
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 24px !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    color: #4b5563 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    gap: 10px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.field-key-location .ts-btn-4.form-btn:hover {
    background-color: #f9fafb !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

/* 2. Reset the icon and text inside the Geolocate button */
.field-key-location .ts-btn-4.form-btn svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important; /* Removes the bottom margin from file upload style */
    fill: #6b7280 !important;
}

.field-key-location .ts-btn-4.form-btn p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* 3. Fix Toggle Switch Alignment */
.field-key-location .switcher-label label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
    cursor: pointer !important;
}

/* 4. Style the Map Container */
.field-key-location .location-field-map.ts-map {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    height: 300px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

/* 5. Address Input Icon alignment fix */
.field-key-location .ts-input-icon svg {
    left: 14px !important;
    fill: #9ca3af !important;
}/* End custom CSS */