/**
 * AI Chat Styles
 *
 * @package AI Chat by Purethemes
 */

/* Chat Wrapper  */
.listeo-ai-chat-wrapper {
    width: 100%;
    margin: 0 auto;
}

.listeo-ai-chat-wrapper i {
    font-family: "Font Awesome 6 Free" !important;
}

/* Chat Container */
.listeo-ai-chat-container {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

/* Chat Header */
.listeo-ai-chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listeo-ai-chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.listeo-ai-chat-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

body .listeo-ai-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 100px !important;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.listeo-ai-chat-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 100px !important;
    border: 2px solid #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    box-sizing: content-box !important;
}

.listeo-ai-chat-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Chat Header Menu Dropdown */
.listeo-ai-chat-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Menu icon buttons (shared styles) */
.listeo-ai-chat-darkmode-toggle,
.listeo-ai-chat-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    color: #777;
    transition: all 0.15s ease;
}

.listeo-ai-chat-darkmode-toggle:hover,
.listeo-ai-chat-menu-trigger:hover,
.listeo-ai-chat-menu-trigger[aria-expanded="true"] {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Dark Mode Toggle – icon visibility */
.listeo-ai-chat-darkmode-toggle .icon-sun { display: none; }
.listeo-ai-chat-darkmode-toggle .icon-moon { display: block; }
.dark-mode .listeo-ai-chat-darkmode-toggle .icon-sun { display: block; }
.dark-mode .listeo-ai-chat-darkmode-toggle .icon-moon { display: none; }

.listeo-ai-chat-menu-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 5px;
    right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(-4px);
    transform-origin: top right;
    transition: all 0.15s ease;
}

html[dir="rtl"] .listeo-ai-chat-menu-dropdown {
    left: 0 !important;
    right: initial !important;
}

.listeo-ai-chat-menu-dropdown[data-state="open"] {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.listeo-ai-chat-menu-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    line-height: 20px;
}

.listeo-ai-chat-menu-item:hover {
    background: #f5f5f5;
}

.listeo-ai-chat-menu-item svg {
    flex-shrink: 0;
    color: #666;
}

.listeo-ai-chat-menu-item:hover svg {
    color: #333;
}

/* Expanded state for floating chat popup */
@media (min-width: 992px) {
    .listeo-floating-chat-popup.is-expanded {
        width: 600px !important;
        max-width: calc(100vw - 45px) !important;
        height: 100vh !important;
        max-height: calc(100vh - 165px) !important;
    }
}

/* Hide expand icon when expanded, show collapse icon */
.listeo-floating-chat-popup.is-expanded .listeo-ai-chat-expand-btn .icon-expand {
    display: none;
}
.listeo-floating-chat-popup.is-expanded .listeo-ai-chat-expand-btn .icon-collapse {
    display: inline;
}
.listeo-ai-chat-expand-btn .icon-collapse {
    display: none;
}

/* Hide expand text when expanded, show collapse text */
.listeo-floating-chat-popup.is-expanded .listeo-ai-chat-expand-btn .text-expand {
    display: none;
}
.listeo-floating-chat-popup.is-expanded .listeo-ai-chat-expand-btn .text-collapse {
    display: inline;
}
.listeo-ai-chat-expand-btn .text-collapse {
    display: none;
}

@media (max-width: 992px) { .listeo-ai-chat-expand-btn { display: none !important;} }

/* Clear Button (shortcode only - floating widget uses menu) */
button.listeo-ai-chat-clear-btn {
    background: transparent !important;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    min-height: auto !important;
    max-height: 16px !important;
    max-width: 16px !important;
    min-width: auto !important;
}

button.listeo-ai-chat-clear-btn:hover {
    color: #333;
    transform: rotate(180deg);
}

button.listeo-ai-chat-clear-btn img {
    width: auto;
    height: auto;
    max-width: 12px;
    max-height: 12px;
    opacity: 0.4;
}

.listeo-ai-chat-send-btn { padding: 0 !important; }

/* Messages Area */
.listeo-ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}


/* Individual Messages */
.listeo-ai-chat-message {
    line-height: 24px;
    display: flex;
    width: 100%;
}

.listeo-ai-chat-message-user {
    color: var(--ai-chat-primary-color);
    background: var(--ai-chat-primary-color-light);
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 80%;
    width: fit-content;
    margin-left: auto;
}

.listeo-ai-chat-message.listeo-ai-chat-message-system,
.listeo-ai-chat-message-assistant {
    color: #444;
    background: #f6f6f6;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 100%;
    width: fit-content;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* Assistant message avatar */
.listeo-ai-chat-message-assistant.has-avatar {
    position: relative;
    margin-left: 32px;
}

.listeo-ai-chat-message-avatar {
    position: absolute;
    left: -32px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 100px !important;
    object-fit: cover;
    flex-shrink: 0;
}

.listeo-ai-chat-message-assistant.chat-message-results {
padding: 0;
    background: transparent;
    box-shadow: none;
}

.listeo-ai-chat-message-system {
    color: #666;
    /* font-size: 14px; */
    /* font-style: italic; */
}

.listeo-ai-chat-message-label {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.listeo-ai-chat-message-content {
    line-height: 23px;
    font-size: 14px;
    word-break: break-word;
}

.listeo-ai-chat-message-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 23px;
    color: #666;
}

.listeo-ai-chat-message-content p
.listeo-ai-chat-message-content {
    color: #666;
}

.listeo-ai-chat-message-content p:last-child {
    margin-bottom: 0;
}

.listeo-ai-chat-message-content strong {
    font-weight: 600;
    color: #222;
}
.listeo-ai-chat-message-content a strong,
.listeo-ai-chat-message-content a {
    color: var(--ai-chat-primary-color);
    text-decoration: underline;
}

.listeo-ai-chat-message-content a:hover {
    color: #1a252f;
}
.listeo-ai-sources-list {
    display: flex;
    flex-direction: column;
}

.listeo-ai-chat-message-content ol,
.listeo-ai-chat-message-content ul { 
    display: flex; 
    flex-direction: column; 
    gap: 10px;
    padding-left: 20px;
    margin: 8px 0;
}

.listeo-ai-chat-message-content ol li,
.listeo-ai-chat-message-content ul li{ 
    margin: 0;
}

/* Listing Grid Styles */
.listeo-ai-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.elementor .listeo-ai-listing-item,
.listeo-ai-listing-item {
    background: white;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: stretch;
    min-height: 90px;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.elementor .listeo-ai-listing-item:hover,
.listeo-ai-listing-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

.listeo-ai-listing-hidden {
    display: none;
}

.listeo-ai-listing-thumbnail {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    padding: 12px;
    margin-top: 5px;
    margin-left: 3px;
}

body .listeo-ai-listing-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.listeo-ai-listing-details {
    flex: 1;
    display: flex;
    padding: 12px 16px;
    padding-left: 0;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.listeo-ai-listing-title {
    margin: 0 0 4px 0;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 20px;
    color: #333;
}

body p.listeo-ai-listing-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listeo-ai-listing-meta {
    display: flex;
    gap: 0;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: flex;
    gap: 0 5px;
}

.listeo-ai-listing-meta span {
    display: flex;
    align-items: baseline;
    gap: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listeo-ai-listing-meta i {
    width: 12px;
    text-align: center;
    font-size: 11px;
    color: #b4b4b4;
}

.listeo-ai-listing-rating {
    color: #f59e0b;
    font-weight: 500;
}

/* Hidden by default — customers can opt in via custom CSS override (display: inline-flex) */
.listeo-ai-product-sku {
    display: none !important;
}

.listeo-ai-listing-rating i {
    color: #f59e0b !important;
}
.listeo-ai-listing-rating svg {
    top: 2px; position: relative;
}

/* Product-Specific Styles */
.listeo-ai-chat-wrapper .product-price {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex !important;
    gap: 0 !important;
}

.listeo-ai-chat-wrapper .product-price .regular-price {
    text-decoration: line-through;
    color: #888;
    font-weight: 400;
    margin-right: 6px;
}

.listeo-ai-chat-wrapper .product-price .sale-price {
    color: #27ae60;
    font-weight: 600;
    background-color: #fbf2d1;
    color: #8a803e;
    padding: 0px 4px;
    border-radius: 50px;
}

.listeo-ai-chat-wrapper .stock-status {
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    border-radius: 54px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    display: inline-block !important;
}
.listeo-ai-chat-wrapper .stock-status svg { top: 2px; position: relative; }
.listeo-ai-chat-wrapper .stock-status.in-stock {
    color: #27ae60;
    /* background: #27ae6010; */
}

.listeo-ai-chat-wrapper .stock-status.in-stock i {
    color: #27ae60 !important;
}

.listeo-ai-chat-wrapper .stock-status.out-of-stock {
    color: #e74c3c;
    /* background: #e74c3c10; */
}

.listeo-ai-chat-wrapper .stock-status.out-of-stock i {
    color: #e74c3c !important;
}

/* Show More Button */
.listeo-ai-show-more-btn {
    display: block;
    width: auto;
    margin-top: 12px;
    padding: 6px 16px !important;
    background: white;
    border:none;
    color: var(--ai-chat-primary-color);
    background: var(--ai-chat-primary-color-light);
    border-radius: 8px;
    font-size: 14px;
    line-height: 22px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    margin: 0 auto;
    margin-top: 15px;
    border-radius: 8px;
}

.listeo-ai-show-more-btn:hover {

}

/* Loading Animation - Typing Dots */
.listeo-ai-chat-loader-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.listeo-ai-chat-typing-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}

.listeo-ai-chat-typing-dots span {
    width: 6.2px;
    height: 6.2px;
    background: #777777;
    border-radius: 50%;
    opacity: 0.3;
    animation: listeoAiChatTypingDot 1.4s infinite backwards;
    transform: translateY(0px);
}

.listeo-ai-chat-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.listeo-ai-chat-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes listeoAiChatTypingDot {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.listeo-ai-chat-shimmer-text {
    font-size: 14px;
    display: inline-block;
    background: linear-gradient(90deg,
        #666 0%,
        #666 40%,
        #888 48%,
        #bbbbbb 52%,
        #888 56%,
        #666 62%,
        #666 100%
    );
    background-size: 300px 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: listeoAiChatShimmer 3.5s linear infinite;
}

@keyframes listeoAiChatShimmer {
    0% {
        background-position: -300px 0;
    }
    100% {
        background-position: 300px 0;
    }
}
.listeo-ai-chat-loading {
    top: 1px;
    margin-right: 2px;
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    background: conic-gradient(
        from 90deg at 50% 50%,
        rgba(160, 160, 160, 0) 0deg,
        rgba(160, 160, 160, 0) 0.04deg,
        #707070 360deg
    );
    border-radius: 50%;
    animation: rotate 0.7s infinite linear;
}

.listeo-ai-chat-loading::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff; /* Change to your actual background color */
    border-radius: 50%;
}

.listeo-ai-chat-loading::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    background: #a2a2a2;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
div.listeo-ai-chat-message.listeo-ai-chat-message-assistant[id^="loading"] {
    background: none;
    box-shadow: none;
    padding: 0;
    font-weight: 500;
    color: #666;
    margin-left: 0;
}

div.listeo-ai-chat-message.listeo-ai-chat-message-assistant[id^="loading"] .listeo-ai-chat-message-avatar {
    display: none;
}

/* Input Area */
.listeo-ai-chat-input-wrapper {
    border-top: 1px solid #e5e5e5;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.listeo-ai-chat-input {
    flex: 1;
    padding: 12px 15px !important;
    border: none !important;
    border-radius: 8px;
    font-size: 15px !important;
    font-family: inherit;
    resize: none;
    min-height: 48px !important;
    min-width: auto  !important;
    height: 48px !important;
    min-width: auto;
    margin-bottom: 0;
    box-shadow: none !important;
    border-radius: 50px !important;
    padding-right: 50px !important;
    line-height: 22px !important;
    box-sizing: border-box;
}

#listeo-floating-chat-instance-input {
    margin: 0;
}

.listeo-ai-chat-input:not(.elementor-chat-style .listeo-ai-chat-input) {
    background: #f5f5f5 !important;
}

.listeo-ai-chat-input {
    background: #f5f5f5; 
    color: #666 !important;
}

.listeo-ai-chat-input::placeholder {
    color: #888 !important
}


body#dark-mode .listeo-ai-chat-input {background: #f5f5f5; color: #555;}

.listeo-ai-chat-input:focus {
    outline: none;
    border-color: #d0d0d0;
}

.listeo-ai-chat-send-btn {
    background: #222;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 500;
    align-self: stretch;
    transition: 0.2s;
    right: 24px;
    line-height: 24px;
    top: 50%;
    position: absolute !important;
    border-radius: 50px !important;
    height: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    min-height: 34px !important;
    transform: translateY(-50%);
    margin: 0;
}

.listeo-ai-chat-send-btn img{
    width: auto;
    height: auto;
    min-width: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.listeo-ai-chat-send-btn:hover {
    background: #222;
}

.listeo-ai-chat-send-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

/* Best Match Badge - Simple and Clean (matches frontend) */
.match-badge.best {
    font-weight: 600;
    font-size: 12px;
    padding: 0px 8px;
    line-height: 16px;
    text-shadow: none;
    border-radius: 50px;
    background: #00b54d21;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    color: #27ae60;
    height: 21px;
    position: relative;
    top: -1px;
    display: inline-block;
}

/* Listing structure adjustments for sidebar */
.listeo-ai-listing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.listeo-ai-listing-sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    min-width: 100px;
}

.listeo-ai-listing-sidebar:empty {
    display: none;
}

/* Disabled State */
.listeo-ai-chat-disabled {
    background: #fff3cd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
}
.listeo-ai-chat-disabled p { margin: 0}
/* Listing items without thumbnails */
.listeo-ai-listing-item:not(:has(.listeo-ai-listing-thumbnail)) .listeo-ai-listing-details {
    padding-left: 16px;
}

/* Listing Context Load Button */
.listeo-ai-chat-message-listing-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.listeo-ai-listing-context-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0 0 12px 0;
    text-align: center;
}
#listing-context-btn { text-align: center;}
.listeo-ai-load-listing-btn {
    background: #222;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.listeo-ai-load-listing-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.listeo-ai-load-listing-btn:active {
    transform: scale(0.98);
}

.listeo-ai-load-listing-btn svg {
    flex-shrink: 0;
}

.listeo-ai-load-listing-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.listeo-ai-load-listing-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Product Context Button (WooCommerce) */
#product-context-btn {
    text-align: center;
    justify-content: center;
    margin: 15px 0;
}

.listeo-ai-product-context-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0 0 12px 0;
    text-align: center;
}

.listeo-ai-load-product-btn {
    background: #222;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.listeo-ai-load-product-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.listeo-ai-load-product-btn:active {
    transform: scale(0.98);
}

.listeo-ai-load-product-btn svg {
    flex-shrink: 0;
}

.listeo-ai-load-product-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.listeo-ai-load-product-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Context Loaded Confirmation Icon */
.context-loaded-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    color: #222;
}


/*--------------------------------------
# Popular Searches
---------------------------------------*/
.listeo-ai-popular-searches {
    margin-top: 30px;
    padding: 0;
}

.popular-searches-header {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.popular-searches-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-search-tag {
    background: var(--listeo-primary-color-light);
    border-radius: 50px;
    padding: 5px 13px;
    font-size: 13px;
    color: var(--listeo-primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border: none;
    line-height: 22px;
}

.popular-search-tag:hover {
    background: var(--listeo-primary-color, #222);
    color: white;
    border-color: var(--listeo-primary-color, #222);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.popular-search-tag:active {
    transform: translateY(0);
}

/*--------------------------------------
# Elementor Custom Styles
---------------------------------------*/
.elementor-chat-style .listeo-ai-chat-wrapper { height: auto !important;}

.elementor-chat-style .listeo-ai-chat-wrapper .listeo-ai-chat-messages {
    max-height: 0;
    height: 400px;
    padding: 0 20px; /* Keep horizontal padding, remove vertical */
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}

.elementor-chat-style .listeo-ai-chat-wrapper.expanded .listeo-ai-chat-messages {
    max-height: 400px;
    padding: 20px;
}
.elementor-chat-style .listeo-ai-chat-container {
    border: none;
    zoom: 1.12;
    position: relative;
}

.elementor-chat-style .listeo-ai-chat-container {border-radius: 10px; transition: 0.3s;}
.elementor-chat-style .listeo-ai-chat-wrapper.expanded .listeo-ai-chat-container {border-radius: 10px;}

.elementor-chat-style .listeo-ai-chat-messages {
    background: transparent;
}

.elementor-chat-style .listeo-ai-chat-wrapper.expanded .listeo-ai-chat-messages {

}

.elementor-chat-style .listeo-ai-chat-input {
    background: transparent;
    min-width: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

.elementor-chat-style .listeo-ai-chat-input::-webkit-scrollbar {
    display: none;
}

.elementor-chat-style .listeo-ai-chat-input-wrapper {
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 12px;
}

.elementor-chat-style .listeo-ai-chat-input-wrapper {
}

.elementor-chat-style .listeo-ai-chat-message.listeo-ai-chat-message-system,
.elementor-chat-style .listeo-ai-chat-message-assistant {
box-shadow: none;
background: transparent;
padding: 12px 0;
}

.elementor-chat-style .listeo-ai-chat-avatar-wrapper { display: none; }
.elementor-chat-style .listeo-ai-chat-message-avatar { top: 10px; }

/* Elementor style avatar adjustments */
.elementor-chat-style .listeo-ai-chat-message-assistant.has-avatar {
    margin-left: 32px;
    padding-left: 0;
}

.elementor-chat-style .listeo-ai-chat-title {
    display: none;
}

.elementor-chat-style .listeo-ai-chat-header {
    border: none;
    background: transparent;
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;transition: 0.3s;z-index: 111;
    left: 15px; top: 15px;
    display: none;overflow: hidden;padding: 0;
}


.elementor-chat-style .listeo-ai-chat-wrapper.expanded  .listeo-ai-chat-header{
    opacity: 1;
    display: block;
    background: transparent !important;
}

.elementor-chat-style .listeo-ai-chat-message-system { display: none; }

.elementor-chat-style .listeo-ai-chat-message-user {
    padding: 8px 15px; border-radius: 30px;
}

.elementor .elementor-chat-style  .listeo-ai-listing-item {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
}

.elementor .elementor-chat-style  .listeo-ai-listing-item:hover {
    border: 1px solid #ddd;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.elementor-chat-style .listeo-ai-chat-menu { position: absolute; top: 0; right: 10px; }

.elementor-chat-style .listeo-ai-chat-quick-buttons {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 15px;
    margin: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    background: transparent;
}

.elementor-chat-style  .listeo-ai-quick-btn { background-color: #f4f4f4; }

.elementor-chat-style .listeo-ai-chat-wrapper.expanded .listeo-ai-chat-quick-buttons {
    max-height: 100px;
    opacity: 1;
    padding: 0 20px;
    padding-top: 15px;
    margin-bottom: 0;
    pointer-events: auto;
}

.elementor .listeo-ai-listing-item.listeo-ai-listing-item.listeo-ai-listing-hidden { display: none; }

/*--------------------------------------
# Powered by PurioChat Badge
---------------------------------------*/
.listeo-ai-chat-powered-by {
    text-align: center;
    font-size: 12px;
    color: #888;
    background: transparent;
    padding: 0;
    margin: -10px 0 10px 0;
    line-height: 27px;
}

.listeo-ai-chat-powered-by a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.listeo-ai-chat-powered-by-logo {
    display: inline-block;
    position: relative;
    top: 1px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin: 0px 2px 0px 2px !important;
    vertical-align: -3px;
}

.listeo-ai-chat-powered-by-name {
    font-weight: 600;
}

.listeo-ai-chat-powered-by a:hover {
    color: #111;
}

/* Elementor chat style adjustments */
.elementor-chat-style .listeo-ai-chat-powered-by {
    background: transparent;
    border: none;
    padding: 6px 12px;
}

/*--------------------------------------
# Quick Action Buttons
---------------------------------------*/
.listeo-ai-chat-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    background: #f8f8f8
}

.listeo-ai-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ebebeb;
    line-height: 20px;
    color: #777;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); */
}

/* Custom color buttons - show color in default state */
.listeo-ai-quick-btn.has-custom-color {
    background: var(--quick-btn-color-light);
    color: var(--quick-btn-color);
}

.listeo-ai-quick-btn.has-custom-color .listeo-ai-btn-icon {
    opacity: 1;
    stroke: var(--quick-btn-color);
}

.listeo-ai-quick-btn:hover {
    background: var(--quick-btn-color-light, var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1)));
    border-color: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee));
    color: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee));
}

.listeo-ai-quick-btn.has-custom-color:hover {
    background: var(--quick-btn-color-light);
    background: color-mix(in srgb, var(--quick-btn-color-light) 94%, var(--quick-btn-color));
}

.listeo-ai-quick-btn:active {
    transform: scale(0.97);
}

/* Button icon styling */
.listeo-ai-btn-icon {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease, stroke 0.2s ease;
}

.listeo-ai-quick-btn:hover .listeo-ai-btn-icon {
    opacity: 1;
    stroke: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee));
}

/* ==========================================================================
   Contact Form Overlay
   ========================================================================== */

.listeo-ai-contact-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: inherit;
}

.listeo-ai-contact-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 340px;
    max-height: 100%;
    overflow-y: auto;
}

.listeo-ai-contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    padding-bottom: 0;
    /* border-bottom: 1px solid #eee; */
}

.listeo-ai-contact-form-header h3 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 600;
    color: #333;
}

.listeo-ai-contact-form-close {
    background: none;
    border: none;
    padding: 6px !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 28px !important;
    height: 28px !important;
    background: #f5f5f5;
    min-width: auto !important;
    min-height: auto !important;
    box-sizing: border-box;
}

.listeo-ai-contact-form-close svg {
    stroke: #888;
    transition: stroke 0.2s ease;
}

.listeo-ai-contact-form-close:hover {
    background: #eee;
}

.listeo-ai-contact-form-close:hover svg {
    stroke: #333;
}

.listeo-ai-contact-form-body {
    padding: 20px;
}

.listeo-ai-contact-form-field {
    margin-bottom: 16px;
}

.listeo-ai-contact-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.listeo-ai-contact-form-field label .required {
    color: #dc3545;
}

body .listeo-ai-contact-form-field input,
body .listeo-ai-contact-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    height: 40px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.listeo-ai-contact-form-field input:focus,
.listeo-ai-contact-form-field textarea:focus {
    outline: none !important;
    border-color: var(--ai-chat-primary-color, #0073ee) !important;
    box-shadow: 0 0 0 3px var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1)) !important;
}

.listeo-ai-contact-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.listeo-ai-contact-form-actions {
    margin-top: 20px;
}

body .listeo-ai-contact-form-submit {
    width: 100%;
    padding: 8px 20px !important;
    background: var(--ai-chat-primary-color, #0073ee);
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 42px !important;
    min-height: 42px !important;
    line-height: 20px !important;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.listeo-ai-contact-form-submit:hover {
    background: color-mix(in srgb, var(--ai-chat-primary-color, #0073ee) 85%, #000);
}

.listeo-ai-contact-form-submit:active {
    transform: scale(0.98);
}

.listeo-ai-contact-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.listeo-ai-contact-form-submit .button-spinner {
    display: flex;
    align-items: center;
}

.listeo-ai-contact-form-message {
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.listeo-ai-contact-form-message.success {
    background: #d4edda;
    color: #155724;
}

.listeo-ai-contact-form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* ==========================================================================
   Pre-Chat Required Fields Form
   Reuses contact form field styles but positioned inline (not overlay)
   ========================================================================== */

.listeo-ai-pre-chat-form {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.listeo-ai-pre-chat-form .listeo-ai-contact-form-body {
    padding: 14px 20px 16px;
}

.elementor-chat-style .listeo-ai-pre-chat-form {
    margin-top: 40px;
    zoom: 0.9;
    max-width: 400px;
    box-shadow: none;
    background: #f8f8f8;
}

.listeo-ai-pre-chat-form .listeo-ai-contact-form-field {
    margin-bottom: 12px;
}

.listeo-ai-pre-chat-form .listeo-ai-contact-form-actions {
    margin-top: 14px;
}

/* ==========================================================================
   Image Input Button
   ========================================================================== */

.listeo-ai-chat-image-btn {
    position: absolute !important;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    border-radius: 50px !important;
    border: none;
    background: #fff !important;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0 !important;
    z-index: 2;
}

.listeo-ai-chat-image-btn:hover {
    background: var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1)) !important;
    border-color: var(--ai-chat-primary-color, #0073ee);
    color: var(--ai-chat-primary-color, #0073ee);
}

.listeo-ai-chat-image-btn:hover svg {
    stroke: var(--ai-chat-primary-color, #0073ee);
}

.listeo-ai-chat-image-btn svg {
    flex-shrink: 0;
    transition: stroke 0.2s ease;
}

/* Image attached state */
.listeo-ai-chat-image-btn.has-image {
    background: var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1)) !important;
    color: var(--ai-chat-primary-color, #0073ee);
}

.listeo-ai-chat-image-btn.has-image svg {
    stroke: var(--ai-chat-primary-color, #0073ee);
}

/* Image count badge */
.listeo-ai-chat-image-btn .image-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    background: var(--ai-chat-primary-color, #0073ee);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    box-sizing: border-box;
}

.listeo-ai-chat-image-btn.has-image .image-count-badge {
    display: flex;
}

/* Input padding when image button is present */
.listeo-ai-chat-input.has-image-input {
    padding-left: 50px !important;
}

/* Image Preview */
.listeo-ai-chat-image-preview {
    position: relative;
    display: inline-block;
    margin: 8px 0;
    max-width: 150px;
}

.listeo-ai-chat-image-preview img {
    max-width: 100%;
    max-height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.listeo-ai-chat-image-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff4444;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

.listeo-ai-chat-image-preview-remove:hover {
    background: #cc0000;
}

/* User message with image */
.listeo-ai-chat-message-user .listeo-ai-chat-user-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}

.listeo-ai-chat-message-user .listeo-ai-chat-user-image + .listeo-ai-chat-message-content {
    margin-top: 0;
}

/* ==========================================================================
   Custom Tooltips
   ========================================================================== */

.listeo-ai-tooltip {
    position: fixed;
    background: #222;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 9999999;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.listeo-ai-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Triangle indicator below tooltip */
.listeo-ai-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

.listeo-ai-tooltip.no-arrow::after {
    display: none;
}

/* =============================================
   Typing Animation
   ============================================= */

/* Default: words are visible (for restored messages) */
.stream-word {
    display: inline;
}

/* Hidden state ONLY during active animation */
.streaming-active .stream-word {
    display: none;
}

/* Hide block elements (li, p, headings) until their content appears - ONLY during active animation */
.streaming-active .stream-block-hidden {
    display: none;
}

/* Visible state during animation - fade in smoothly */
.streaming-active .stream-word.visible {
    display: inline;
    animation: streamWordFadeIn 0.15s ease-out forwards;
}

@keyframes streamWordFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade trail effect - most recent words are more faded */
.streaming-active .stream-word.trail-1 {
    opacity: 0.4;
}

.streaming-active .stream-word.trail-2 {
    opacity: 0.55;
}

.streaming-active .stream-word.trail-3 {
    opacity: 0.7;
}

.streaming-active .stream-word.trail-4 {
    opacity: 0.85;
}

.streaming-active .stream-word.trail-5 {
    opacity: 0.95;
}



/* =============================================
   Chat window Header with Image
   ============================================= */
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-header {
   height: 120px;
    position: relative;
    border-bottom: none;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-header-left {
    z-index: 100;
    align-self: flex-end;
    top: 20px;
    position: relative;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-menu {
    align-self: flex-start;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-avatar {
    height: 45px;
    width: 45px;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-header {
  background-image: var(--header-bg-image);
  background-size: cover;
  background-position: center;
  background-color: var(--header-bg-color);
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-avatar-wrapper {
    top: 15px;
    position: relative;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-title {
    display: none; 
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-menu-trigger,
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-cart-toggle {
    color: #fff;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-darkmode-toggle:hover,
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-menu-trigger:hover,
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-menu-trigger[aria-expanded="true"],
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-cart-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}


.chat-image-bg-welcome-text {
    padding-top: 20px;
}

.chat-image-bg-welcome-text p,
.chat-image-bg-welcome-text h3 { 
    margin: 0 !important;
    padding: 0 !important;
}

.chat-image-bg-welcome-text h3 { 
    color: #111;
    font-size: 21px !important;
    font-weight: 600;
    padding-bottom: 5px !important;
    line-height: 28px;
}

.chat-image-bg-welcome-text p { 
    color: #666;
    font-size: 17px !important;
    font-weight: 400;
    line-height: 28px !important;
}


/* Styles with image overlay */
.listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .listeo-ai-chat-header:before {
   content: "";
    background: linear-gradient(transparent 20%, #ffffff47 50%, #fff);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.listeo-floating-chat-widget:not(.dark-mode) .listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .listeo-ai-chat-messages{
    background: linear-gradient(#fff 50%, #f8f8f8);
}

.listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .listeo-ai-chat-header {
   height: 150px;
}

.listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .listeo-ai-chat-avatar-wrapper {
    top: 0;
}

.listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .chat-image-bg-welcome-text {
    padding-top: 5px;
}

.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-header-left,
.listeo-floating-chat-popup.chat-image-header .chat-image-bg-welcome-text {
    padding-left: 10px;
}


/* Dark mode adjustments */
.listeo-floating-chat-widget.dark-mode .chat-image-bg-welcome-text h3 { 
    color: #fff  !important;
}
.listeo-floating-chat-widget.dark-mode .chat-image-bg-welcome-text,
.listeo-floating-chat-widget.dark-mode  .chat-image-bg-welcome-text p { 
    color: #bbb  !important;
}
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-darkmode-toggle svg,
.listeo-floating-chat-widget.dark-mode .listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-menu-trigger,
.listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-cart-toggle,
.listeo-floating-chat-widget.dark-mode .listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-cart-toggle {
    color: #fff  !important;
}
.listeo-floating-chat-widget.dark-mode .listeo-floating-chat-popup.chat-image-header.chat-image-header-overlay .listeo-ai-chat-header:before {
    background: linear-gradient(transparent 20%, var(--chat-bg));
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-chat-popup.chat-image-header .listeo-ai-chat-avatar {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}

/* =============================================
   Animated Wave Header
   ============================================= */

.listeo-silk-wave-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    border-radius: inherit;
    will-change: transform;
}

/* --silk-blur is set inline by silk-wave-bg.js; blur lives here as a CSS
   filter because ctx.filter is not implemented in WebKit/Safari. */
.listeo-silk-wave-canvas {
    display: block;
    width: 100%;
    height: calc(100% - 1px);
    filter: blur(var(--silk-blur, 0px)) contrast(1.3);
}

.dark-mode .listeo-silk-wave-canvas {
    filter: blur(var(--silk-blur, 0px)) contrast(1.1);
}

.listeo-silk-wave-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-size: 256px 256px;
}

.listeo-floating-chat-popup.chat-animated-header .listeo-ai-chat-header {
    background-image: none;
    background-color: transparent;
}

.listeo-floating-chat-popup.chat-animated-header .listeo-ai-chat-header-left,
.listeo-floating-chat-popup.chat-animated-header .listeo-ai-chat-menu {
    z-index: 10;
    position: relative;
}

/* ==========================================================================
   CART TOGGLE BUTTON (Header)
   ========================================================================== */

.listeo-ai-chat-cart-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    color: #777;
    transition: all 0.15s ease;
    position: relative;
}

.listeo-ai-chat-cart-toggle > svg {
    position: relative;
    left: -1px;
}

.listeo-ai-chat-cart-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.listeo-ai-cart-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: var(--ai-chat-primary-color, #0073ee);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    pointer-events: none;
}

/* ==========================================================================
   ADD TO CART BUTTON (Product Cards)
   ========================================================================== */

/* Product card as div (when cart enabled) - match <a> card styling */
div.listeo-ai-product-card {
    cursor: default;
}

div.listeo-ai-product-card .listeo-ai-listing-title a {
    color: inherit;
    text-decoration: none;
}

div.listeo-ai-product-card .listeo-ai-listing-title a:hover {
    color: var(--ai-chat-primary-color, #0073ee);
}

div.listeo-ai-product-card .listeo-ai-listing-thumbnail a {
    display: block;
}

.listeo-ai-atc-wrapper {
    display: flex;
    margin-top: 8px;
    margin-bottom: 3px;
}

.listeo-ai-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ai-chat-primary-color, #0073ee);
    background: var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1));
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
    width: auto;
}

.listeo-ai-add-to-cart-btn:hover {
    background: var(--ai-chat-primary-color, #0073ee);
    color: #fff;
    text-decoration: none !important;
}

.listeo-ai-add-to-cart-btn.loading {
    pointer-events: none;
}

.listeo-ai-add-to-cart-btn.added {
    background: #27ae60;
    color: #fff;
}

.listeo-ai-add-to-cart-btn svg {
    flex-shrink: 0;
}

/* ==========================================================================
   CART POPUP OVERLAY
   ========================================================================== */

.listeo-ai-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: inherit;
}

.listeo-ai-cart-popup {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 360px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.listeo-ai-cart-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.listeo-ai-cart-popup-header h3 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.listeo-ai-cart-popup-close {
    background: #f5f5f5;
    border: none;
    padding: 6px !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 28px !important;
    height: 28px !important;
    min-width: auto !important;
    min-height: auto !important;
    box-sizing: border-box;
}

.listeo-ai-cart-popup-close svg {
    stroke: #888;
    transition: stroke 0.2s ease;
}

.listeo-ai-cart-popup-close:hover {
    background: #eee;
}

.listeo-ai-cart-popup-close:hover svg {
    stroke: #333;
}

.listeo-ai-cart-popup-body {
    overflow-y: auto;
    flex: 1;
    padding: 12px 16px;
    min-height: 60px;
}

.listeo-ai-cart-loading {
    display: flex;
    justify-content: center;
    padding: 20px;
    color: #aaa;
}

.listeo-ai-cart-spinner {
    animation: listeo-ai-cart-spin 0.8s linear infinite;
}

@keyframes listeo-ai-cart-spin {
    to { transform: rotate(360deg); }
}

.listeo-ai-cart-empty {
    text-align: center;
    padding: 24px 16px;
    color: #888;
    font-size: 14px;
}

.listeo-ai-cart-empty p {
    margin: 0;
    font-size: 14px;
}

/* Cart Item */
.listeo-ai-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: opacity 0.2s ease;
}

.listeo-ai-cart-item:last-child {
    border-bottom: none;
}

.listeo-ai-cart-item-image {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.listeo-ai-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listeo-ai-cart-item-details {
    flex: 1;
    min-width: 0;
}

.listeo-ai-cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.listeo-ai-cart-item-title:hover {
    color: var(--ai-chat-primary-color, #0073ee);
    text-decoration: none;
}

.listeo-ai-cart-item-price {
    font-size: 13px;
    color: #666;
    margin-top: 0;
}

.listeo-ai-cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.listeo-ai-cart-qty-minus,
.listeo-ai-cart-qty-plus {
    width: 26px;
    height: 24px;
    border: none;
    background: #f8f8f8;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    padding: 0 !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1;
}

.listeo-ai-cart-qty-minus:hover,
.listeo-ai-cart-qty-plus:hover {
    background: #eee;
}

.listeo-ai-cart-qty-value {
    width: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 24px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.listeo-ai-cart-item-remove {
    background: none;
    border: none;
    padding: 4px !important;
    cursor: pointer;
    color: #bbb;
    transition: color 0.15s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto !important;
    min-height: auto !important;
    width: auto !important;
    height: auto !important;
}

.listeo-ai-cart-item-remove:hover {
    color: #e74c3c;
}

/* Cart Footer */
.listeo-ai-cart-popup-footer {
    border-top: 1px solid #eee;
    padding: 14px 20px;
    flex-shrink: 0;
}

.listeo-ai-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.listeo-ai-cart-popup-actions {
    display: flex;
    gap: 8px;
}

.listeo-ai-cart-view-btn,
.listeo-ai-cart-checkout-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.listeo-ai-cart-view-btn {
    color: #555;
    background: #f0f0f0;
    border: none;
}

.listeo-ai-cart-view-btn:hover {
    background: #e5e5e5;
    color: #333;
    text-decoration: none;
}

.listeo-ai-cart-checkout-btn {
    color: #fff !important;
    background: var(--ai-chat-primary-color, #0073ee);
    border: 1px solid transparent;
}

.listeo-ai-cart-checkout-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

/**
 * AI Chat Dark Mode Styles
 * Neutral Dark Theme
 *
 * @package AI Chat by Purethemes
 */

/* Dark mode CSS variables - neutral dark colors */
.listeo-ai-chat-wrapper.dark-mode {
    --chat-bg: #111;
    --chat-bg-secondary: #222;
    --chat-bg-tertiary: #222;
    --chat-border: #333;
    --chat-border-light: #444;
    --chat-text: #e5e5e5;
    --chat-text-secondary: #ccc;
    --chat-text-muted: #999;
    --chat-shadow: rgba(0, 0, 0, 0.4);
}

/* ===== CONTAINER ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-container {
    background: var(--chat-bg) !important;
    border-color: var(--chat-border) !important;
    box-shadow: 0 5px 20px var(--chat-shadow);
}

/* ===== HEADER ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-header {
    background-color: var(--chat-bg-secondary) !important;
    border-bottom-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-title {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-status-dot {
    border-color: var(--chat-bg-secondary) !important;
}

/* Menu */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-darkmode-toggle,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-trigger {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-darkmode-toggle:hover,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-trigger:hover,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-trigger[aria-expanded="true"] {
    background: rgba(0,0,0,0.2) !important;
    color: var(--chat-text) !important;
}

.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode.expanded .listeo-ai-chat-quick-buttons {
        padding-bottom: 20px;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-header,
.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode.expanded .listeo-ai-chat-messages { border-radius: 12px 12px 0 0; }
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-dropdown {
    background: var(--chat-bg-secondary) !important;
    border-color: var(--chat-border) !important;
    box-shadow: 0 4px 16px var(--chat-shadow);
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-item {
    color: var(--chat-text-secondary) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-item:hover {
    background: var(--chat-bg-tertiary) !important;
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-item svg {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-menu-item:hover svg {
    color: var(--chat-text) !important;
}

/* Clear button (shortcode) */
.listeo-ai-chat-wrapper.dark-mode button.listeo-ai-chat-clear-btn {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode button.listeo-ai-chat-clear-btn:hover {
    color: var(--chat-text) !important;
}

/* ===== MESSAGES AREA ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages {
    background: var(--chat-bg) !important;
}

/* User Message */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-user {
    background: var(--ai-chat-primary-color, #0073ee) !important;
    color: #fff !important;
}

/* Assistant/System Message */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-assistant,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message.listeo-ai-chat-message-system {
    background: #222 !important;
    color: var(--chat-text) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-assistant.chat-message-results {
    background: transparent !important;
    box-shadow: none !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-system {
    color: var(--chat-text-muted) !important;
}

/* Message Content */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content strong {
    color: var(--chat-text) !important;
}


.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content p,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content {
    color:  var(--chat-text-muted);
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content a,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content a strong,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-content a:hover {
    color: #fff !important;
}

/* Loading Message */
.listeo-ai-chat-wrapper.dark-mode div.listeo-ai-chat-message.listeo-ai-chat-message-assistant[id^="loading"] {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--chat-text-muted) !important;
}

/* ===== LOADING INDICATORS ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-typing-dots span {
    background: var(--chat-text-muted) !important;
}


.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-loading::before {
    background: var(--chat-bg) !important
}

/* ===== INPUT AREA ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input-wrapper {
    background: var(--chat-bg-secondary) !important;
    border-top-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-container {
    background: var(--chat-bg-secondary) !important;
}
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input-wrapper {
    border-radius: 0 0 12px 12px;
}
.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input-wrapper {
    border-radius: 12px;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input:not(.elementor-chat-style .listeo-ai-chat-input) {
    background: #303030 !important;
    color: var(--chat-text) !important;
    border-color: var(--chat-border) !important;
    box-shadow: none !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input::placeholder {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-input:focus {
    border-color: var(--ai-chat-primary-color, #0073ee) !important;
    box-shadow: none;
}

/* Send Button */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-send-btn {
    background: var(--ai-chat-primary-color, #0073ee) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-send-btn:disabled {
    background: var(--chat-border-light) !important;
}

/* Image Input Button */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-image-btn {
    background: #242424 !important;
    color: #ccc !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-mic-btn:not(.recording):hover,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-image-btn:hover {
    background: var(--ai-chat-primary-color, #0073ee) !important;
    color: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-image-btn:hover svg {
    stroke: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-image-btn.has-image {
    background: var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.2)) !important;
    color: var(--ai-chat-primary-color, #5fa8ff) !important;
}

/* ===== QUICK ACTION BUTTONS ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-quick-buttons {
    background: var(--chat-bg) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn {
    background: var(--chat-bg-tertiary) !important;
    color: var(--chat-text-secondary) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn.has-custom-color {
    background: var(--quick-btn-color) !important;
    color: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn.has-custom-color .listeo-ai-btn-icon {
    stroke: #fff !important;
    opacity: 1;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn:hover {
    background: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee)) !important;
    color: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn.has-custom-color:hover {
    background: var(--quick-btn-color) !important;
    background: color-mix(in srgb, var(--quick-btn-color) 88%, #000) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn:hover .listeo-ai-btn-icon {
    stroke: #fff !important;
}

/* ===== LISTING CARDS ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-item {
    background: var(--chat-bg-secondary) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-title {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode p.listeo-ai-listing-excerpt {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-meta {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-meta i {
    color: var(--chat-border-light) !important;
}

/* Product Price */
.listeo-ai-chat-wrapper.dark-mode .product-price {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .product-price .regular-price {
    color: var(--chat-text-muted) !important;
}

/* Show More Button */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-show-more-btn {
    background: var(--ai-chat-primary-color, #0073ee) !important;
    color: #fff !important;
}

/* Best Match Badge */
.listeo-ai-chat-wrapper.dark-mode .match-badge.best {
    background: rgba(39, 174, 96, 0.2) !important;
    color: #5cd690 !important;
}

/* ===== CONTEXT BUTTONS ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-context-title,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-product-context-title {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-load-listing-btn,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-load-product-btn {
    background: var(--chat-bg-tertiary) !important;
    color: var(--chat-text) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-load-listing-btn:hover,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-load-product-btn:hover {
    background: var(--chat-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.listeo-ai-chat-wrapper.dark-mode .context-loaded-icon {
    color: var(--chat-text) !important;
}

/* ===== POPULAR SEARCHES ===== */
.listeo-ai-chat-wrapper.dark-mode .popular-searches-header {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .popular-search-tag {
    background: var(--chat-bg-tertiary) !important;
    color: var(--chat-text-secondary) !important;
}

.listeo-ai-chat-wrapper.dark-mode .popular-search-tag:hover {
    background: var(--ai-chat-primary-color, #0073ee) !important;
    color: #fff !important;
}

/* ===== DISABLED STATE ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-disabled {
    background: rgba(255, 193, 7, 0.15) !important;
    color: #ffc107 !important;
}

/* ===== POWERED BY ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-powered-by {
    color: var(--chat-text-muted) !important;
    margin-top: -8px !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-powered-by a {
    color: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-powered-by a:hover {
    color: #fff !important;
}

/* ===== TERMS NOTICE ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-terms-notice {
    color: var(--chat-text-muted) !important;
    background: var(--chat-bg-secondary) !important;
    padding-top: 2px;
    border-radius: 0 0 12px 12px;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-terms-notice a {
    color: #eee !important;
}

/* ===== CONTACT FORM OVERLAY ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form {
    background: var(--chat-bg-secondary) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-header h3 {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-close {
    background: color-mix(in srgb, var(--chat-border) 70%, transparent) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-close svg {
    stroke: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-close:hover {
    background: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-close:hover svg {
    stroke: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field label {
    color: var(--chat-text-secondary) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field input,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field textarea {
    background: #303030 !important;
    border-color: var(--chat-border) !important;
    color: var(--chat-text) !important;
    box-shadow: none !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field input:focus, 
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field textarea:focus {
    outline: none !important;
    border-color: var(--ai-chat-primary-color, #0073ee) !important;
    box-shadow: none !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field input::placeholder,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-field textarea::placeholder {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-message.success {
    background: rgba(39, 174, 96, 0.2) !important;
    color: #5cd690 !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-contact-form-message.error {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
}

/* ===== PRE-CHAT FORM (dark mode) ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-pre-chat-form {
    background: var(--chat-bg-secondary) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-pre-chat-headline {
    color: var(--chat-text) !important;
}

/* ===== SCROLLBAR ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages {
    scrollbar-color: var(--chat-border) var(--chat-bg);
    scrollbar-width: thin;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages::-webkit-scrollbar-track {
    background: var(--chat-bg) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages::-webkit-scrollbar-thumb {
    background: var(--chat-border) !important;
    border-radius: 3px;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--chat-border-light) !important;
}

/* ===== ELEMENTOR STYLE OVERRIDES ===== */
.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message-assistant,
.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-message.listeo-ai-chat-message-system {
    background: transparent !important;
    box-shadow: none !important;
}

.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-quick-btn {
    background: var(--chat-bg-tertiary) !important;
}

.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-item {
    border: 1px solid var(--chat-border) !important;
}

.elementor-chat-style .listeo-ai-chat-wrapper.dark-mode .listeo-ai-listing-item:hover {
    border-color: var(--chat-border-light) !important;
}

/* ===== FLOATING CHAT DARK MODE ===== */

/* Welcome Bubble Dark Mode */
.listeo-floating-chat-widget.dark-mode .listeo-floating-welcome-bubble {
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-welcome-bubble-content {
    color: #e5e5e5;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-welcome-bubble-arrow {
    background: #1a1a1a;
}

/* Popup Container Dark Mode */
.listeo-floating-chat-widget.dark-mode .listeo-floating-chat-popup {
    background: transparent;
}

.listeo-floating-chat-popup .listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-container {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}


/* Shimmer */
.dark-mode .listeo-ai-chat-typing-dots,
.dark-mode .listeo-ai-chat-loading,
.dark-mode .listeo-ai-chat-shimmer-text {
    filter: brightness(1.4)
}

/* ===== CART TOGGLE BUTTON ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-cart-toggle {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-chat-cart-toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--chat-text) !important;
}

/* ===== PRODUCT CARD (div mode) ===== */
.listeo-ai-chat-wrapper.dark-mode div.listeo-ai-product-card .listeo-ai-listing-title a {
    color: inherit !important;
}

.listeo-ai-chat-wrapper.dark-mode div.listeo-ai-product-card .listeo-ai-listing-title a:hover {
    color: var(--ai-chat-primary-color, #4da3ff) !important;
}

/* ===== ADD TO CART BUTTON ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-add-to-cart-btn {
    color: #fff !important;
    background: var(--ai-chat-primary-color, #0073ee) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-add-to-cart-btn:hover {
    background: var(--ai-chat-primary-color, #4da3ff) !important;
    color: #fff !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-add-to-cart-btn.added {
    background: #27ae60 !important;
    color: #fff !important;
}

/* ===== CART POPUP OVERLAY ===== */
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup {
    background: var(--chat-bg-secondary) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-header {
    border-bottom-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-header h3 {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-close {
    background: color-mix(in srgb, var(--chat-border) 70%, transparent) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-close svg {
    stroke: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-close:hover {
    background: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-close:hover svg {
    stroke: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-empty {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item {
    border-bottom-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-title {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-title:hover {
    color: var(--ai-chat-primary-color, #4da3ff) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-price {
    color: var(--chat-text-secondary) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-qty {
    border-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-qty-minus,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-qty-plus {
    background: #303030 !important;
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-qty-minus:hover,
.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-qty-plus:hover {
    background: #404040 !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-qty-value {
    color: var(--chat-text) !important;
    border-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-remove {
    color: var(--chat-text-muted) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-item-remove:hover {
    color: #e74c3c !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-popup-footer {
    border-top-color: var(--chat-border) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-subtotal-row {
    color: var(--chat-text) !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-view-btn {
    background: #303030 !important;
    color: var(--chat-text) !important;
    border: none !important;
}

.listeo-ai-chat-wrapper.dark-mode .listeo-ai-cart-view-btn:hover {
    background: #404040 !important;
}

/**
 * AI Chat Floating Widget Styles
 *
 * @package AI Chat by Purethemes
 * @since 1.0.0
 */

/* === Floating Widget Container === */
/* bottom/right/left offsets are set via inline styles from admin settings */
.listeo-floating-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}

/* === Left Position === */
.listeo-floating-chat-widget.position-left {
    right: auto;
    left: 20px;
}

.listeo-floating-chat-widget.position-left .listeo-floating-chat-button {
    right: auto;
    left: 0;
}

.listeo-floating-chat-widget.position-left .listeo-floating-chat-popup {
    right: auto;
    left: 0;
}

.listeo-floating-chat-widget.position-left .listeo-floating-welcome-bubble-arrow {
    right: auto;
    left: 20px;
}

/* === Floating Button (60x60px circle) === */
.listeo-floating-chat-button {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 100px !important;
    background: #222;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    position: absolute !important;
    z-index: 2;
    right: 0;
    bottom: 0;
    top: initial !important;
    padding: 0 !important;
}

.listeo-floating-chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.listeo-floating-chat-button.listeo-mini-chat-launcher-return {
    animation: listeoMiniChatLauncherReturn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

@keyframes listeoMiniChatLauncherReturn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* .listeo-floating-chat-button:active {
    transform: scale(0.95);
} */

.listeo-floating-chat-button i {
    color: white;
    font-size: 24px;
    transition: all 0.2s ease;
}
.listeo-floating-chat-button i.sl-icon-arrow-down { font-size: 18px; }
/* Custom icon image styling */
.listeo-floating-custom-icon {
    max-width: 32px;
    max-height: 32px;
    width: auto;
    height: auto;
    border-radius: 100px;
    object-fit: contain;
    transition: all 0.2s ease;
}

/* Icon toggle positioning */
.listeo-floating-icon-open,
.listeo-floating-icon-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
}

@supports selector(:has(*)) {
    .listeo-floating-chat-button .listeo-floating-icon-open,
    .listeo-floating-chat-button .listeo-floating-icon-close {
        display: block !important;
        pointer-events: none;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        transition: opacity 0.2s ease, transform 0.2s ease;
        will-change: opacity, transform;
    }

    .listeo-floating-chat-button .listeo-floating-icon-close {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    .listeo-floating-chat-widget:has(.listeo-floating-chat-popup[style*="display: block"]):not(:has(.listeo-floating-chat-popup[style*="opacity: 0"])) .listeo-floating-chat-button .listeo-floating-icon-open {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    .listeo-floating-chat-widget:has(.listeo-floating-chat-popup[style*="display: block"]):not(:has(.listeo-floating-chat-popup[style*="opacity: 0"])) .listeo-floating-chat-button .listeo-floating-icon-close {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* === Welcome Bubble === */
.listeo-floating-bubble-stack {
    position: absolute;
    right: 0;
    bottom: 75px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: 280px;
    max-width: calc(100vw - 30px);
    z-index: 1;
}

.listeo-floating-chat-widget.position-left .listeo-floating-bubble-stack {
    right: auto;
    left: 0;
    align-items: flex-start;
}

.listeo-floating-bubble-stack .listeo-floating-welcome-bubble {
    box-sizing: border-box;
    right: auto;
    left: auto;
    width: max-content;
    max-width: 100%;
    margin-bottom: 0;
    float: none;
}

.listeo-floating-bubble-stack .listeo-floating-welcome-bubble-arrow {
    display: none;
}

.listeo-floating-bubble-stack > .listeo-floating-welcome-bubble:last-of-type .listeo-floating-welcome-bubble-arrow {
    display: block;
}

.listeo-floating-welcome-bubble {
    right: 0;
    cursor: pointer;
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    /* max-width: 280px; */
    animation: bubbleFadeIn 0.3s ease;
    z-index: 1;
    text-align: center;
    width: auto;
    margin-bottom: 75px;
    position: relative;
}

.listeo-floating-welcome-bubble-content {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #555;
}

.listeo-floating-welcome-bubble-arrow {
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

/* Hide welcome bubble */
.listeo-floating-welcome-bubble.hidden {
    display: none;
}

.listeo-floating-mini-chat {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    visibility: hidden;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100vw - 30px);
    padding: 10px;
    border: none !important;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    opacity: 0;
    filter: blur(8px);
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        filter 0.22s ease,
        visibility 0s linear 0.22s;
}

.listeo-floating-mini-chat.is-visible {
    visibility: visible;
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.listeo-floating-chat-widget.position-left .listeo-floating-mini-chat {
    right: auto;
    left: 0;
}

.listeo-floating-mini-chat-identity {
    position: absolute;
    top: -42px;
    left: 0;
    display: inline-flex;
    box-sizing: border-box;
    max-width: calc(100% - 42px);
    min-height: 32px;
    margin: 0 !important;
    padding: 4px 12px !important;
    align-items: center;
    gap: 8px;
    border: 0 !important;
    border-radius: 100px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    color: #222 !important;
    cursor: pointer;
    font-family: inherit;
    line-height: 24px;
    text-align: left;
}

.listeo-floating-mini-chat-identity.has-avatar {
    padding-left: 4px !important;
}

.listeo-floating-chat-widget:not(.dark-mode) .listeo-floating-mini-chat-identity {
    border: 1px solid #ffffffa1 !important;
    background: #ffffffb8 !important;
    backdrop-filter: blur(5px);
}

.listeo-floating-chat-widget.position-left .listeo-floating-mini-chat-identity {
    right: 0;
    left: auto;
}

body .listeo-floating-mini-chat-avatar {
    display: block;
    flex: 0 0 24px;
    box-sizing: border-box;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0;
    border-radius: 50% !important;
    object-fit: cover;
}

.listeo-floating-mini-chat-assistant-name {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listeo-floating-mini-chat-close {
    position: absolute !important;
    top: -42px !important;
    right: 0 !important;
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f0f0f0 !important;
    box-shadow: none !important;
    color: #666 !important;
    cursor: pointer !important;
    transform: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}

.listeo-floating-chat-widget.position-left .listeo-floating-mini-chat-close {
    right: auto !important;
    left: 0 !important;
}

.listeo-floating-mini-chat-message {
    max-height: 180px;
    overflow-y: auto;
    padding: 16px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #333;
    font-size: 15px;
    line-height: 24px;
    white-space: pre-wrap;
}

.listeo-floating-mini-chat-message a {
    color: var(--ai-chat-primary-color, #006aff);
    text-decoration: underline;
}

.listeo-floating-mini-chat-message a:hover,
.listeo-floating-mini-chat-message a:focus-visible {
    color: #0055cc;
}

.listeo-floating-mini-chat-quick-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 10px 0 2px !important;
    padding: 0 !important;
}

.listeo-floating-mini-chat-quick-actions[hidden] {
    display: none !important;
}

.listeo-floating-mini-chat-quick-action {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    align-items: center !important;
    gap: 6px !important;
    border: none !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: #ebebeb !important;
    box-shadow: none !important;
    color: #777 !important;
    cursor: pointer !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    appearance: none !important;
    transform: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}

.listeo-floating-mini-chat-quick-action:hover {
    background: var(--quick-btn-color-light, var(--ai-chat-primary-color-light, rgba(0, 115, 238, 0.1))) !important;
    color: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee)) !important;
}

.listeo-floating-mini-chat-quick-action:active {
    transform: scale(0.97) !important;
}

.listeo-floating-mini-chat-quick-action:focus-visible {
    outline: 2px solid var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee)) !important;
    outline-offset: 2px !important;
}

.listeo-floating-mini-chat-quick-action.listeo-floating-mini-chat-quick-action-custom {
    background: var(--quick-btn-color-light) !important;
    color: var(--quick-btn-color) !important;
}

.listeo-floating-mini-chat-quick-action.listeo-floating-mini-chat-quick-action-custom:hover {
    background: var(--quick-btn-color-light) !important;
    background: color-mix(in srgb, var(--quick-btn-color-light) 94%, var(--quick-btn-color)) !important;
    color: var(--quick-btn-color) !important;
}

.listeo-floating-mini-chat-quick-action.listeo-floating-mini-chat-quick-action-custom:focus-visible {
    outline-color: var(--quick-btn-color) !important;
}

.listeo-floating-mini-chat-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.listeo-floating-mini-chat-input {
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #333 !important;
    font: inherit !important;
    font-size: 15px !important;
    line-height: 44px !important;
    appearance: none !important;
}

.listeo-floating-mini-chat-send {
    display: inline-flex !important;
    flex: 0 0 40px !important;
    box-sizing: border-box !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: 50% !important;
    background: var(--ai-chat-button-color, #222) !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer !important;
    appearance: none !important;
    transform: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}

.listeo-floating-mini-chat-close:hover,
.listeo-floating-mini-chat-close:focus-visible {
    background: #dcdcdc !important;
    transform: scale(1.03) !important;
}

.listeo-floating-mini-chat-send:hover,
.listeo-floating-mini-chat-send:focus-visible {
    background: var(--ai-chat-button-color, #222) !important;
    background: color-mix(in srgb, var(--ai-chat-button-color, #222) 88%, #000) !important;
    color: #fff !important;
    transform: scale(1.03) !important;
}

.listeo-floating-mini-chat-send svg,
.listeo-floating-mini-chat-send:hover svg,
.listeo-floating-mini-chat-send:focus-visible svg {
    color: #fff !important;
    stroke: #fff !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat {
    background: #1a1a1a;
    color-scheme: dark;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-identity {
    background: #333 !important;
    color: #e5e5e5 !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-message {
    background: #2e2e2e !important;
    color: #e5e5e5;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-message strong {
    color: #fff;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-message a,
.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-message a:hover,
.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-message a:focus-visible {
    color: #fff;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-send,
.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-send:hover,
.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-send:focus-visible {
    background: var(--ai-chat-primary-color, #0073ee) !important;
    color: #fff !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-quick-action {
    background: #2b2b2b !important;
    color: #e5e5e5 !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-quick-action:hover {
    background: var(--quick-btn-color, var(--ai-chat-primary-color, #0073ee)) !important;
    color: #fff !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-quick-action.listeo-floating-mini-chat-quick-action-custom {
    background: var(--quick-btn-color) !important;
    color: #fff !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-quick-action.listeo-floating-mini-chat-quick-action-custom:hover {
    background: var(--quick-btn-color) !important;
    background: color-mix(in srgb, var(--quick-btn-color) 88%, #000) !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-input {
    background: transparent !important;
    color: #e5e5e5 !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-close {
    background: #333 !important;
    color: #e5e5e5 !important;
}

.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-close:hover,
.listeo-floating-chat-widget.dark-mode .listeo-floating-mini-chat-close:focus-visible {
    background: #444 !important;
}

@media (prefers-reduced-motion: reduce) {
    .listeo-floating-mini-chat,
    .listeo-floating-mini-chat-quick-action {
        transition: none;
    }

    .listeo-floating-chat-button.listeo-mini-chat-launcher-return {
        animation: none !important;
    }
}

@keyframes bubbleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Chat Popup (dimensions set via inline styles) === */
.listeo-floating-chat-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    /* width and height set dynamically via inline styles */
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: popupSlideIn 0.3s ease;
}

.listeo-floating-chat-popup.listeo-no-animation {
    animation: none !important;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Override chat wrapper height for popup */
.listeo-floating-chat-popup .listeo-ai-chat-wrapper {
    display: block !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.listeo-floating-chat-popup .listeo-ai-chat-container {
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}


.listeo-floating-chat-popup { max-height: 75vh; }

@media (max-width: 768px) {
    .listeo-floating-chat-widget {
        bottom: 0;
        right: 0;
        left: auto;
        width: 100%;
    }

    .listeo-floating-chat-widget.position-left {
        left: 0;
        right: auto;
    }

    .listeo-floating-chat-popup {
        width: calc(100% - 30px) !important;
        height: calc(100vh - 100px) !important;
        bottom: 80px !important;
        right: 15px !important;
    }

    .listeo-floating-chat-widget.position-left .listeo-floating-chat-popup {
        right: auto !important;
        left: 15px !important;
    }

    .listeo-floating-chat-button {
        bottom: 20px;
        right: 20px;
        position: absolute;
        zoom: 0.8;
    }

    .listeo-floating-chat-widget.position-left .listeo-floating-chat-button {
        right: auto;
        left: 20px;
    }
    .listeo-floating-welcome-bubble {
         right: 15px;
        width: fit-content;
        float: right;
    }

    .listeo-floating-chat-widget.position-left .listeo-floating-welcome-bubble {
        float: left;
        right: auto;
        left: 15px;
    }

    .listeo-floating-bubble-stack {
        right: 15px;
    }

    .listeo-floating-chat-widget.position-left .listeo-floating-bubble-stack {
        right: auto;
        left: 15px;
    }

    .listeo-floating-chat-widget .listeo-floating-bubble-stack .listeo-floating-welcome-bubble {
        right: auto;
        left: auto;
        float: none;
    }

    .listeo-floating-mini-chat {
        right: 15px !important;
        left: 15px !important;
        bottom: 20px;
        width: auto !important;
        max-width: none !important;
    }

    .listeo-floating-chat-widget.position-left .listeo-floating-mini-chat {
        right: 15px !important;
        left: 15px !important;
    }
}

/* === Terms of Use Notice === */
.listeo-ai-chat-terms-notice {
    padding: 16px;
    padding-top: 0;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    margin-top: -5px;
    color: #666;
}

.listeo-ai-chat-terms-notice a {
    color: var(--ai-chat-primary-color);
    text-decoration: none;
}

.listeo-ai-chat-terms-notice a:hover {
    text-decoration: underline;
}

/* === Lazy Load State === */
/* Hide all chat content while scripts load, show only spinner */
.listeo-ai-chat-lazy-state .listeo-ai-chat-container {
    position: relative;
}

.listeo-ai-chat-lazy-state .listeo-ai-chat-header,
.listeo-ai-chat-lazy-state .listeo-ai-chat-messages,
.listeo-ai-chat-lazy-state .listeo-ai-chat-input-wrapper,
.listeo-ai-chat-lazy-state .listeo-ai-chat-quick-buttons,
.listeo-ai-chat-lazy-state .listeo-ai-chat-terms-notice,
.listeo-ai-chat-lazy-state .listeo-ai-chat-powered-by,
.listeo-ai-chat-lazy-state .listeo-ai-chat-menu {
    opacity: 0;
}

/* Spinner */
.listeo-ai-chat-lazy-state .listeo-ai-chat-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #666;
    border-radius: 50%;
    animation: listeoLazyLoadSpin 0.7s linear infinite;
    z-index: 1;
}

.listeo-ai-chat-lazy-state.dark-mode .listeo-ai-chat-container::after {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: #aaa;
}

@keyframes listeoLazyLoadSpin {
    to { transform: rotate(360deg); }
}

/**
 * AI Chat - Search Styles
 *
 * @package AI Chat by Purethemes
 */

.ai-chat-search-container {
    margin: 0;
    padding: 0px;
    overflow: visible;
    position: relative;
}

/* Modern Search Form */
.ai-search-form-wrapper {
    position: relative;
    margin-bottom: 0;
    overflow: visible;
    
}


.fs-content .ai-search-form-wrapper,
.sidebar .ai-search-form-wrapper{
        position: relative;
        height: 51px;
        padding: 0 20px;
        margin: 0;
        outline: none;
        font-size: 15px;
        color: #888;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        font-weight: 500;
        opacity: 1;
        border-radius: 4px;
        transition: 0.2s;
        background-color: #fff;
        border: 1px solid #dbdbdb;
        box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.06);
        margin-bottom: 18px;
        display: flex;
        align-items: center;
}

.ai-chat-search-form {
    margin: 0;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    /* background: white;
    border: 1px solid #e0e0e0; */
}

.search-input-wrapper input[name="ai_search_hp"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
}

.search-input-wrapper {
    border-radius: 4px;
    overflow: visible;
    /* transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
    padding: 4px; */
    justify-content: space-between;
    width: 100%;
}

/* .search-input-wrapper:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
} */

.search-input-icon {
    padding: 0 7px 0 0;
    display: flex;
    align-items: center;
}

.search-stars {
    font-size: 18px;
    opacity: 0.9;
    width: 20px;
}



.ai-btn-container {
    position: relative;
}

.ai-btn-container.ai-btn-error .ai-search-button {
    opacity: 0;
    visibility: hidden;
}

/* Clean consolidated button styles */
.ai-search-button {
    padding: 1px 12px;
    background: linear-gradient(135deg, #a98fe5, #7c3aed);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    line-height: 24px;
    transition: all 0.3s ease;
    background:linear-gradient(292deg, #8b5cf6, #ec4899, #f59e0b);
}

.ai-search-button:hover:not(:disabled) {
    /* background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px); */
    /* box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4); */
}

.ai-search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ai-search-button.loading-ai {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
}

.ai-search-button.tooltip-visible .button-text {
    opacity: 0.3;
}
.ai-search-button .ai-button-icon {
    font-size: 12px;
    margin-right: 4px;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";

}


/* Responsive button behavior - show only icon when container width < 400px */
.ai-search-form-wrapper {
    container-type: inline-size;
}

@container (max-width: 400px) {
    .ai-btn-container {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .ai-search-button {
        width: 24px;
        height: 24px;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    
    .ai-search-button .ai-button-icon {
        flex-shrink: 0;
        margin-right: 0;
        font-size: 11px;
    }

    body .listing-item-ai .listing-meta-ai span.address {
        max-width: 95%
    }
    
    .ai-search-button .button-text {
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-width 0.3s ease, opacity 0.3s ease;
        white-space: nowrap;
        font-size: 13px;
        line-height: 24px;
    }

    .ai-search-button:hover {
        width: auto;
        padding: 3px 12px;
        z-index: 1000;
    }

    .ai-search-button:hover .ai-button-icon {
        margin-right: 4px;
    }

    .ai-search-button:hover .button-text {
        max-width: 120px;
        opacity: 1;
    }

    body .validation-popup {
        line-height: 25px;
        padding: 0 13px;
        font-size: 13px;
        height: 25px;
    }

/* Best Match Badge - Simple and Clean */
body .match-badge.best {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    padding: 0px 6px;
    height: 18px;
}
}

/* Compact search results for narrow containers */
@container (max-width: 400px) {
    .search-results-container {
        padding: 15px !important;
    }

    
    
    .listing-thumbnail-ai {
        width: 60px !important;
        height: 60px !important;
        padding: 5px !important;
        display: none !important;
    }
    
    .listing-item-ai .listing-title-ai {
        font-size: 14px !important; /* 30% smaller than 16px */
        margin: 0 !important;
        line-height: 20px !important;
    }
    .listing-item-ai {
        flex-direction: column;
    }
    .listing-item-ai .listing-excerpt-ai {
        display: none !important; /* Hide excerpt completely */
    }
    
    .listing-details-ai {
        padding: 10px 13px !important;
        /* padding-left: 5px !important; */
        flex-direction: column;
    }

    .listing-sidebar-ai { justify-content: flex-start}
    
    .listing-sidebar-ai {
        min-width: 80px !important;
        align-items: flex-start !important;
        display: none !important;
    }
    
    /* Show compact badge inside title for narrow containers */
    .listing-title-ai .match-badge.compact {

    }
    
    .listing-item-ai .listing-meta-ai {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0 !important;
        margin-top: 2px !important;
        font-size: 13px !important;
    }
    
    .listing-item-ai .listing-meta-ai span {
        font-size: 13px !important;
    }
    .ai-results-header {
        margin-bottom: 16px !important;
    }
    
    .ai-header-title {
        font-size: 16px !important;
    }
    
    .ai-header-subtitle {
        font-size: 12px !important;
    }
}

.ai-search-button.loading-ai {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
}

.loading-spinner {
    display: inline-block;
}

.loading-spinner i {
    font-size: 14px;
}

/* Modern Search Suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    /* max-width: 100%; */
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 4%);
    z-index: 9999;
    display: none; /* Hidden by default, JS will handle animation */
    
    /* Animation properties */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Unique class to avoid Bootstrap conflicts */
.ai-search-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
}

.search-suggestions h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    display: inline-block;
    padding: 5px 10px;
    background: #f4f4f4;
    border-radius: 65px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    line-height: 17px;
}

.suggestion-tag:hover {
    background: #222;
    color: white;
}

/* AI Processing Status */
.ai-chat-search-container .ai-processing-status {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    /* max-width: 100%; */
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: none; /* Hidden by default, JS will handle animation */
    z-index: 10000; /* Higher than search suggestions */
    
    /* Animation properties */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    position: relative;
    min-height: 28px;
    margin: 0 2px;
}

.processing-step.active {
    opacity: 1;
    position: relative;
    overflow: hidden;
    border-radius: 74px;
    min-height: 28px;
}

.processing-step.active .step-icon,
.processing-step.active .step-text {
    color: #8b5cf6;
}

.processing-step .step-timing {
    margin-left: auto;
    font-size: 13px;
    color: #8b5cf6;
    background: #f3f0fd;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 500;
    opacity: 0.85;
    min-width: 48px;
    text-align: right;
    box-shadow: 0 1px 2px rgba(139,92,246,0.07);
    transition: background 0.2s, color 0.2s;
    margin-right: 2px;
    display: none;
}

.processing-step.completed .step-timing,
.processing-step.active .step-timing {
    display: inline-block;
}

.processing-step.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 246, 0.1), 
        rgba(168, 85, 247, 0.1), 
        rgba(139, 92, 246, 0.1), 
        transparent
    );
    animation: lightning 2s infinite;
    z-index: 1;
    border-radius: 4px;
}

.processing-step.active .step-icon,
.processing-step.active .step-text {
    position: relative;
    z-index: 2;
}

@keyframes lightning {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

.processing-step.completed {
    opacity: 1;
}

.step-icon {
    font-size: 15px;
    width: 24px;
    text-align: center;
}

.step-text {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    line-height: 18px;
}

/* Results Container */
.search-results-container {
    position: absolute;
    top: calc(100% + 5px);
    left: 0px;
    right: 0;
    /* max-width: 100%; */
    width: 100%;
    min-height: auto;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 6%);
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    z-index: 9999;
    display: none; /* Hidden by default, JS will handle animation */
    container-type: inline-size;
    
    /* Animation properties */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 480px) {
.main-search-inner .search-results-container {min-width: 320px; }
}

.results-header {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8faff, #eef2ff);
    border: 1px solid #e0e7ff;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.results-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Modern AI Results Header */
.ai-results-header {
    margin-bottom: 20px;
}

.ai-header-gradient {
    background: white;
    /* border: 1px solid #e5e7eb; */
    border-radius: 16px;
    /* padding: 24px; */
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 16px;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
}

.ai-header-icon {
    font-size: 28px;
    opacity: 0.8;
}

.ai-header-content {
    flex: 1;
}

.widget .ai-header-title,
.ai-header-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-header-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.query-highlight {
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

.results-count {
    font-size: 20px;
    color: #4c51bf;
    margin-bottom: 8px;
    font-weight: 600;
}

.search-explanation {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    line-height: 1.5;
}

.fallback-notice {
    padding: 12px 16px;
    margin-bottom: 15px;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    color: #0c5460;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-search-input {
    height: 30px !important;
    background: transparent;
    box-shadow: none !Important;
    margin-left: 0 !important;
    width: 100%;
    padding-left: 0 !important;
    width: 100%;
    flex: 1;
    flex-grow: 1;
    padding: 0;
    border: none !important;
    outline: none;
    font-size: 16px;
    background: transparent;
    margin: 0 !important;
    font-weight: 500;
    line-height: 20px !important;
}
.ai-search-input::placeholder {
    color: #808080;
    font-weight: 500;
    font-size: 15px;
}


/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* Results List - New List Layout with Small Square Thumbnails (AI-SPECIFIC) */
.results-list-ai {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    margin-bottom: 0;
}

/* List Item - Horizontal Layout (AI-SPECIFIC) - Now as clickable link */
.listing-item-ai {
    background: white !important;
    border-radius: 5px !important;
    /* overflow: hidden; */
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06) !important; */
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    align-items: stretch !important;
    min-height: 80px !important;
    position: relative;
    width: 100% !important;
    box-shadow: none;
    /* Link-specific styles */
    text-decoration: none !important;
    color: inherit !important;
    /* align-items: center !important; */
    overflow: hidden;
}

.listing-item-ai:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Small Square Thumbnail (AI-SPECIFIC) */
.listing-thumbnail-ai {
    position: relative;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    max-height: 100px;
    width: 100px;
    padding: 10px;
    /* border-radius: 5px; */
    /* overflow: hidden; */
}

.listing-thumbnail-ai img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.2s ease;
    border-radius: 5px !important;
}

/* No Thumbnail - Adjust layout when image is missing */
.listing-item-ai.no-thumbnail .listing-details-ai {
    padding-left: 16px;
}

.listeo-ai-listing-item.no-thumbnail .listeo-ai-listing-details {
    padding-left: 16px;
}

/* Listing Details - Flex Layout (AI-SPECIFIC) */
.listing-details-ai {
    display: flex;
    flex: 1;
    align-items: stretch;
    padding: 12px 16px;
    gap: 0;
    padding-left: 7px;
}

.listing-main-ai {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Allow text truncation */
}

.listing-sidebar-ai {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    min-width: 100px;
}

/* List Layout Typography (AI-SPECIFIC) */
.listing-item-ai .listing-title-ai {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #222;
    transition: 0.2s;
}

/* .listing-item-ai:hover .listing-title-ai {
    color: #8b5cf6;
} */

.listing-item-ai .listing-excerpt-ai {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Single line for list view */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 90%;
}

.listing-item-ai .listing-meta-ai {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #888;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 5px;
}

.listing-item-ai .listing-meta-ai span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
}

.listing-item-ai .listing-meta-ai span.address {
    /* display: flex; */
    /* align-items: center; */
    /* gap: 4px; */
    /* white-space: nowrap; */
    /* max-width: 335px; */
    /* white-space: nowrap; */
    overflow: hidden;
    /* text-overflow: ellipsis; */
    color: #888;
    font-size: 13px;
    line-height: 1.4;
    /* margin: 0; */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 70%;
}


.listing-item-ai .listing-meta-ai i {
    width: 10px;
    text-align: center;
    color: #b4b4b4;
    font-size: 12px;
}

/* Rating styles when inline with meta */
.listing-item-ai .listing-meta-ai .rating-ai {
    color: #f59e0b;
    font-weight: 500;
}

.listing-item-ai .listing-meta-ai .rating-ai i {
    color: #f59e0b !important;
    font-size: 10px;
}

/* Sidebar Elements (AI-SPECIFIC) */
.listing-sidebar-ai .price {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    text-align: right;
}

/* Hide empty sidebar */
.listing-sidebar-ai:empty {
    display: none;
}

/* Hide empty sidebar */
.listing-sidebar-ai:empty {
    display: none;
}

/* Hide empty sidebar - comprehensive approach */
.listing-sidebar-ai:empty {
    display: none;
}

/* Ensure proper spacing when sidebar is present */
.listing-sidebar-ai {
    min-width: 100px;
}

.listing-sidebar-ai { display: none !important;}

/* Best Match Badge - Simple and Clean */
.match-badge.best {
    font-weight: 600;
    font-size: 12px;
    padding: 0px 8px;
    line-height: 16px;
    text-shadow: none;
    border-radius: 50px;
    background: #00b54d21;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    color: #27ae60;
    height: 21px;
    position: relative;
    top: -1px;
    display: inline-block;
    margin-top: 4px;
}



/* No Results */
.no-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0px;
    right: 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    z-index: 9999;
    display: none; /* Hidden by default, JS will handle animation */
    border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 4%);
    
    /* Animation properties */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.no-results h3 {
    margin: 0 !important;
    color: #222;
    font-size: 18px!important;
    font-weight: 500;
}

.no-results p {
    color: #808080;
    font-size: 16px;
    margin: 0;
    line-height: 22px;
    margin-top: 5px;
}

/* Error Messages */
.search-error {
    position: absolute;
    top: calc(100% + 0px);
    left: 0px;
    right: 0;
    max-width: 100%;
    width: 100%;
    padding: 12px 16px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 14px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 4%);
    z-index: 9999;
    display: none; /* Hidden by default, JS will handle animation */
    
    /* Animation properties */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Debug Panel Styles */
.search-debug-panel {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.search-debug-panel h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
}

.debug-section {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.debug-section strong {
    min-width: 140px;
    color: #495057;
    margin-right: 10px;
}

.debug-section span,
.debug-section pre {
    color: #212529;
    word-break: break-word;
}

.debug-raw {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.debug-raw-data {
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px;
    font-size: 11px;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.debug-toggle-raw {
    background: #6c757d;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
}

.debug-toggle-raw:hover {
    background: #5a6268;
}

/* AI Search Result Animations - Updated for List Layout (AI-SPECIFIC) */
.listing-item-ai {
    opacity: 0;
    transform: translateY(0px);
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AI Results Header Animation */
.results-header {
    opacity: 0;
    transform: translateY(0px);
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation Popup */
.ai-btn-container {position: absolute;right: 0;top: 50%;transform: translateY(-52%);}
.validation-popup {
    position: absolute;
    top: 50%;
    right: 100%;
    background: #dc3545;
    color: white;
    line-height: 20px;
    padding: 1px 13px;
    border-radius: 55px;
    font-size: 13px;
    height: 24px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    pointer-events: none;
    right: 0;
}


.validation-popup.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.main-search-input .search-input-wrapper {
    height: 44px;
}

.main-search-inner .ai-search-input::placeholder,
.main-search-inner .ai-search-input { font-size: 16px !important;}
body .main-search-inner .search-suggestions h4 {
    line-height: 20px;
    font-size: 14px;
    color: #666 !important;
    font-weight: 500;
    opacity: 1;
}

.main-search-inner .no-results,
.main-search-inner .ai-processing-status,
.main-search-inner .search-suggestions,
.main-search-inner .search-results-container {
    border: none;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.08);
    padding-top: 10px;
}



.widget .no-results,
.widget .ai-processing-status,
.widget .search-suggestions,
.widget .search-results-container {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    top: calc(100% - 2px);
    border-top: none;
    border-radius: 0 0 4px 4px;
    left: -1px;
    width: calc(100% + 2px);
    padding-top: 10px;
}

.widget .search-results-container { left: 0;}
@media (max-width: 992px) {
    .main-search-inner .ai-search-form-wrapper {     background: #fff;
    padding: 5px 14px;
    border-radius: 5px;}
.main-search-inner .no-results,
.main-search-inner .ai-processing-status,
.main-search-inner .search-suggestions,
.main-search-inner .search-results-container {
    padding-top: 20px;
}

body .header-search-container  .ai-search-form-wrapper {     background: #fff;
    padding: 5px 14px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
        box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
}
body .header-search-container .search-input-wrapper {

}

}

/* Dark Mode Styles */
#dark-mode .fs-content .ai-search-form-wrapper,
#dark-mode .sidebar .ai-search-form-wrapper {
    background-color: #333;
    border: 1px solid #555;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.3);
}

#dark-mode .ai-search-input {
    color: #ddd;
}

#dark-mode .ai-search-input::placeholder {
    color: #999;
}

#dark-mode .search-suggestions {
    background: #333;
    border: 1px solid #555;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 25%);
}

#dark-mode .search-suggestions h4 {
    color: #999;
}

#dark-mode .suggestion-tag {
    background: #444;
    color: #ddd;
}

#dark-mode .suggestion-tag:hover {
    background: #555;
    color: white;
}

#dark-mode .ai-processing-status {
    background: #333;
    border: 1px solid #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#dark-mode .step-text {
    color: #ddd;
}

#dark-mode .processing-step .step-timing {
    background: #444;
    color: #8b5cf6;
}

#dark-mode .search-results-container {
    background: #333;
    border: 1px solid #555;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 25%);
}

#dark-mode .ai-header-gradient {
    background: #333;
}

#dark-mode .ai-header-subtitle {
    color: #999;
}

#dark-mode .listing-item-ai {
    background: #444 !important;
    border: 1px solid #666 !important;
}

#dark-mode .listing-item-ai:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#dark-mode .listing-item-ai .listing-title-ai {
    color: #ddd;
}

#dark-mode .listing-item-ai .listing-excerpt-ai {
    color: #999;
}

#dark-mode .listing-item-ai .listing-meta-ai {
    color: #999;
}

#dark-mode .listing-item-ai .listing-meta-ai span.address {
    color: #999;
}

#dark-mode .listing-item-ai .listing-meta-ai i {
    color: #777;
}

#dark-mode .no-results {
    background: #333;
    border: 1px solid #555;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 25%);
}

#dark-mode .no-results h3 {
    color: #ddd !important;
}

#dark-mode .no-results p {
    color: #999;
}

#dark-mode .search-error {
    background: #5a1a1a;
    border: 1px solid #7a2222;
    color: #ffb3b3;
}

#dark-mode .validation-popup {
    background: #dc2626;
}

#dark-mode .main-search-inner .search-suggestions h4 {
    color: #999 !important;
}

#dark-mode .main-search-inner .no-results,
#dark-mode .main-search-inner .ai-processing-status,
#dark-mode .main-search-inner .search-suggestions,
#dark-mode .main-search-inner .search-results-container {
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

#dark-mode .widget .no-results,
#dark-mode .widget .ai-processing-status,
#dark-mode .widget .search-suggestions,
#dark-mode .widget .search-results-container {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    #dark-mode .main-search-inner .ai-search-form-wrapper {
        background: #333;
        border: 1px solid #555;
        box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.25);
    }
    
    #dark-mode .header-search-container .ai-search-form-wrapper {
        background: #333;
        border: 1px solid #555;
        box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.25);
    }
}


@media (max-width: 992px) {.home-search-carousel .ai-search-form-wrapper {  background: #fff; padding: 3px 10px; border-radius: 5px; }}

/* =================================================================
   WooCommerce Product Cards in Search Results
   Copied 1:1 from chat.css for consistent styling
   ================================================================= */

/* Product listing item */
.results-list-ai .listeo-ai-listing-item {
    background: white;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: stretch;
    min-height: 90px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.results-list-ai .listeo-ai-listing-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);

}

.results-list-ai .listeo-ai-listing-thumbnail {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    padding: 12px;
    margin-top: 5px;
    margin-left: 3px;
}

.results-list-ai .listeo-ai-listing-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.results-list-ai .listeo-ai-listing-details {
    flex: 1;
    display: flex;
    padding: 12px 16px;
    padding-left: 0;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    word-break: break-word;
}

.results-list-ai .listeo-ai-listing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.results-list-ai .listeo-ai-listing-title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: #333;
}

.results-list-ai p.listeo-ai-listing-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.results-list-ai .listeo-ai-listing-meta {
    display: flex;
    gap: 0;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.results-list-ai .listeo-ai-listing-meta span {
    display: flex;
    align-items: baseline;
    gap: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.results-list-ai .listeo-ai-listing-meta i {
    width: 12px;
    text-align: center;
    font-size: 11px;
    color: #b4b4b4;
}

.results-list-ai .listeo-ai-listing-rating {
    color: #f59e0b;
    font-weight: 500;
}

.results-list-ai .listeo-ai-listing-rating i {
    color: #f59e0b !important;
}

/* Product-Specific Styles */
.results-list-ai .product-price {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex !important;
}

.results-list-ai .product-price .regular-price {
    text-decoration: line-through;
    color: #888;
    font-weight: 400;
    margin-right: 6px;
}

.results-list-ai .product-price .sale-price {
    color: #27ae60;
    font-weight: 600;
    background-color: #fbf2d1;
    color: #8a803e;
    padding: 0px 4px;
    border-radius: 50px;
}

.results-list-ai .stock-status {
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    border-radius: 54px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    display: inline-block !important;
    margin-bottom: -8px;
}

.results-list-ai .stock-status.in-stock {
    color: #27ae60;
}

.results-list-ai .stock-status.in-stock i {
    color: #27ae60 !important;
}

.results-list-ai .stock-status.out-of-stock {
    color: #e74c3c;
}

.results-list-ai .stock-status.out-of-stock i {
    color: #e74c3c !important;
}

/* =================================================================
   Universal Shortcode Search Submit Button
   ================================================================= */

.ai-search-submit-btn {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border: none;
    color: #888;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ai-search-submit-btn:hover {
    background: #222;
    color: #fff; 
}

.ai-search-submit-btn svg {
    transition: 0.3s;
}

/* Universal search field shortcode styles. */
html body .ai-chat-search-container.ai-search-field-standalone {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body .ai-chat-search-container.ai-search-field-standalone.ai-search-field-custom-width {
    width: 100% !important;
    max-width: var(--ai-search-field-max-width) !important;
}

html body .ai-chat-search-container.ai-search-field-standalone > .ai-search-form-wrapper {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

html body .ai-chat-search-container.ai-search-field-standalone > .ai-search-form-wrapper > .search-input-wrapper {
    display: flex !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: var(--ai-search-field-padding, 8px) !important;
    padding-left: var(--ai-search-field-padding-left, 20px) !important;
    align-items: center !important;
    gap: 10px !important;
    border: var(--ai-search-field-border-width, 1px) solid var(--ai-search-field-border-color, #e0e0e0) !important;
    border-radius: 10px !important;
    background: var(--ai-search-field-background, #fff) !important;
    box-shadow: var(--ai-search-field-box-shadow, 0 1px 3px rgba(0, 0, 0, 0.10)) !important;
    box-sizing: border-box !important;
}

html body .ai-chat-search-container.ai-search-field-standalone .search-input-icon {
    display: flex !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    line-height: 1 !important;
}

html body .ai-chat-search-container.ai-search-field-standalone .search-stars {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

html body .ai-chat-search-container.ai-search-field-standalone .ai-search-leading-icon {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
}

html body .ai-chat-search-container.ai-search-field-standalone .ai-search-leading-icon--sparkles {
    width: 22px !important;
    height: 22px !important;
    color: #f5a623 !important;
    fill: currentColor !important;
    stroke: none !important;
}

html body .ai-chat-search-container.ai-search-field-standalone input.ai-search-input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ai-search-field-text-color, #333) !important;
    font-family: inherit !important;
    font-size: var(--ai-search-field-font-size, 16px) !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

html body .ai-chat-search-container.ai-search-field-standalone input.ai-search-input::placeholder {
    color: var(--ai-search-field-text-color, #333) !important;
    font-size: var(--ai-search-field-font-size, 16px) !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

html body .ai-chat-search-container.ai-search-field-standalone button.ai-search-submit-btn {
    position: static !important;
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 9px !important;
    outline: 0 !important;
    background: var(--ai-search-field-button-color, #006aff) !important;
    box-shadow: none !important;
    color: #fff !important;
    font: inherit !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    transform: none !important;
    cursor: pointer !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

html body .ai-chat-search-container.ai-search-field-standalone button.ai-search-submit-btn:hover,
html body .ai-chat-search-container.ai-search-field-standalone button.ai-search-submit-btn:focus {
    background: var(--ai-search-field-button-color, #006aff) !important;
    color: #fff !important;
    filter: brightness(0.9) !important;
}

html body .ai-chat-search-container.ai-search-field-standalone button.ai-search-submit-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
}

.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
	word-break: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

#cmb2-metabox-front-end-post-form h5 {
	font-size: 24px;
	margin: 60px 0 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;

}

#submit_map {
	height: 300px;
	margin-bottom: 50px;
}

/* Team invitation registration: a focused onboarding card while retaining
   the standard Listeo registration fields and validation behaviour. */
.listeo-team-invite-card {
	position: relative;
	left: 50%;
	width: 960px;
	max-width: calc(100vw - 30px);
	margin: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transform: translateX(-50%);
}

.listeo-team-invite-card-header {
	padding: 68px 60px 58px;
	text-align: center;
}

.listeo-team-invite-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: #fff0f3;
	color: #f91942;
	font-size: 28px;
}

.listeo-team-invite-card-header h2 {
	margin: 0 0 14px;
	color: #222;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
}

.listeo-team-invite-card-header p {
	max-width: 700px;
	margin: 0 auto;
	color: #777;
	font-size: 20px;
	line-height: 1.55;
}

.listeo-team-invite-card-header p span {
	display: block;
}

.listeo-team-invite-card-body {
	padding: 50px 80px 60px;
	border-top: 1px solid #e7e7e7;
}

.listeo-team-invite-card-body .listeo-registration-form {
	max-width: 800px;
	margin: 0 auto;
}

.listeo-team-invite-email-note {
	display: block;
	margin: -8px 0 20px;
	color: #888;
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 768px) {
	.listeo-team-invite-card-header {
		padding: 46px 25px 40px;
	}

	.listeo-team-invite-card-header h2 {
		font-size: 28px;
	}

	.listeo-team-invite-card-header p {
		font-size: 18px;
	}

	.listeo-team-invite-card-body {
		padding: 35px 25px 40px;
	}
}
.label-_availability,
.label-_opening_hours,
.label-_menu,
.label-_slots {
	display: none;
}

.slider-disabled,
.disabled .rangeslider {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
opacity: 0.5;
}

.time-slot .day {display: none;}
body .no-slots-information {
	padding-bottom: 5px;
    margin-top: 5px;
}

.listing-widget .booking-event-date {
	display: none;
}
 .fa.booking-loading-icon {
	display: none;
	margin-left:7px;
}
.dashboard-list-box.loading .booking-loading-icon {
	display: inline-block;
	margin-left:7px;
}

 .woocommerce-checkout #order_review.listeo-pay-form{
 	float: none;
 	width:100%;
 }

/* Next Page Button for Map Container */
.listeo-next-page-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #222;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;

    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

#dark-mode .listeo-next-page-button {
	background: #222; color: #fff;
}

.listeo-next-page-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.listeo-next-page-button .button-text {
    flex: 1;
    line-height: 1.3;
}

.listeo-next-page-button i {
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .listeo-next-page-button {
        
    }
}

/* Ensure button doesn't interfere with map controls */
#map-container {
    position: relative;
}

.listeo-next-page-button:active {
    transform: translateY(0);
}

/* Calendar daily prices styling */
.fc-day-price {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1;
    z-index: 10;
}

.fc-daygrid-day:hover .fc-day-price {
    color: #333;
    background: rgba(255, 255, 255, 1);
}

/* Responsive price display */
@media (max-width: 768px) {
    .fc-day-price {
        font-size: 9px;
        bottom: 1px;
        right: 2px;
        padding: 1px 2px;
    }
}

/* Public single-listing calendar: events are not clickable, so don't imply
   interactivity with a pointer cursor (the dashboard calendar, which has no
   data-listing-id, keeps its click-to-details pointer). */
#calendar[data-listing-id] .fc-event,
#calendar[data-listing-id] .fc-daygrid-event-harness-abs,
#calendar[data-listing-id] .fc-daygrid-event {
    cursor: default;
}
 a.book-now.button.inactive {
 	background-color:gray; 
 }


 

.switch_box{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	max-width: 100px;
	min-width: 50px;
	height: 50px;

	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.add-listing-section .switch_box{
	min-height: 67px
}

.switch_box.inside-switch{
	height: auto;
	min-height: auto;
	position: absolute;
	right: 21px;
	top: 5px;	
	zoom:0.7;
}
/* Switch 1 Specific Styles Start */


input[type="checkbox"].switch_1{
	font-size: 20px;
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	width: 3.5em;
	height: 1.5em;
	background: #ddd;
	border-radius: 3em;
	position: relative;
	cursor: pointer;
	outline: none;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  }
 
  input[type="checkbox"].switch_1:after{
	position: absolute;
	content: "";
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	background: #fff;

	-webkit-transform: scale(.7);
	        transform: scale(.7);
	left: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  }
  
  input[type="checkbox"].switch_1:checked:after{
	left: calc(100% - 1.5em);
  }
	

/* Switch 1 Specific Style End */

.woocommerce-order-pay.user_not_logged_in .woocommerce-info {
	width: 41.66666667%;
    margin-left: 25%;

}
#chart-date-range-enabler,
#booking-date-range-enabler {
    float: right;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    padding: 6px;
    display: inline-block;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    color: #666;
    font-weight: 600;
    transition: 0.3s;
    background-color: #fff;
    margin-left: 15px;
    top: 0px;
}

.sign-in-form label input[type="checkbox"] {
    height: auto;
    width: 20px;
    box-shadow: 0px 0px 0px 0px;
}



.second-slot-taken:not( .disabled ), .first-slot-taken:not( .disabled ) {
	position: relative;
	z-index: 0;
}

.second-slot-taken:not( .disabled )::before, .first-slot-taken:not( .disabled )::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	z-index: -1;
	mix-blend-mode: soft-light;
}

.second-slot-taken:not( .disabled )::before {
	border-bottom: 34px solid #f4f4f4;
	border-left: 32px solid transparent;
}

.first-slot-taken:not( .disabled )::before {
	border-top: 34px solid #f4f4f4;
	border-right: 32px solid transparent;
}

.daterangepicker.daterangepicker td.disabled, .daterangepicker.daterangepicker option.disabled {
	background-color: #f4f4f4;
}


.first-slot-taken:not(.active, .in-range, :hover) {
	color: #c37979 !important;
}

.first-slot-taken:not(.active, .in-range, :hover)::before {
	border-top: 34px solid #ffe9e9;
	border-right: 32px solid transparent;
	mix-blend-mode: normal;
	color: #c37979;
}

.daterangepicker .calendar-table td.available.second-slot-taken:not(.active, .in-range, :hover) {
	background: #e0f6dd;
	color: #6a9664;
}

.daterangepicker .calendar-table td.available.second-slot-taken:not(.active, .in-range, :hover):before {
	border-bottom: 34px solid #ffe9e9;
	border-left: 36px solid transparent;
	mix-blend-mode: normal;
}

/* FullCalendar Daily Prices Styles */
.fc-day-price {
	position: absolute;
	bottom: 2px;
	right: 4px;
	font-size: 14px;
	font-weight: 400;
	background: rgba(76, 175, 80, 0.1);
	color: #2E7D32;
	padding: 1px 4px;
	border-radius: 3px;
	line-height: 1.2;
	z-index: 3;
}

.fc-daygrid-day {
	position: relative;
}

.fc-daygrid-day:hover .fc-day-price,
.fc-day-price:hover {
	background: rgba(76, 175, 80, 0.1);
	color: #2E7D32;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.fc-day-price {
		font-size: 10px;
		padding: 1px 2px;
		bottom: 1px;
		right: 2px;
	}
}

.fc-toolbar-chunk { filter: grayscale(100%); }

/* Custom Search Fields Grouped Styles */
.custom-search-fields-container {
	margin-top: 15px;
}

.custom-search-group {
	border: none;
	width: 100%;
	border-radius: 4px;
	margin-bottom: 20px;
	background: transparent;
	display: flex;
	flex-direction: column;
}

.custom-search-group-header {
	padding: 0;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s ease;
	position: relative;
	border-radius: 4px;
}

.custom-search-group-header:hover {

}

.custom-search-group-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 10px;
}

.custom-search-group-title .toggle-icon {
	font-size: 14px;
	transition: transform 0.3s ease;
	color: var(--listeo-primary-color);
}

.custom-search-group-content {
	padding: 15px;
	background: transparent;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	padding-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity:1;
	transition: opacity 0.2s;
}
.custom-search-group-content:not(.collapsed) {
	
}
.custom-search-group-content.collapsed {
	opacity: 0;
}


.custom-search-field-wrapper {
	margin-bottom: 15px;
	float: none;
	min-height: 45px;
}

.checkboxes .bootstrap-select li { padding: 0;}

.custom-search-field-wrapper:last-child {
	margin-bottom: 0;
}


.custom-search-field-wrapper .col-md-12:last-child { margin-bottom: 0; padding-bottom: 0;}
.custom-search-field-wrapper .col-md-12 { margin: 0; padding: 0;}

.custom-search-field-wrapper  .checkboxes.one-in-row label { margin-top: 2px !important;}

/* Panel-specific styles for split map layout */
.custom-fields-panel {
	margin-right: 10px;
}

.custom-fields-panel a {
	font-size: 13px;
	font-weight: 600;
}

.custom-fields-panel .panel-dropdown-content {
	min-width: 150px;
}

.custom-fields-panel .custom-search-field-wrapper {
	
/* overflow: hidden; */
	
min-height: 75px;

}

.panel-dropdown-content .custom-search-field-wrapper {display: flex;flex-direction: column;}
.custom-fields-panel {display: flex;flex-direction: column;}

.panel-dropdown-content .custom-search-field-wrapper .checkboxes label:before {
	top: 0px
}
.custom-fields-panel .custom-search-field-wrapper:last-child {
	border-bottom: none;
}
.panel-dropdown  .custom-search-field-wrapper .checkboxes:not('.one-in-row') label::before { top: 20px}


.custom-search-field-wrapper .bootstrap-select.btn-group, 
.custom-search-field-wrapper input, 
.custom-search-field-wrapper textarea, 
.custom-search-field-wrapper input, 
.custom-search-field-wrapper select, 
.custom-search-field-wrapper.chosen-container {
	margin-bottom: 0 !important;
	border-radius: 4px;
}
.main-search-inner .custom-search-field-wrapper .bootstrap-select.btn-group { border: 1px solid #e0e0e0; }

	
.main-search-input  .panel-dropdown .custom-search-field-wrapper  a {
	line-height: 20px;
	height: auto;
	padding: 7px 10px;
	vertical-align: middle;
} 

.custom-search-field-label { 
	font-weight: 600; font-size: 14px; color: #333; 
}

.custom-search-field-label:not(.panel-dropdown-content .custom-search-field-label) { 
	margin-top: 12px !important;
}

.panel-dropdown-content  .custom-search-field-wrapper:first-of-type .custom-search-field-label,
.custom-search-group-content .custom-search-field-wrapper:first-of-type .custom-search-field-label {
	margin-top: 0 !important;
}

#dark-mode .custom-search-field-label {color: #fff; }

/* Dark Mode */
/* Dark Mode CSS - Color-related properties only */

body#dark-mode #cmb2-metabox-front-end-post-form h5 {
    border-bottom: 1px solid #333;
}

body#dark-mode .slider-disabled,
body#dark-mode .disabled .rangeslider {
    -webkit-filter: grayscale(100%) brightness(0.7);
    -moz-filter: grayscale(100%) brightness(0.7);
    -ms-filter: grayscale(100%) brightness(0.7);
    -o-filter: grayscale(100%) brightness(0.7);
}

body#dark-mode .fc-day-price {
    color: #ccc;
    background: rgba(40, 40, 40, 0.9);
}

body#dark-mode .fc-daygrid-day:hover .fc-day-price {
    color: #fff;
    background: rgba(60, 60, 60, 1);
}

body#dark-mode a.book-now.button.inactive {
    background-color: #555;
}

body#dark-mode input[type="checkbox"].switch_1 {
    background: #444;
}

body#dark-mode input[type="checkbox"].switch_1:after {
    background: #222;
}

body#dark-mode #chart-date-range-enabler,
body#dark-mode #booking-date-range-enabler {
    background: #333;
    color: #ccc;
    background-color: #333;
}

body#dark-mode .second-slot-taken:not(.disabled)::before {
    border-bottom: 34px solid #2a2a2a;
}

body#dark-mode .first-slot-taken:not(.disabled)::before {
    border-top: 34px solid #2a2a2a;
}

body#dark-mode .daterangepicker.daterangepicker td.disabled, 
body#dark-mode .daterangepicker.daterangepicker option.disabled {
    background-color: #2a2a2a;
}

body#dark-mode .first-slot-taken:not(.active, .in-range, :hover) {
    color: #e87979 !important;
}

body#dark-mode .first-slot-taken:not(.active, .in-range, :hover)::before {
    border-top: 34px solid #4a2a2a;
    color: #e87979;
}

body#dark-mode .daterangepicker .calendar-table td.available.second-slot-taken:not(.active, .in-range, :hover) {
    background: #2a4a2a;
    color: #8cc77f;
}

body#dark-mode .daterangepicker .calendar-table td.available.second-slot-taken:not(.active, .in-range, :hover):before {
    border-bottom: 34px solid #4a2a2a;
}

/* FullCalendar Daily Prices Dark Mode */
body#dark-mode .fc-day-price {
    background: rgba(76, 175, 80, 0.2);
    color: #81C784;
}

body#dark-mode .fc-daygrid-day:hover .fc-day-price,
body#dark-mode .fc-day-price:hover {
    background: rgba(76, 175, 80, 0.3);
    color: #A5D6A7;
}

body#dark-mode .fc-toolbar-chunk { 
    filter: grayscale(100%) brightness(0.8); 
}

/* Custom Search Fields Dark Mode */
body#dark-mode .custom-search-group-title {
    color: #e0e0e0;
}

body#dark-mode .custom-search-group-title .toggle-icon {
    color: var(--listeo-primary-color, #4CAF50);
}

body#dark-mode .custom-search-group-content {
    background: transparent;
    border: 1px solid #444;
}

body#dark-mode .main-search-inner .custom-search-field-wrapper .bootstrap-select.btn-group { 
    border: 1px solid #444; 
}

/* Additional dark mode improvements */
body#dark-mode .woocommerce-order-pay.user_not_logged_in .woocommerce-info {
    background: #333;
    color: #e0e0e0;
}

/* Form inputs and selects */
body#dark-mode .custom-search-field-wrapper input,
body#dark-mode .custom-search-field-wrapper textarea,
body#dark-mode .custom-search-field-wrapper select {
    background: #333;
    color: #e0e0e0;
    border-color: #555;
}

body#dark-mode .custom-search-field-wrapper input::placeholder,
body#dark-mode .custom-search-field-wrapper textarea::placeholder {
    color: #999;
}

/* Bootstrap select dark mode */
body#dark-mode .bootstrap-select .dropdown-toggle {
    background: #333;
    color: #e0e0e0;
    border-color: #555;
}

body#dark-mode .bootstrap-select .dropdown-menu {
    background: #333;
    border-color: #555;
}

body#dark-mode .bootstrap-select .dropdown-menu li a {
    color: #e0e0e0;
}

body#dark-mode .bootstrap-select .dropdown-menu li a:hover {
    background: #444;
    color: #fff;
}

/* Panel dropdown dark mode */
body#dark-mode .custom-fields-panel .panel-dropdown-content {
    background: #333;
    border-color: #555;
}

body#dark-mode .custom-fields-panel a {
    color: #e0e0e0;
}

/* Checkbox styling for dark mode */
body#dark-mode .checkboxes label {
    color: #e0e0e0;
}

body#dark-mode .sign-in-form label input[type="checkbox"] {
    background: #333;
    border-color: #555;
}

/* User Location Marker Styles */
.listeo-user-location-marker {
    background: transparent !important;
    border: none !important;
}

.user-location-container {
    position: relative;
    z-index: 1000;
}

.user-location-marker {
    width: 15px;
    height: 15px;
    background: #007cba;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 124, 186, 0.4);
    position: relative;
    animation: userLocationPulse 2s infinite;
    border: 3px solid white;
}

/* Pulsing animation for user location marker */
@keyframes userLocationPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 124, 186, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 20px rgba(0, 124, 186, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 124, 186, 0.4);
    }
}

/* User location popup styles */
.user-location-popup {
    text-align: center;
    min-width: 200px;
}

.user-location-popup strong {
    color: #007cba;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.user-location-popup small {
    color: #666;
    font-size: 11px;
}

/* Dark mode styles for user location */
body#dark-mode .user-location-marker {
    background: #4a9eff;
    box-shadow: 0 2px 10px rgba(74, 158, 255, 0.4);
}

body#dark-mode .user-location-popup strong {
    color: #4a9eff;
}

body#dark-mode .user-location-popup small {
    color: #ccc;
}

@media (max-width: 768px) {
    .user-location-marker {
        width: 12px;
        height: 12px;
    }
}

.listeo-user-location-marker {pointer-events: none !important;}

/* Message Attachments Styling */
.message-attachment-upload {
    margin: 15px 0 0 0;
    padding: 0px 0;
    border-top: none;
}

.attachment-label {
    display: inline-block;
    padding: 4px 15px;
    background: #f4f4f4;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

/* Custom tooltip */
.attachment-label:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.attachment-label:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    margin-bottom: -4px;
    z-index: 1000;
}

.attachment-label:hover {
    background: #e8e8e8;
}

.attachment-label i {
    margin-right: 8px;
    color: #666;
}

.attachment-info {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    line-height: 1.2;
}

.attachment-preview {
    display: inline-block;
    padding: 8px 12px;
    background: #e8f4f8;
    border-radius: 4px;
    position: relative;
}

.attachment-preview-name {
    color: #333;
    margin-right: 10px;
}

.remove-attachment {
    color: #ff6b6b;
    margin-left: 10px;
}

.remove-attachment:hover {
    color: #ff5252;
}

.attachment-upload-progress {
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color, #3498db);
    width: 0;
    transition: width 0.3s;
}

/* Message bubble attachments */
.message-attachment {
    margin-top: 10px;
}

.attachment-link {
    display: inline-block;
    padding: 3px 12px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.attachment-link:hover {
    background: #fff;
    border-color: var(--primary-color, #3498db);
    color: var(--primary-color, #3498db);
    text-decoration: none;
}

.attachment-link i {
    margin-right: 8px;
    font-size: 16px;
}

.attachment-name {
    font-weight: 500;
}

.attachment-size {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .attachment-label span {
        display: none;
    }

    .attachment-label i {
        margin-right: 0;
    }
}

/* Load More Button Styles */
.listeo-load-more-container {
	text-align: center;
	padding: 40px 0;
	clear: both;
}

.listeo-load-more-container .fa-spinner {
    margin-right: 0 !important;
}

.listeo-load-more-button {
	display: inline-block;
	background: var(--listeo-primary-color);
	color: #fff;
	padding: 7px 20px !important;
	border-radius: 4px;
	border: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.listeo-load-more-button:hover {
	background: var(--listeo-primary-color);
	color: #fff;
}

#listeo-listings-container .clearfix {display: none;}

/* .listeo-load-more-button:disabled {
	background: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

.listeo-load-more-button:disabled:hover {
	transform: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

.listeo-load-more-button .button-text {
	display: inline-block;
}

.listeo-load-more-button .loading-icon {
	margin-left: 8px;
	color: #fff;
}

.listeo-load-more-button.loading {
	opacity: 0.8;
	cursor: wait;
}

.listeo-load-more-button.loading .loading-icon {
	color: #fff;
}

/* Loading state for listings container during append */
#listeo-listings-container.loading {
	position: relative;
}

#listeo-listings-container.loading:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0);
	z-index: 1;
}

/* Hide pagination when infinite scroll is active */
.listeo-infinite-scroll-active .pagination-container {
	display: none !important;
}

/* Lazy-loaded drilldown level loader. */
.drilldown-menu .drilldown-loading-content {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
}

.drilldown-menu .drilldown-level-loader {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.drilldown-menu .drilldown-level-loader span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #aaa;
	animation: listeo-drilldown-loader 0.9s ease-in-out infinite;
}

.drilldown-menu .drilldown-level-loader span:nth-child(2) {
	animation-delay: 0.12s;
}

.drilldown-menu .drilldown-level-loader span:nth-child(3) {
	animation-delay: 0.24s;
}

.drilldown-menu .drilldown-load-error {
	padding: 18px 12px;
	color: #999;
	font-size: 14px;
	text-align: center;
}

#dark-mode .drilldown-menu .drilldown-level-loader span {
	background: #777;
}

@keyframes listeo-drilldown-loader {
	0%,
	60%,
	100% {
		transform: translateY(0);
		opacity: 0.35;
	}
	30% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.drilldown-menu .drilldown-level-loader span {
		animation: none;
		opacity: 0.65;
	}
}

/* Password strength requirements notification */
.password-field-wrapper {
	position: relative;
}

.password-strength-requirements {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 8px;
	padding: 12px 15px;
	background: #f5f5f5;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.6;
	color: #666;
	animation: fadeIn 0.3s ease;
	z-index: 10;
}

.password-strength-requirements::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #f5f5f5;
}

.password-strength-requirements.visible {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.password-strength-requirements strong {
	color: #444;
	font-weight: 600;
	transition: color 0.3s ease;
}

/* Hide old password strength meter */
.pwstrength_viewport_progress.password-strength-visible {
	display: none !important;
}

/* ========================================
   Time Slots Carousel Layout
======================================== */

.time-slots-carousel-container {
	position: relative;
	width: 100%;
	padding: 0;
	/* background: #fff; */
	border-radius: 4px;
	margin-bottom: 18px;
}

/* Hide date picker when carousel mode is active */
.slot-carousel-mode-hidden {
	display: none !important;
}


/* Slot Carousel Navigation */
.slot-carousel-navigation {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 10;
}

.slot-carousel-nav-btn {
	pointer-events: all;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slot-carousel-nav-btn:hover:not(:disabled) {
	background: var(--listeo-primary-color);
	border-color: var(--listeo-primary-color);
	color: #fff;
}

.slot-carousel-nav-btn i {
		transition: 0.2s;
}

.slot-carousel-nav-btn:hover:not(:disabled) i {
	color: #fff;
}

.slot-carousel-nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.slot-carousel-nav-btn.prev-day {
	margin-left: -20px;
}

.slot-carousel-nav-btn.next-day {
	margin-right: -20px;
}

/* Carousel Viewport */
.slot-carousel-viewport {
	overflow: hidden;
	width: 100%;
	transition: height 0.4s ease;
	padding: 5px 15px;
box-shadow: 0 1px 6px 0px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 6px;
}

.slot-carousel-track {
	display: flex;
	transition: transform 0.4s ease;
	gap: 15px;
}

/* Day Column - Default: 3 columns above 1360px */
.slot-carousel-day-column {
	flex: 0 0 calc(33.333% - 10px);
	min-width: calc(33.333% - 10px);
	max-width: calc(33.333% - 10px);
	width: calc(33.333% - 10px);
}

.calendar-day {
	border: none;
	border-radius: 6px;
	padding: 15px 0px;
	display: flex;
	flex-direction: column;
	width: 100%;
	/* background: #fff;
	box-shadow: 0 1px 6px 0px rgba(0, 0, 0, 0.1); */
}

.calendar-day.day-placeholder {
	opacity: 0.6;
}

.calendar-day.day-available {
	background: #fff;
}

/* Day Header */
.time-slots-carousel-container  .calendar-day-date {
	text-align: center;
	border-bottom: none;
	margin-bottom: 10px;
	padding: 0;
	background: transparent;
}

.time-slots-carousel-container .calendar-day-date .day-name {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 20px;
	margin-bottom: -3px;
}

.time-slots-carousel-container  .calendar-day-date .day-date {
	margin: 0;
	font-size: 12px;
	color: #888;
	font-weight: 500;
	line-height: 20px;
}

/* Slots List */
.calendar-day-slots {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.calendar-day-slots-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.calendar-day-slots-list-item {
	margin: 0;
}

/* Slot Button */
.calendar-slot {
	width: 100%;
	padding: 10px 8px;
	border: none;
	border-radius: 5px;
	background: #f9f9f9;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	color: #666;
	padding: 6px 0;
	line-height: 16px;
}

.calendar-slot-available {
	background: var(--listeo-primary-color-light);
	border-color: var(--listeo-primary-color);
	color: var(--listeo-primary-color);
	/* padding: 5px; */
	/* line-height: 16px; */
}

.calendar-slot-available:hover {
	background: var(--listeo-primary-color);
	color: #fff;
}

.calendar-slot-available.selected {
	background: var(--listeo-primary-color);
	color: #fff;
	border-color: var(--listeo-primary-color);
}

.calendar-slot-booked {
	background: #f5f5f5;
	border-color: #ddd;
	color: #999;
	cursor: not-allowed;
	opacity: 0.6;
}

.calendar-slot-placeholder {
	background: transparent;
	border-color: transparent;
	color: #ccc;
	cursor: default;
}

/* Show More Feature */
.hidden-slot {
	display: none;
}

.show-more-item {

}

.calendar-slot-show-more {
	width: 100%;
	padding: 10px;
	background: transparent;
	border: 1px dashed var(--listeo-primary-color);
	border-radius: 4px;
	color: var(--listeo-primary-color);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	line-height: 16px;
	margin: 0;
}

.calendar-slot-show-more:hover {
	background: var(--listeo-primary-color-light);
	border-style: solid;
}

.calendar-day.expanded .hidden-slot {
	display: block;
}

.calendar-day.expanded .show-more-item {
	display: none;
}

/* Carousel Loading State */
.time-slots-carousel-container {
	position: relative;
}

/* Initial state - before JS loads */
.slot-carousel-viewport {
	max-height: 150px;
	overflow: hidden;
	transition: max-height 0.4s ease, height 0.4s ease;
}

/* Carousel Loader (overlay) */
.slot-carousel-loader {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
	to bottom,
	rgba(255, 255, 255, 0.4) 0%,
	rgba(255, 255, 255, 1) 100%
	);
	z-index: 10;
	opacity: 1;
	border-radius: 6px;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.slot-carousel-loader-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: var(--listeo-primary-color);
	border-radius: 50%;
	animation: carousel-spinner-rotate 0.8s linear infinite;
}

@keyframes carousel-spinner-rotate {
	to {
		transform: rotate(360deg);
	}
}

/* Loaded state - after JS initializes */
.time-slots-carousel-container.slot-carousel-loaded .slot-carousel-viewport {
	max-height: none;
}

.time-slots-carousel-container.slot-carousel-loaded .slot-carousel-loader {
	opacity: 0;
	pointer-events: none;
}

/* Booked Slot Styles */
.calendar-slot-booked {
	filter: grayscale(1);
	opacity: 0.5;
	text-decoration: line-through;
	pointer-events: none;
	cursor: not-allowed;
	background: #f5f5f5 !important;
	color: #999 !important;
	border-color: #ddd !important;
}

/* ========================================
   Form Validation Styles
   ======================================== */

/* Error styling for Select2 fields */
.select2-container.msf-input-error .select2-selection {
	border-color: #dc3545 !important;
	border-width: 2px !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.select2-container.msf-input-error .select2-selection__rendered {
	color: #dc3545 !important;
}

/* Error styling for standard input fields */
input.msf-input-error,
select.msf-input-error,
textarea.msf-input-error {
	border-color: #dc3545 !important;
	border-width: 2px !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Pulsing animation for invalid fields */
@keyframes pulse-error {
	0% {
		box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
	}
	50% {
		box-shadow: 0 0 0 0.4rem rgba(220, 53, 69, 0.15);
	}
	100% {
		box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
	}
}

.select2-container.msf-input-error .select2-selection {
	animation: pulse-error 1s ease-in-out 2;
}

/* Error styling for wp-editor/TinyMCE fields */
.wp-editor-wrap.msf-input-error {
	border: 2px solid #dc3545 !important;
	border-radius: 4px;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Responsive Breakpoints */

/* 2 columns: 992px - 1360px */
@media (max-width: 1360px) {
	.slot-carousel-day-column {
		flex: 0 0 calc(50% - 7.5px);
		min-width: calc(50% - 7.5px);
		max-width: calc(50% - 7.5px);
		width: calc(50% - 7.5px);
	}
}

/* -------------------------------------------------------------------
 * Pricing & Bookable Services editor — tiny field labels
 *
 * Floats above each pricing input so the columns stay compact while
 * still giving the user a one-word hint of what each field is. Used in
 * the frontend submit-listing pricing editor (templates/form-fields/pricing.php
 * + JS-cloned rows in frontend.js newMenuItem).
 * ----------------------------------------------------------------- */
.pricing-list-item td .fm-input-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #888;
	margin: 0;
	opacity: 0.4;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-align: right;
	float: right;
}

/* -------------------------------------------------------------------
 * Pricing item — two-column rebuild
 * -----------------------------------------------------------------
 * Replaces the legacy single-row layout with a side-by-side grid:
 * left column owns identity (image, title, description, bookable toggle),
 * right column owns booking config (price, charge type, quantity, plus
 * any plugin-injected fields like Booking Plus's duration/individual).
 *
 * Theme styles in `style.css` (~14991+) target the legacy layout —
 * these rules sit at higher specificity to override the float-based
 * positioning that broke the new grid.
 * ----------------------------------------------------------------- */
.pricing-list-item:not(.pricing-submenu) td {
	position: relative;
	padding: 30px 30px 24px 50px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	margin-bottom: 16px;
}

.pricing-list-item:not(.pricing-submenu) td .fm-move {
	position: absolute;
	top: 22px;
	left: 16px;
	width: auto;
	height: auto;
	background: transparent;
	color: #c0c4ca;
	cursor: grab;
}

.pricing-list-item .pricing-row-grid {
	display: grid;
	grid-template-columns: 50px 1fr 1fr 32px;
	gap: 24px;
	width: 100%;
	align-items: start;
}

/* Bookings disabled (globally or for the listing type): the booking
   column isn't rendered, so the info column takes its space. */
.pricing-list-item .pricing-row-grid--no-booking {
	grid-template-columns: 50px 1fr 32px;
}

.pricing-list-item .pricing-row-image,
.pricing-list-item .pricing-row-info,
.pricing-list-item .pricing-row-right {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.pricing-list-item .pricing-row-right {
	position: relative;
}

/* Numbered section cards — visually separate "Basic info" (col 2) from
   "Booking settings" (col 3) with a soft inset background and a small
   numbered badge on the title. */
.pricing-list-item .pricing-row-section {
	background: #f8f8f8;
	border-radius: 8px;
	padding: 18px 20px;
	gap: 16px;
}
.pricing-list-item .pricing-row-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.pricing-list-item .pricing-row-section-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fde2e8;
	color: #dc2626;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

/* Field description — small subtitle that explains what a checkbox /
   toggle does. Sits directly under the field's label or checkbox. */
.pricing-list-item .pricing-field-desc {
	font-size: 12px;
	color: #9ca3af;
	margin: 4px 0 0 24px;
	line-height: 1.4;
}

/* Max-quantity input: stays visible at all times for layout stability,
   just inactive when "Allow quantity" is off. */
.pricing-list-item .bookable_quantity_max[disabled] {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}

/* Column 4 — dedicated narrow column for the delete button so it never
   overlaps inputs in the right column when content reflows. */
.pricing-list-item .pricing-row-close {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.pricing-list-item .pricing-row-close .fm-close {
	position: static;
	width: auto;
	height: auto;
	background: transparent;
}

/* Reset float-based theme rules so each input occupies the full column. */
.pricing-list-item .pricing-row-grid .fm-input {
	float: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.pricing-list-item .pricing-row-grid .fm-input input[type="text"],
.pricing-list-item .pricing-row-grid .fm-input input[type="number"],
.pricing-list-item .pricing-row-grid .fm-input textarea,
.pricing-list-item .pricing-row-grid .fm-input select {
	width: 100%;
	box-sizing: border-box;
}

.pricing-list-item .pricing-row-grid .fm-input textarea {
	min-height: 80px;
	resize: vertical;
}

/* Image column — fills the dedicated column with a square thumbnail. */
.pricing-list-item .pricing-row-image .pricing-cover-wrapper {
	width: 100%;
	height: auto;
}

/* Bookable toggle — switch + inline label inside the info column.
   The `.switch_1` checkbox styles itself via `appearance: none` so we
   don't need a `.slider.round` decoration alongside it; the label sits
   to the right with a small gap. */
.pricing-list-item .pricing-bookable {
	margin-top: 4px;
}
.pricing-list-item .pricing-bookable .switcher-tip {
	display: inline-flex;
	align-items: normal;
	gap: 10px;
}
.pricing-list-item .pricing-bookable .pricing-bookable-label {
	
	font-weight: 500;
	color: #4b5563;
	margin: 0;
	cursor: pointer;
}

/* Price + Charge Type — share a row inside the right column to save
   vertical space; collapses to stacked at narrow widths. */
.pricing-list-item .pricing-row-pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 14px;
	align-items: end;
}
@media (max-width: 1280px) {
	.pricing-list-item .pricing-row-pair {
		grid-template-columns: 1fr;
	}
}

/* Allow-quantity / Max-quantity pair — same `.pricing-row-pair` grid
   the Price + Charge Type pair uses. Top-aligned so the Allow-quantity
   checkbox sits roughly inline with the Max-quantity label on its
   right; the input below the label keeps its natural position. */
.pricing-list-item .pricing-quantity-pair {
	align-items: start;
}
.pricing-list-item .pricing-quantity-pair .pricing-quantity-row {
	margin: 0;
	padding: 0;
}
.pricing-list-item .pricing-quantity-max-wrap .bookable_quantity_max {
	width: 100%;
}

/* Quantity field — uses Listeo's existing `.checkboxes.in-row` pattern
   (matches the Individual service checkbox visually). The Max-quantity
   input below it is conditional — see `.pricing-quantity-max-wrap`
   above (revealed by the `.pricing-quantity-enable` change handler). */
.pricing-list-item .pricing-quantity .pricing-quantity-row {
	margin: 0;
}

/* Delete (×) — lives in its own grid column (`.pricing-row-close`) at
   the far right of the row so it never overlaps fields in the right
   column when content reflows. */
.pricing-list-item:not(.pricing-submenu) td .fm-close a.delete {
	color: #dc2626;
	font-size: 16px;
	display: inline-block;
	padding: 4px 8px;
}
.pricing-list-item:not(.pricing-submenu) td .fm-close a.delete:hover {
	color: #b91c1c;
}

/* Responsive — narrow the image column at medium widths, then collapse
   the whole grid at small widths. The close column stays narrow at all
   sizes; on mobile it floats to the top-right while the other columns
   stack vertically. */
@media (max-width: 1024px) {
	.pricing-list-item .pricing-row-grid {
		grid-template-columns: 50px 1fr 1fr 32px;
		gap: 18px;
	}
	.pricing-list-item .pricing-row-grid--no-booking {
		grid-template-columns: 50px 1fr 32px;
	}
	.pricing-list-item .pricing-row-image .pricing-cover-wrapper {
		height: 110px;
	}
}
/* Phones: the card gave away 80px of horizontal padding plus a 32px
   delete column, leaving ~100px for the inputs on a 390px screen
   (HS 68123). Stack everything in one full-width column, move the drag
   handle and the delete button into a slim strip above the fields and
   tighten the section padding. */
@media (max-width: 768px) {
	.pricing-list-item:not(.pricing-submenu) td {
		padding: 50px 14px 14px;
	}
	.pricing-list-item:not(.pricing-submenu) td .fm-move {
		top: 12px;
		left: 14px;
	}
	.pricing-list-item .pricing-row-grid,
	.pricing-list-item .pricing-row-grid--no-booking {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.pricing-list-item .pricing-row-image,
	.pricing-list-item .pricing-row-info,
	.pricing-list-item .pricing-row-right {
		grid-column: auto;
	}
	.pricing-list-item .pricing-row-close {
		position: absolute;
		top: 6px;
		right: 6px;
		grid-column: auto;
		grid-row: auto;
	}
	.pricing-list-item .pricing-row-section {
		padding: 14px;
	}
	.pricing-list-item .pricing-row-image .pricing-cover-wrapper {
		width: 110px;
		height: 110px;
	}
}

/* ============================================
   Submit-listing — Mandatory Fees repeater
   Scoped under .listeo-mandatory-fees-list so the rules don't bleed
   onto the generic repeatable-list-item used by FAQ-style fields.
   ============================================ */
.listeo-mandatory-fees-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	/* Container query root: the row grid below wraps when the field itself
	   is narrow (e.g. a col-md-6 in the wp-admin listing editor), not only
	   when the viewport is. */
	container-type: inline-size;
}

.listeo-mandatory-fees-list .listeo-fee-row {
	padding: 14px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.listeo-mandatory-fees-list .listeo-fee-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px 130px 170px auto;
	gap: 8px;
	align-items: center;
}

/* Simple-mode rows (no LBP, so no type/frequency selects) get a
   tighter 3-column grid: title | price | remove. */
.listeo-mandatory-fees-list .listeo-fee-row--simple .listeo-fee-main {
	grid-template-columns: minmax(0, 1fr) 130px auto;
}

.listeo-mandatory-fees-list .listeo-fee-input {
	margin: 0;
	width: 100%;
}

.listeo-mandatory-fees-list .listeo-fee-input,
.listeo-mandatory-fees-list .listeo-fee-input input,
.listeo-mandatory-fees-list .listeo-fee-input select {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	box-shadow: none;
}

.listeo-mandatory-fees-list .listeo-fee-input input,
.listeo-mandatory-fees-list .listeo-fee-input select,
.listeo-mandatory-fees-list select.listeo-fee-input,
.listeo-mandatory-fees-list input.listeo-fee-input {
	padding: 9px 12px;
	height: auto;
	line-height: 1.3;
	margin: 0;
	color: #333;
}

.listeo-mandatory-fees-list .listeo-fee-input-price {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0;
}

.listeo-mandatory-fees-list .listeo-fee-input-price input {
	width: 100%;
	padding-right: 28px;
	border: none;
	border-radius: 4px;
	background: transparent;
}

.listeo-mandatory-fees-list .listeo-fee-currency {
	position: absolute;
	right: 10px;
	font-size: 12px;
	color: #999;
	pointer-events: none;
}

.listeo-mandatory-fees-list .listeo-fee-input-description {
	font-size: 13px;
	padding: 7px 12px;
	color: #555;
}

/* Per-fee conditions panel — rendered only when the opt-in
   `listeo_fees_frontend_conditions` filter enables it. */
.listeo-mandatory-fees-list .listeo-fee-conditions {
	margin-top: 8px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 13px;
	color: #666;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-toggle:hover,
.listeo-mandatory-fees-list .listeo-fee-conditions.is-open .listeo-fee-conditions-toggle {
	color: #333;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-hint {
	color: #999;
	font-size: 12px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-panel {
	padding-top: 12px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-grid label span {
	display: block;
	font-size: 12px;
	color: #888;
	margin-bottom: 4px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-grid input {
	width: 100%;
	margin: 0;
	font-size: 13px;
	padding: 7px 12px;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-weekends {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 13px;
	color: #555;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-weekends input {
	margin: 0;
}
.listeo-mandatory-fees-list .listeo-fee-conditions-note {
	font-size: 12px;
	color: #999;
	margin: 8px 0 0;
}
@media (max-width: 768px) {
	.listeo-mandatory-fees-list .listeo-fee-conditions-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.listeo-mandatory-fees-list .listeo-fee-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #555;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.listeo-mandatory-fees-list .listeo-fee-btn:hover {
	background: #f5f5f5;
	color: #333;
}

.listeo-mandatory-fees-list .listeo-fee-remove {
	color: #c33;
	padding: 8px 11px;
}

.listeo-mandatory-fees-list .listeo-fee-remove:hover {
	background: #fee;
	border-color: #fcc;
	color: #a00;
}

.listeo-mandatory-fees-list .listeo-fee-add {
	align-self: flex-start;
	font-size: 13px;
	padding: 7px 16px;
}

/* The advanced row needs ~560px for its fixed columns (type, price,
   frequency, remove). Narrower than that the title input collapsed to a
   few pixels, so wrap: title on its own line, the rest in a 2-col grid. */
/* Wrapped layout: title + remove button on the first line, then
   type | price, then frequency full width. The remove button keeps its
   natural size in an auto column instead of stretching to a cell. */
@media (max-width: 900px) {
	.listeo-mandatory-fees-list .listeo-fee-main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-title {
		grid-column: 1 / 3;
		grid-row: 1;
	}
	.listeo-mandatory-fees-list .listeo-fee-remove {
		grid-column: 3;
		grid-row: 1;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-frequency {
		grid-column: 1 / 3;
	}
}

@container (max-width: 720px) {
	.listeo-mandatory-fees-list .listeo-fee-main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-title {
		grid-column: 1 / 3;
		grid-row: 1;
	}
	.listeo-mandatory-fees-list .listeo-fee-remove {
		grid-column: 3;
		grid-row: 1;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-frequency {
		grid-column: 1 / 3;
	}
}

@container (max-width: 420px) {
	.listeo-mandatory-fees-list .listeo-fee-main,
	.listeo-mandatory-fees-list .listeo-fee-row--simple .listeo-fee-main {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-title {
		grid-column: 1;
	}
	.listeo-mandatory-fees-list .listeo-fee-remove {
		grid-column: 2;
	}
	.listeo-mandatory-fees-list .listeo-fee-input-type,
	.listeo-mandatory-fees-list .listeo-fee-input-price,
	.listeo-mandatory-fees-list .listeo-fee-input-frequency {
		grid-column: 1 / -1;
	}
}

/* ============================================
   Booking widget — itemized price breakdown
   Airbnb-style two-line rows: bold title on top, dim sublabel below,
   right-aligned amount. Thin separators between rows.
   `text-align: left` overrides the parent `.booking-estimated-cost`
   which the theme right-aligns for the "Total Cost" line.
   ============================================ */
 .booking-price-breakdown {
	list-style: none;
		padding: 0;
		
		margin: 0 0 14px;
		text-align: left;
		padding: 10px 17px;
		
		border-radius: 5px;

}
.widget .booking-price-breakdown {
	background: #fff;
		padding: 10px 17px;
			 border: 0px; 
			border-radius: 5px;
			box-shadow: 0 1px 6px 0px rgba(0, 0, 0, 0.1);
}


.booking-price-breakdown .booking-breakdown-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 5px 0;
	
}

.booking-price-breakdown .booking-breakdown-line:last-child {
	border-bottom: none;
}

.booking-price-breakdown .booking-breakdown-line-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.booking-price-breakdown .booking-breakdown-line-label,
.booking-price-breakdown .booking-breakdown-line-sublabel {
	display: block;
	text-align: left;
	width: 100%;
	color: #666;
	font-size: 14px;
	line-height: 1.4;
}

.widget .booking-price-breakdown .booking-breakdown-line-label,
.widget .booking-price-breakdown .booking-breakdown-line-sublabel {
	font-size: 12px;
}

.booking-price-breakdown .booking-breakdown-line-label {
	font-weight: 600;
}

.booking-price-breakdown .booking-breakdown-line-sublabel {
	font-weight: 400;
}

.booking-price-breakdown .booking-breakdown-line-amount {
	color: #666;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	text-align: right;
}

/* "Total Cost" line below the breakdown — slightly larger to anchor
   the bottom of the price block and stand out from the breakdown. */
.booking-estimated-cost .listeo-widget-total-cost,
.booking-estimated-cost > span {
	font-size: 16px;
}

.booking-price-breakdown .booking-breakdown-line--discount .booking-breakdown-line-amount,
.booking-price-breakdown .booking-breakdown-line--coupon .booking-breakdown-line-amount {
	color: #2e7d32;
}

/* .booking-price-breakdown .booking-breakdown-line--adjustment .booking-breakdown-line-label {
	font-style: italic;
} */

/* Mandatory fee rows in the confirmation summary use a different markup
   (<li class="listeo-fee-row"><p>label</p><strong>amount</strong></li>) than
   the rest of the summary, so they default to raw block styling. Re-style them
   to match the price-breakdown rows above (flex row, label left / amount right). */
#booking-confirmation-summary #booking-mandatory-fees {
	list-style: none;
	margin: 0;
	padding: 0;
}
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 5px 0;
	border-bottom: 1px solid #f0f0f0;
}
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row:last-child {
	border-bottom: none;
}
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row p {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
	color: #666;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
/* Frequency hint drops onto its own line below the fee name (matches the
   "× N nights" sublabel under the nightly-rate breakdown row). */
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row .listeo-fee-freq {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 400;
	color: #888;
	line-height: 1.3;
}
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row strong {
	flex-shrink: 0;
	float: none;
	text-align: right;
	white-space: nowrap;
	color: #666;
	font-size: 12px;
	font-weight: 600;
}
/* Optional (checkbox) fees keep their toggle inline with the label */
#booking-confirmation-summary #booking-mandatory-fees .listeo-fee-row .listeo-optional-fee-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
}

/* ── Collapsible booking price breakdown (classic widget) ───────────── */
.listeo-breakdown-toggle { cursor: pointer; display: flex; align-items: center; justify-content: space-between; position: relative;}
.listeo-breakdown-toggle strong { display: inline-flex; align-items: center; }
.listeo-breakdown-chevron {
    display: inline-block;
    width: 7px; height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg); /* down = collapsed */
    transition: transform .2s ease;
    opacity: .55;
	position: absolute;
	top:8px;
}
.booking-estimated-cost:not(.listeo-breakdown-collapsed) .listeo-breakdown-chevron {
    transform: rotate(-135deg); /* up = expanded */
    margin-top: 4px;
}

/* ── Native contact form (Listeo Contact Widget / standalone) ─────────────
   The form is wrapped in `.row.with-forms` and, inside the Contact widget,
   sits in the theme's `.boxed-widget.message-vendor` box, so inputs, selects
   and textareas inherit the exact styling the legacy CF7 contact form had.
   The rules below are only glue: field wrappers must not add margins, radios
   mirror the theme's `.message-vendor .wpcf7-radio` look, and the submit
   button matches the CF7 `input[type="submit"]` metrics. */
.listeo-contact-form .listeo-cf-field {
	margin: 0;
	padding: 0;
}

/* Small group label above radio/checkbox groups (CF7 widget idiom, cf. the
   theme's `.preferred-contact-method h5`). */
.listeo-contact-form .listeo-cf-group-label {
	display: block;
	font-size: 14px;
	color: #777;
	font-weight: 600;
	margin: 0 0 8px 0;
}

/* Section header field — keep it compact, don't inherit the widget-title
   look of `.boxed-widget h3`. */
.listeo-contact-form h3.listeo-cf-header {
	font-size: 18px;
	margin: 5px 0 15px 0;
	padding: 0;
	border: none;
}

/* Radios: same custom circle as the theme paints for CF7 radios
   (`.message-vendor .wpcf7-form .wpcf7-radio`). The real input stays
   focusable (opacity, not display:none) so HTML5 `required` validation can
   still anchor its message. */
.listeo-contact-form .listeo-cf-radio-group {
	margin-bottom: 15px;
}

.listeo-contact-form .listeo-cf-radio-group label {
	position: relative;
	cursor: pointer;
	margin: 0 10px 0 0;
	display: inline-block;
}

/* `label` is included for specificity: this must beat the theme's generic
   `.message-vendor input:not([type="submit"])` field styling regardless of
   stylesheet load order. */
.listeo-contact-form .listeo-cf-radio-group label input[type="radio"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0;
	box-shadow: none;
}

.listeo-contact-form .listeo-cf-item-label {
	position: relative;
	display: inline-block;
	padding-left: 24px;
	padding-top: 1px;
	color: #777;
}

.listeo-contact-form .listeo-cf-radio-group input[type="radio"] + .listeo-cf-item-label:before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 100%;
	height: 18px;
	width: 18px;
	top: 0;
	left: 0;
	border: 2px solid #b4b4b4;
	background: transparent;
	transition: 0.3s;
}

.listeo-contact-form .listeo-cf-radio-group input[type="radio"] + .listeo-cf-item-label:after {
	display: block;
	position: absolute;
	content: '';
	border-radius: 100%;
	height: 8px;
	width: 8px;
	top: 5px;
	left: 5px;
	visibility: hidden;
	transition: 0.3s;
}

.listeo-contact-form .listeo-cf-radio-group input[type="radio"]:checked + .listeo-cf-item-label:before {
	border-color: #66676b;
}

.listeo-contact-form .listeo-cf-radio-group input[type="radio"]:checked + .listeo-cf-item-label:after {
	background: #66676b;
	visibility: visible;
}

/* Checkboxes reuse the theme's `.checkboxes` idiom; just keep the group in
   the form's vertical rhythm (the inputs themselves are hidden by the theme,
   so the usual input margin doesn't apply). */
.listeo-contact-form .listeo-cf-checkbox-group {
	margin-bottom: 15px;
}

.listeo-contact-form .listeo-cf-checkbox-group label {
	margin-bottom: 5px;
}

/* Submit: theme `button.button.fullwidth` supplies the pill button; align the
   metrics with the CF7 widget submit (`body .message-vendor input[type=submit]`
   + `.message-vendor-submit-button`: line-height 20px, 5px gap above). */
.listeo-contact-form .listeo-cf-submit {
	margin: 5px 0 0 0;
	line-height: 20px;
}

/* Response message: colors come from the theme's `.notification.success` /
   `.notification.error`; metrics match the CF7 widget response output
   (`.message-vendor div.wpcf7-response-output`). */
.listeo-contact-form .listeo-contact-form-response {
	margin: 15px 0 0 0;
	padding: 10px 15px;
	border-radius: 4px;
	line-height: 21px;
	font-size: 14px;
}
.listeo-contact-form-response.notification.success {
	margin-top: 20px;
}

/* Keep AJAX search feedback inside the visible part of the listings column.
   The legacy loader uses 50% of the full results height, which can put it many
   screens below the viewport on large result pages. */
body #listeo-listings-container.loading .loader-ajax-container {
	opacity: 0 !important;
	visibility: hidden !important;
}

.listeo-ajax-floating-loader {
	position: fixed;
	top: 50vh;
	left: 50vw;
	z-index: 10000;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 50%;
	background: var(--listeo-primary-color, #66676b);
	box-shadow: 0 0 20px rgba(var(--listeo-primary-color-rgb, 102, 103, 107), 0.4);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.listeo-ajax-floating-loader.is-visible {
	opacity: 1;
	visibility: visible;
}

.listeo-ajax-floating-loader__spinner {
	position: absolute;
	top: 13px;
	left: 13px;
	width: 22px;
	height: 22px;
	border: 0.3rem solid rgba(255, 255, 255, 0.2);
	border-top-color: #fff;
	border-radius: 50%;
	animation: listeo-ajax-loader-spin 1s infinite linear;
}

.listeo-ajax-floating-loader__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes listeo-ajax-loader-spin {
	to {
		transform: rotate(360deg);
	}
}
/* Saved iCal calendars: per-calendar "Force update" toggle in the import dialog.
   Shows the stored state and flips it in place (no remove/re-add needed). */
.saved-icals .ical-force-toggle {
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	color: #909090;
}
.saved-icals .ical-force-toggle:before {
	content: "\00A0";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	background: #c9c9c9;
	vertical-align: middle;
}
.saved-icals .ical-force-toggle.is-on {
	color: #40a05a;
}
.saved-icals .ical-force-toggle.is-on:before {
	background: #40a05a;
}

.fc-icon,
.fc-unselectable {
    -moz-user-select: none;
    -ms-user-select: none;
}
.fc .fc-button,
.fc-icon {
    text-transform: none;
    font-weight: 400;
}
.fc-not-allowed,
.fc-not-allowed .fc-event {
    cursor: not-allowed;
}
.fc .fc-button:not(:disabled),
.fc a[data-navlink],
.fc-event.fc-event-draggable,
.fc-event[href] {
    cursor: pointer;
}
.fc-unselectable {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}
.fc {
    display: flex;
    flex-direction: column;
    font-size: 1em;
}
.fc .fc-button,
.fc-icon {
    display: inline-block;
    text-align: center;
}
.fc,
.fc *,
.fc :after,
.fc :before {
    box-sizing: border-box;
}
.fc table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1em;
}
.fc th {
    text-align: center;
}
.fc td,
.fc th {
    vertical-align: top;
    padding: 0;
}
.fc .fc-button,
.fc .fc-button .fc-icon,
.fc .fc-button-group,
.fc .fc-timegrid-slot-label {
    vertical-align: middle;
}
.fc a[data-navlink]:hover {
    text-decoration: underline;
}
.fc .fc-button:hover,
.fc .fc-list-event-title a,
a.fc-event,
a.fc-event:hover {
    text-decoration: none;
}
.fc-direction-ltr {
    direction: ltr;
    text-align: left;
}
.fc-direction-rtl {
    direction: rtl;
    text-align: right;
}
.fc-theme-standard td,
.fc-theme-standard th {
    border: 1px solid #ddd;
    border: 1px solid var(--fc-border-color, #ddd);
}
.fc-liquid-hack td,
.fc-liquid-hack th {
    position: relative;
}
@font-face {
    font-family: fcicons;
    src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=")
        format("truetype");
    font-weight: 400;
    font-style: normal;
    
;font-display:block;}
.fc-icon {
    width: 1em;
    height: 1em;
    -webkit-user-select: none;
    user-select: none;
    font-family: fcicons,"fcicons Fallback"!important;
    speak: none;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fc-icon-chevron-left:before {
    content: "\e900";
}
.fc-icon-chevron-right:before {
    content: "\e901";
}
.fc-icon-chevrons-left:before {
    content: "\e902";
}
.fc-icon-chevrons-right:before {
    content: "\e903";
}
.fc-icon-minus-square:before {
    content: "\e904";
}
.fc-icon-plus-square:before {
    content: "\e905";
}
.fc-icon-x:before {
    content: "\e906";
}
.fc .fc-button {
    overflow: visible;
    text-transform: none;
    margin: 0;
    font-family: inherit;
}
.fc .fc-button::-moz-focus-inner {
    padding: 0;
    border-style: none;
}
.fc .fc-button {
    -webkit-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.4em 0.65em;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0.25em;
}
.fc .fc-button:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}
.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);
}
.fc .fc-button:disabled {
    opacity: 0.65;
}
.fc .fc-daygrid-event-harness,
.fc .fc-daygrid-event-harness-abs { cursor: pointer; }
.fc-button {
    outline: none !important;
    box-shadow: none !important;
}

.fc .fc-button-primary {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #444;
    background-color: var(--fc-button-bg-color, #444);
    border-color: #444;
    border-color: var(--fc-button-border-color, #444);
}
.fc .fc-button-primary:hover {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #333;
    background-color: var(--fc-button-hover-bg-color, #333);
    border-color: #333;
    border-color: var(--fc-button-hover-border-color, #333);
}
.fc .fc-button-primary:disabled {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #444;
    background-color: var(--fc-button-bg-color, #444);
    border-color: #444;
    border-color: var(--fc-button-border-color, #444);
}
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #333;
    background-color: var(--fc-button-active-bg-color, #333);
    border-color: #151e27;
    border-color: var(--fc-button-active-border-color, #333);
}
.fc .fc-button .fc-icon {
    font-size: 1.5em;
}
.fc .fc-button-group {
    position: relative;
    display: inline-flex;
}
.fc .fc-button-group > .fc-button {
    position: relative;
    flex: 1 1 auto;
}
.fc .fc-button-group > .fc-button.fc-button-active,
.fc .fc-button-group > .fc-button:active,
.fc .fc-button-group > .fc-button:focus,
.fc .fc-button-group > .fc-button:hover {
    z-index: 1;
}
.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.fc .fc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1.5em;
}
.fc .fc-toolbar.fc-footer-toolbar {
    margin-top: 1.5em;
}
.fc .fc-toolbar-title {
    font-size: 1.75em;
    margin: 0;
}
.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
    margin-left: 0.75em;
}
.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {
    margin-right: 0.75em;
}
.fc-direction-rtl .fc-toolbar-ltr {
    flex-direction: row-reverse;
}
.fc .fc-scroller {
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.fc .fc-scroller-liquid {
    height: 100%;
}
.fc .fc-scroller-liquid-absolute {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.fc .fc-scroller-harness {
    position: relative;
    overflow: hidden;
    direction: ltr;
}
.fc .fc-scroller-harness-liquid {
    height: 100%;
}
.fc-direction-rtl .fc-scroller-harness > .fc-scroller {
    direction: rtl;
}
.fc-theme-standard .fc-scrollgrid {
    border: 1px solid #ddd;
    border: 1px solid var(--fc-border-color, #ddd);
}
.fc .fc-scrollgrid,
.fc .fc-scrollgrid-section-footer > *,
.fc .fc-scrollgrid-section-header > * {
    border-bottom-width: 0;
}
.fc .fc-scrollgrid,
.fc .fc-scrollgrid table {
    width: 100%;
    table-layout: fixed;
}
.fc .fc-scrollgrid table {
    border-top-style: hidden;
    border-left-style: hidden;
    border-right-style: hidden;
}
.fc .fc-scrollgrid {
    border-collapse: separate;
    border-right-width: 0;
}
.fc .fc-scrollgrid-liquid {
    height: 100%;
}
.fc .fc-scrollgrid-section,
.fc .fc-scrollgrid-section table,
.fc .fc-scrollgrid-section > td {
    height: 1px;
}
.fc .fc-scrollgrid-section-liquid > td {
    height: 100%;
}
.fc .fc-scrollgrid-section > * {
    border-top-width: 0;
    border-left-width: 0;
}
.fc .fc-scrollgrid-section-body table,
.fc .fc-scrollgrid-section-footer table {
    border-bottom-style: hidden;
}
.fc .fc-scrollgrid-section-sticky > * {
    background: var(--fc-page-bg-color, #fff);
    position: sticky;
    z-index: 3;
}
.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {
    top: 0;
}
.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {
    bottom: 0;
}
.fc .fc-scrollgrid-sticky-shim {
    height: 1px;
    margin-bottom: -1px;
}
.fc-sticky {
    position: sticky;
}
.fc .fc-view-harness {
    flex-grow: 1;
    position: relative;
}
.fc .fc-bg-event,
.fc .fc-highlight,
.fc .fc-non-business,
.fc .fc-view-harness-active > .fc-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.fc .fc-col-header-cell-cushion {
    display: inline-block;
    padding: 2px 4px;
}
.fc .fc-non-business {
    background: rgba(215, 215, 215, 0.3);
    background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));
}
.fc .fc-bg-event {
    background: var(--fc-bg-event-color, #8fdf82);
    opacity: 0.3;
    opacity: var(--fc-bg-event-opacity, 0.3);
}
.fc .fc-bg-event .fc-event-title {
    margin: 0.5em;
    font-size: 0.85em;
    font-size: var(--fc-small-font-size, 0.85em);
    font-style: italic;
}
.fc .fc-highlight {
    background: rgba(188, 232, 241, 0.3);
    background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));
}
.fc .fc-cell-shaded,
.fc .fc-day-disabled {
    background: rgba(208, 208, 208, 0.3);
    background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
}
.fc-event .fc-event-main {
    position: relative;
    z-index: 2;
}
.fc-event-dragging:not(.fc-event-selected) {
    opacity: 0.75;
}
.fc-event-dragging.fc-event-selected {
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
}
.fc-event .fc-event-resizer {
    display: none;
    position: absolute;
    z-index: 4;
}
.fc-event-selected .fc-event-resizer,
.fc-event:hover .fc-event-resizer,
.fc-h-event,
.fc-v-event {
    display: block;
}
.fc-event-selected .fc-event-resizer {
    border-radius: 4px;
    border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);
    border-width: 1px;
    border-width: var(--fc-event-resizer-dot-border-width, 1px);
    width: 8px;
    width: var(--fc-event-resizer-dot-total-width, 8px);
    height: 8px;
    height: var(--fc-event-resizer-dot-total-width, 8px);
    border-style: solid;
    border-color: inherit;
    background: var(--fc-page-bg-color, #fff);
}
.fc-event-selected .fc-event-resizer:before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
}
.fc-event-selected,
.fc-event:focus {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.fc-event-selected:before,
.fc-event:focus:before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.fc-event-selected:after,
.fc-event:focus:after {
    content: "";
    background: rgba(0, 0, 0, 0.25);
    background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));
    position: absolute;
    z-index: 1;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
}
.fc-h-event {
    border: 1px solid #3788d8;
    border: 1px solid var(--fc-event-border-color, #3788d8);
    background-color: #3788d8;
    background-color: var(--fc-event-bg-color, #3788d8);
}
.fc-h-event .fc-event-main {
    color: #fff;
    color: var(--fc-event-text-color, #fff);
}
.fc-h-event .fc-event-main-frame {
    display: flex;
}
.fc-h-event .fc-event-time {
    max-width: 100%;
    overflow: hidden;
}
.fc-h-event .fc-event-title-container {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
}
.fc-h-event .fc-event-title {
    display: inline-block;
    vertical-align: top;
    left: 0;
    right: 0;
    max-width: 100%;
    overflow: hidden;
}
.fc-h-event.fc-event-selected:before {
    top: -10px;
    bottom: -10px;
}
.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),
.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-width: 0;
}
.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),
.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-width: 0;
}
.fc-h-event:not(.fc-event-selected) .fc-event-resizer {
    top: 0;
    bottom: 0;
    width: 8px;
    width: var(--fc-event-resizer-thickness, 8px);
}
.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,
.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {
    cursor: w-resize;
    left: -4px;
    left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
}
.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,
.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {
    cursor: e-resize;
    right: -4px;
    right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
}
.fc-h-event.fc-event-selected .fc-event-resizer {
    top: 50%;
    margin-top: -4px;
    margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
}
.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,
.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {
    left: -4px;
    left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
}
.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,
.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {
    right: -4px;
    right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
}
.fc .fc-popover {
    position: absolute;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.fc .fc-popover-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3px 4px;
}
.fc .fc-popover-title {
    margin: 0 2px;
}
.fc .fc-popover-close {
    cursor: pointer;
    opacity: 0.65;
    font-size: 1.1em;
}
.fc-theme-standard .fc-popover {
    border: 1px solid #ddd;
    border: 1px solid var(--fc-border-color, #ddd);
    background: var(--fc-page-bg-color, #fff);
}
.fc-theme-standard .fc-popover-header {
    background: rgba(208, 208, 208, 0.3);
    background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
}
:root {
    --fc-daygrid-event-dot-width: 8px;
    --fc-list-event-dot-width: 10px;
    --fc-list-event-hover-bg-color: #f5f5f5;
}
.fc-daygrid-day-events:after,
.fc-daygrid-day-events:before,
.fc-daygrid-day-frame:after,
.fc-daygrid-day-frame:before,
.fc-daygrid-event-harness:after,
.fc-daygrid-event-harness:before {
    content: "";
    clear: both;
    display: table;
}
.fc .fc-daygrid-body {
    position: relative;
    z-index: 1;
}
.fc .fc-daygrid-day.fc-day-today {
    background-color: rgba(255, 220, 40, 0.15);
    background-color: var(--fc-today-bg-color, rgba(255, 220, 40, 0.15));
}
.fc .fc-daygrid-day-frame {
    position: relative;
    min-height: 100%;
}
.fc .fc-daygrid-day-top {
    display: flex;
    flex-direction: row-reverse;
}
.fc .fc-day-other .fc-daygrid-day-top {
    opacity: 0.3;
}
.fc .fc-daygrid-day-number {
    position: relative;
    z-index: 4;
    padding: 4px;
}
.fc .fc-daygrid-day-events {
    margin-top: 1px;
}
.fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
    position: absolute;
    left: 0;
    right: 0;
}
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    position: relative;
    min-height: 2em;
}
.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 1em;
}
.fc .fc-daygrid-event-harness {
    position: relative;
}
.fc .fc-daygrid-event-harness-abs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.fc .fc-daygrid-bg-harness {
    position: absolute;
    top: 0;
    bottom: 0;
}
.fc .fc-daygrid-day-bg .fc-non-business {
    z-index: 1;
}
.fc .fc-daygrid-day-bg .fc-bg-event {
    z-index: 2;
}
.fc .fc-daygrid-day-bg .fc-highlight {
    z-index: 3;
}
.fc .fc-daygrid-event {
    z-index: 6;
    margin-top: 1px;
}
.fc .fc-daygrid-event.fc-event-mirror {
    z-index: 7;
}
.fc .fc-daygrid-day-bottom {
    font-size: 0.85em;
    padding: 2px 3px 0;
}
.fc .fc-daygrid-day-bottom:before {
    content: "";
    clear: both;
    display: table;
}
.fc .fc-daygrid-more-link {
    position: relative;
    z-index: 4;
    cursor: pointer;
}
.fc .fc-daygrid-week-number {
    position: absolute;
    z-index: 5;
    top: 0;
    padding: 2px;
    min-width: 1.5em;
    text-align: center;
    background-color: rgba(208, 208, 208, 0.3);
    background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
    color: grey;
    color: var(--fc-neutral-text-color, grey);
}
.fc .fc-more-popover .fc-popover-body {
    min-width: 220px;
    padding: 10px;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-start,
.fc-direction-rtl .fc-daygrid-event.fc-event-end {
    margin-left: 2px;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-end,
.fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin-right: 2px;
}
.fc-direction-ltr .fc-daygrid-week-number {
    left: 0;
    border-radius: 0 0 3px;
}
.fc-direction-rtl .fc-daygrid-week-number {
    right: 0;
    border-radius: 0 0 0 3px;
}
.fc-liquid-hack .fc-daygrid-day-frame {
    position: static;
}
.fc-daygrid-event {
    position: relative;
    white-space: nowrap;
    border-radius: 3px;
    font-size: 0.85em;
    font-size: var(--fc-small-font-size, 0.85em);
}
.fc-daygrid-block-event .fc-event-time {
    font-weight: 700;
}
.fc-daygrid-block-event .fc-event-time,
.fc-daygrid-block-event .fc-event-title {
    padding: 1px;
}
.fc-daygrid-dot-event {
    display: flex;
    align-items: center;
    padding: 2px 0;
}
.fc-daygrid-dot-event .fc-event-title {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 700;
}
.fc-daygrid-dot-event.fc-event-mirror,
.fc-daygrid-dot-event:hover {
    background: rgba(0, 0, 0, 0.1);
}
.fc-daygrid-dot-event.fc-event-selected:before {
    top: -10px;
    bottom: -10px;
}
.fc-daygrid-event-dot {
    margin: 0 4px;
    box-sizing: content-box;
    width: 0;
    height: 0;
    border: 4px solid #3788d8;
    border: calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid var(--fc-event-border-color, #3788d8);
    border-radius: 4px;
    border-radius: calc(var(--fc-daygrid-event-dot-width, 8px) / 2);
}
.fc-direction-ltr .fc-daygrid-event .fc-event-time {
    margin-right: 3px;
}
.fc-direction-rtl .fc-daygrid-event .fc-event-time {
    margin-left: 3px;
}
.fc-v-event {
    border: 1px solid #3788d8;
    border: 1px solid var(--fc-event-border-color, #3788d8);
    background-color: #3788d8;
    background-color: var(--fc-event-bg-color, #3788d8);
}
.fc-v-event .fc-event-main {
    color: #fff;
    color: var(--fc-event-text-color, #fff);
    height: 100%;
}
.fc-v-event .fc-event-main-frame {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.fc-v-event .fc-event-time {
    flex-grow: 0;
    flex-shrink: 0;
    max-height: 100%;
    overflow: hidden;
}
.fc-v-event .fc-event-title-container {
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 0;
}
.fc-v-event .fc-event-title {
    top: 0;
    bottom: 0;
    max-height: 100%;
    overflow: hidden;
}
.fc-v-event:not(.fc-event-start) {
    border-top-width: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.fc-v-event:not(.fc-event-end) {
    border-bottom-width: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.fc-v-event.fc-event-selected:before {
    left: -10px;
    right: -10px;
}
.fc-v-event .fc-event-resizer-start {
    cursor: n-resize;
}
.fc-v-event .fc-event-resizer-end {
    cursor: s-resize;
}
.fc-v-event:not(.fc-event-selected) .fc-event-resizer {
    height: 8px;
    height: var(--fc-event-resizer-thickness, 8px);
    left: 0;
    right: 0;
}
.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start {
    top: -4px;
    top: calc(var(--fc-event-resizer-thickness, 8px) / -2);
}
.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end {
    bottom: -4px;
    bottom: calc(var(--fc-event-resizer-thickness, 8px) / -2);
}
.fc-v-event.fc-event-selected .fc-event-resizer {
    left: 50%;
    margin-left: -4px;
    margin-left: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
}
.fc-v-event.fc-event-selected .fc-event-resizer-start {
    top: -4px;
    top: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
}
.fc-v-event.fc-event-selected .fc-event-resizer-end {
    bottom: -4px;
    bottom: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
}
.fc .fc-timegrid .fc-daygrid-body {
    z-index: 2;
}
.fc .fc-timegrid-axis-chunk > table,
.fc .fc-timegrid-body,
.fc .fc-timegrid-slots {
    position: relative;
    z-index: 1;
}
.fc .fc-timegrid-divider {
    padding: 0 0 2px;
}
.fc .fc-timegrid-body {
    min-height: 100%;
}
.fc .fc-timegrid-axis-chunk {
    position: relative;
}
.fc .fc-timegrid-slot {
    height: 1.5em;
    border-bottom: 0;
}
.fc .fc-timegrid-slot:empty:before {
    content: "\00a0";
}
.fc .fc-timegrid-slot-minor {
    border-top-style: dotted;
}
.fc .fc-timegrid-slot-label-cushion {
    display: inline-block;
    white-space: nowrap;
}
.fc .fc-timegrid-axis-cushion,
.fc .fc-timegrid-slot-label-cushion {
    padding: 0 4px;
}
.fc .fc-timegrid-axis-frame-liquid {
    height: 100%;
}
.fc .fc-timegrid-axis-frame {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.fc .fc-timegrid-axis-cushion {
    max-width: 60px;
    flex-shrink: 0;
}
.fc-direction-ltr .fc-timegrid-slot-label-frame {
    text-align: right;
}
.fc-direction-rtl .fc-timegrid-slot-label-frame {
    text-align: left;
}
.fc-liquid-hack .fc-timegrid-axis-frame-liquid {
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.fc .fc-timegrid-col.fc-day-today {
    background-color: rgba(255, 220, 40, 0.15);
    background-color: var(--fc-today-bg-color, rgba(255, 220, 40, 0.15));
}
.fc .fc-timegrid-col-frame {
    min-height: 100%;
    position: relative;
}
.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame {
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.fc-media-screen .fc-timegrid-cols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.fc-media-screen .fc-timegrid-cols > table {
    height: 100%;
}
.fc-media-screen .fc-timegrid-col-bg,
.fc-media-screen .fc-timegrid-col-events,
.fc-media-screen .fc-timegrid-now-indicator-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.fc .fc-timegrid-col-bg {
    z-index: 2;
}
.fc .fc-timegrid-col-bg .fc-non-business {
    z-index: 1;
}
.fc .fc-timegrid-col-bg .fc-bg-event {
    z-index: 2;
}
.fc .fc-timegrid-col-bg .fc-highlight,
.fc .fc-timegrid-col-events {
    z-index: 3;
}
.fc .fc-timegrid-bg-harness {
    position: absolute;
    left: 0;
    right: 0;
}
.fc .fc-timegrid-now-indicator-container {
    bottom: 0;
    overflow: hidden;
}
.fc-direction-ltr .fc-timegrid-col-events {
    margin: 0 2.5% 0 2px;
}
.fc-direction-rtl .fc-timegrid-col-events {
    margin: 0 2px 0 2.5%;
}
.fc-timegrid-event-harness {
    position: absolute;
}
.fc-timegrid-event-harness > .fc-timegrid-event {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.fc-timegrid-event-harness-inset .fc-timegrid-event,
.fc-timegrid-event.fc-event-mirror,
.fc-timegrid-more-link {
    box-shadow: 0 0 0 1px #fff;
    box-shadow: 0 0 0 1px var(--fc-page-bg-color, #fff);
}
.fc-timegrid-event,
.fc-timegrid-more-link {
    font-size: 0.85em;
    font-size: var(--fc-small-font-size, 0.85em);
    border-radius: 3px;
}
.fc-timegrid-event {
    margin-bottom: 1px;
}
.fc-timegrid-event .fc-event-main {
    padding: 1px 1px 0;
}
.fc-timegrid-event .fc-event-time {
    white-space: nowrap;
    font-size: 0.85em;
    font-size: var(--fc-small-font-size, 0.85em);
    margin-bottom: 1px;
}
.fc-timegrid-event-short .fc-event-main-frame {
    flex-direction: row;
    overflow: hidden;
}
.fc-timegrid-event-short .fc-event-time:after {
    content: "\00a0-\00a0";
}
.fc-timegrid-event-short .fc-event-title {
    font-size: 0.85em;
    font-size: var(--fc-small-font-size, 0.85em);
}
.fc-timegrid-more-link {
    position: absolute;
    z-index: 9999;
    color: inherit;
    color: var(--fc-more-link-text-color, inherit);
    background: var(--fc-more-link-bg-color, #d0d0d0);
    cursor: pointer;
    margin-bottom: 1px;
}
.fc-timegrid-more-link-inner {
    padding: 3px 2px;
    top: 0;
}
.fc-direction-ltr .fc-timegrid-more-link {
    right: 0;
}
.fc-direction-rtl .fc-timegrid-more-link {
    left: 0;
}
.fc .fc-timegrid-now-indicator-line {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    border-style: solid;
    border-color: red;
    border-color: var(--fc-now-indicator-color, red);
    border-width: 1px 0 0;
}
.fc .fc-timegrid-now-indicator-arrow {
    position: absolute;
    z-index: 4;
    margin-top: -5px;
    border-style: solid;
    border-color: red;
    border-color: var(--fc-now-indicator-color, red);
}
.fc-direction-ltr .fc-timegrid-now-indicator-arrow {
    left: 0;
    border-width: 5px 0 5px 6px;
    border-top-color: transparent;
    border-bottom-color: transparent;
}
.fc-direction-rtl .fc-timegrid-now-indicator-arrow {
    right: 0;
    border-width: 5px 6px 5px 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
}
.fc-theme-standard .fc-list {
    border: 1px solid #ddd;
    border: 1px solid var(--fc-border-color, #ddd);
}
.fc .fc-list-empty {
    background-color: rgba(208, 208, 208, 0.3);
    background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fc .fc-list-empty-cushion {
    margin: 5em 0;
}
.fc .fc-list-table {
    width: 100%;
    border-style: hidden;
}
.fc .fc-list-table tr > * {
    border-left: 0;
    border-right: 0;
}
.fc .fc-list-sticky .fc-list-day > * {
    position: sticky;
    top: 0;
    background: var(--fc-page-bg-color, #fff);
}
.fc .fc-list-table thead {
    position: absolute;
    left: -10000px;
}
.fc .fc-list-table tbody > tr:first-child th {
    border-top: 0;
}
.fc .fc-list-table th {
    padding: 0;
}
.fc .fc-list-day-cushion,
.fc .fc-list-table td {
    padding: 8px 14px;
}
.fc .fc-list-day-cushion:after {
    content: "";
    clear: both;
    display: table;
}
.fc-theme-standard .fc-list-day-cushion {
    background-color: rgba(208, 208, 208, 0.3);
    background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
}
.fc-direction-ltr .fc-list-day-text,
.fc-direction-rtl .fc-list-day-side-text {
    float: left;
}
.fc-direction-ltr .fc-list-day-side-text,
.fc-direction-rtl .fc-list-day-text {
    float: right;
}
.fc-direction-ltr .fc-list-table .fc-list-event-graphic {
    padding-right: 0;
}
.fc-direction-rtl .fc-list-table .fc-list-event-graphic {
    padding-left: 0;
}
.fc .fc-list-event.fc-event-forced-url {
    cursor: pointer;
}
.fc .fc-list-event:hover td {
    background-color: #f5f5f5;
    background-color: var(--fc-list-event-hover-bg-color, #f5f5f5);
}
.fc .fc-list-event-graphic,
.fc .fc-list-event-time {
    white-space: nowrap;
    width: 1px;
}
.fc .fc-list-event-dot {
    display: inline-block;
    box-sizing: content-box;
    width: 0;
    height: 0;
    border: 5px solid #3788d8;
    border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, #3788d8);
    border-radius: 5px;
    border-radius: calc(var(--fc-list-event-dot-width, 10px) / 2);
}
.fc .fc-list-event-title a {
    color: inherit;
}
.fc .fc-list-event.fc-event-forced-url:hover a {
    text-decoration: underline;
}
.fc-theme-bootstrap a:not([href]) {
    color: inherit;
}
.fc-theme-bootstrap5 a:not([href]) {
    color: inherit;
    text-decoration: inherit;
}
.fc-theme-bootstrap5 .fc-list,
.fc-theme-bootstrap5 .fc-scrollgrid,
.fc-theme-bootstrap5 td,
.fc-theme-bootstrap5 th {
    border: 1px solid var(--bs-gray-400);
}
.fc-theme-bootstrap5 .fc-scrollgrid {
    border-right-width: 0;
    border-bottom-width: 0;
}
.fc-theme-bootstrap5-shaded {
    background-color: var(--bs-gray-200);
}

/*wpc-source:wp-content/plugins/listeo-core/assets/css/fullcalendar.min.css*/

:where(html.wpc-bgl255) .listeo-silk-wave-grain{background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(/wp-content/plugins/ai-chat-search/assets/css/%23n)'/%3E%3C/svg%3E")}