/* Global rule to hide broken images */

/* NAVIGATION */

/* Mobile Navigation - Static Flow */
@media screen and (max-width: 768px) {
    .nav-mobile {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        height: auto !important;
        
        /* Ensures status bar notches don't clip the header */
        padding-top: env(safe-area-inset-top, 0px) !important; 
    }
}


/* VIEW MORE */


/* =========================================================
   GLOBAL EXPANDABLE CONTENT
========================================================= */

.site-expandable-content {
    width: 100%;
    min-width: 0;
}

.site-expandable-item[hidden],
.site-view-more-wrap[hidden] {
    display: none !important;
}

.site-view-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

.site-view-more-button {
    appearance: none;
    min-height: 48px;
    padding: 0 28px;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.site-view-more-button:hover {
    transform: translateY(-2px);
}

.site-view-more-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/*
.site-view-more-wrap[hidden] {
    display: none !important;
}


.site-expandable-item[hidden] {
    display: none !important;
}

.site-view-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

.site-view-more-button {
    appearance: none;
    min-height: 48px;
    padding: 0 28px;
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 999px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.site-view-more-button:hover {
    transform: translateY(-2px);
}

.site-view-more-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}



.site-expandable-content {
    width: 100%;
    min-width: 0;
}

.site-expandable-item[hidden],
.site-view-more-wrap[hidden] {
    display: none !important;
}

*/

/* =========================================================
   MULTI-SERVICE BOOKING UI
   Shared across ALL website templates
   ========================================================= */


/* Selected services container */
#modalSelectedServicesContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 12px 0 16px 0 !important;
}


/* Selected service pill */
#modalSelectedServicesContainer .service-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 6px 12px !important;

    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;

    color: #1f2937 !important;

    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;

    box-sizing: border-box !important;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}


/* Service name */
#modalSelectedServicesContainer .service-badge span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #1f2937 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}


/* Service price */
#modalSelectedServicesContainer .service-badge strong {
    display: inline !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #059669 !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
}


/* Remove service button */
#modalSelectedServicesContainer .badge-remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 20px !important;

    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;

    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #e5e7eb !important;
    border: none !important;
    border-radius: 50% !important;
    outline: none !important;

    color: #4b5563 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition: all 0.15s ease !important;
}


#modalSelectedServicesContainer .badge-remove:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* =========================================================
   SERVICE SUMMARY
   ========================================================= */

#modalServiceSummaryBox,
.service-summary-box {
    background-color: #1f2937 !important;

    border-radius: 10px;

    padding: 14px 18px;
    margin-top: 16px;

    color: #e5e7eb !important;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* Total duration + total price */
#modalSummaryDuration,
#modalSummaryPrice,
.service-summary-box strong {
    color: #fbbf24 !important;

    font-weight: 700;
    font-size: 15px;
}


/* =========================================================
   NEXT: PICK TIME BUTTON
   ========================================================= */

#btnConfirmService,
.btn-next-step {
    width: 100%;

    padding: 14px;

    border-radius: 10px;
    border: none;

    font-weight: 600;
    font-size: 15px;

    cursor: pointer;

    background-color: #2563eb;
    color: #ffffff;

    transition: all 0.2s ease-in-out;
}


/* Hover */
#btnConfirmService:hover:not(:disabled),
.btn-next-step:hover:not(:disabled) {
    background-color: #1d4ed8;
}


/* Disabled when no services are selected */
#btnConfirmService:disabled,
#btnConfirmService.btn-disabled,
.btn-next-step:disabled,
.btn-next-step.btn-disabled {
    background-color: #9ca3af !important;
    color: #f3f4f6 !important;

    cursor: not-allowed !important;

    opacity: 0.6;

    pointer-events: none;
}







.employee-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}


.hide-broken-img.broken {
    display: none !important;
}


.cp-booking-widget-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 8px;
    overflow: hidden;
}

.cp-booking-widget-container iframe {
    width: 100%;
    min-height: 600px; /* base height */
    border: none;
    border-radius: 8px;
}

.title-svg, .icon-svg {
  vertical-align: middle;
}

:root {
  /* Colors */
  --SaaS-font-color: #b88a4a;
  --color-background: #f9f9f9;
  --color-text-primary: #1a1a1a;
  --color-primary-bg: #fff;
  --color-text-secondary: #333;
  --color-border-light: #eee;
  --color-border-dark: #000;
  --color-heading: #2c3e50;
  --color-link-hover-bg: #f0f0f0;
  --color-pending-status: #d4a017;
  --color-pending-bg-transparent: rgba(255, 223, 85, 0.2);
  --color-pending-active-bg: #d4a017;
  --color-pending-active-text: white;
  --color-approved-status: #28a745;
  --color-approved-bg-transparent: rgba(40, 167, 69, 0.2);
  --color-approved-active-bg: #28a745;
  --color-approved-active-text: white;
  --color-canceled-status: #dc3545;
  --color-canceled-bg-transparent: rgba(220, 53, 69, 0.2);
  --color-canceled-active-bg: #dc3545;
  --color-canceled-active-text: white;
  --color-active-menu-bg: rgba(0, 123, 255, 0.5);
  
  /* Error message */
  --color-danger-bg: #ffe0e0;
  --color-danger-text: #dc3545;
  --color-danger-button-bg: #dc3545;
  --color-danger-button-text: #fff;
  --color-danger-hover-bg: darkred;
  --color-error: #cc0000;
    
  /* Succes message */
  --color-success-bg: #e0ffe0 ;
  --color-success-text: #28a745;
  --color-success-button-bg: #28a745;
  --color-success-button-text: white;


  
  
  
  /* Container */
 --color-customer-container-bg: #f8f8f8;
 --container-max-width: 1200px;
 --container-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 --container-border-radius: 8px;
 --container-padding: 15px;
  
  /* Typography */
  --font-family-poppins: 'Poppins', sans-serif;
  --font-family-cinzel: 'Cinzel', serif;
  --font-size-base: 1rem;
  --font-size-small: 0.9rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-extra-small: 5px;
  --spacing-small: 10px;
  --spacing-medium: 15px;
  --spacing-large: 20px;
  --spacing-extra-large: 30px;
  --spacing-extra-Xlarge: 50px;

  /* Sizes */
  --size-sidebar-width: 250px;
  --size-user-bar-height: 50px;
  --size-profile-image: 30px;
  --size-hamburger: 30px;

  /* Borders & Radius */
  --border-thin: 1px solid var(--color-border-light);
  --border-medium: 2px solid var(--color-text-secondary);
  --border-thick: 5px solid var(--color-border-light);
  --border-radius-small: 5px;
  --border-radius-medium: 8px;
  --border-radius-large: 25px;
  --border-input-color: #007BFF;
  
  /* Button */
  --button-background-color: #007bff;
  --button-color: #fff;
  --button-border-radius: 8px;
  --button-font-weight: 500;
  --button-hover: #0056b3;

  /* Transitions */
  --transition-ease-in-out: transform 0.3s ease-in-out;
  --transition-quick: 0.2s;
  --transition-standard: 0.3s;
  --transition-color: 0.3s ease, color 0.3s ease;
  
  /* Form group */
  --form-group-margin-bottom: var(--spacing-medium);
  --form-label-margin-bottom: var(--spacing-extra-small);
  --input-padding-vertical: var(--spacing-small);
  --input-padding-horizontal: var(--spacing-medium);
  --input-border-color: #ccc;
  --input-border-color-focus: #007bff;
  --input-border-radius: var(--border-radius-small);
  --input-font-size: var(--font-size-base);
  --input-text-color: var(--color-text-secondary);
  --input-background-color: var(--color-primary-bg);
  --input-placeholder-color: #999;
  
      /* Tables */
  --table-font-size: 0.95rem;
  --table-row-margin: 20px;
  --table-border: 1px solid #ddd;
  --table-radius: 6px;
  --table-padding: 10px 15px;
  --table-border-bottom: 1px solid #eee;
  --table-label-color: #555;
  --table-label-weight: bold;
  --table-label-flex: 50%;
  
  /* table colors */
    --table-background-color: #ffffff;
  --table-header-bg: #f8f9fa;
  --table-text-color: #333333;
  --table-header-text-color: #555555;
  --table-cell-border-color: #e0e0e0;
  --table-row-hover-bg: #f1f1f1;
  --table-odd-row-bg: #fdfdfd;
  --table-even-row-bg: #ffffff;
  --status-text-on-dark-bg: #ffffff;
  --status-text-on-light-bg: #333333;
  
     /* icon-text navigation */
  --color-icon-background: black;
  --color-icon-text: white;
  --border-medium: 2px solid #000;


/* ===========================
   AI  VARIABLES
=========================== */
  /* General colors */
  --bg: #f6f7fb;
  --card: #fff;
  --text: #0f172a;
  --muted: #6b7280;
  --brand: #2e7cf6;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  /* Floating Assistant Button (FAB) */
  --assistant-fab-width: 100px;
  --assistant-fab-height: 50px;
  --assistant-fab-radius: 4px;
  --assistant-fab-bg: var(--brand);
  --assistant-fab-color: #fff;
  --assistant-fab-hover-bg: #1f5acb;
  --assistant-fab-font-size: 1.2rem;
  --assistant-fab-z: 9999;
  --assistant-fab-spacing: 20px;
  --assistant-fab-mobile-spacing: 16px;

  /* Sidebar / Assistant */
  --assistant-width: 360px;
  --assistant-max-width: 92vw;
  --assistant-bg: var(--card);
  --assistant-border-left: 1px solid var(--border);
  --assistant-shadow: var(--shadow);
  --assistant-z: 50;

  --assistant-header-padding: 14px 16px;
  --assistant-header-border-bottom: 1px solid var(--border);
  --assistant-header-color: var(--text);

  --assistant-content-padding: 16px;
  --assistant-content-gap: 10px;

  /* Textarea inside assistant */
  --assistant-textarea-min-height: 110px;
  --assistant-textarea-padding: 10px;
  --assistant-textarea-radius: 12px;
  --assistant-textarea-border: 1px solid var(--border);
  --assistant-textarea-bg: var(--card);
  --assistant-textarea-color: var(--text);

  /* Suggestions buttons */
  --ai-suggestion-bg: #fff;
  --ai-suggestion-color: #b88a4a;
  --ai-suggestion-border: 1px solid #eee;
  --ai-suggestion-radius: 5px;
  --ai-suggestion-padding-vertical: 0.5rem;
  --ai-suggestion-padding-horizontal: 1rem;
  --ai-suggestion-font-weight: 500;
  --ai-suggestion-hover-bg: #b88a4a;
  --ai-suggestion-hover-color: #fff;
  --ai-suggestion-active-bg: var(--brand);
  --ai-suggestion-active-color: #fff;
}

/*
----------------------------------------
          MODAL LOADING
----------------------------------------
*/

/* Loading Container */
.slots-loading-container {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px 0 !important;
}

.slots-loading-text {
    margin-top: 12px !important;
    font-size: 14px !important;
}

/* Empty State Container */
.no-slots-container {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 32px 20px !important;
    text-align: center !important;
    border-radius: 12px !important;
    margin: 8px 0 !important;
}

.no-slots-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
}

.no-slots-sub {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/*
----------------------------------------
          MOBILE NAVIGATION DRAWER
----------------------------------------
*/


/* FOOTER */

.site-business-name {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 650px) {
    .site-business-name {
        font-size: clamp(1rem, 5vw, 1.8rem);
        letter-spacing: clamp(0.08em, 0.8vw, 0.2em);
    }
}




/*
---------------------------------------
      GALLERY
-----------------------------------------
*/

/* --- BASE LAYOUT BLOCK --- */
.lx-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 20px !important;
}

.lx-gallery-item {
    padding: 10px !important;
}

.lx-gallery-img-wrapper {
    position: relative !important;
    overflow: hidden !important;
    height: 250px !important;
}

/* Added 'video' selector here */
.lx-gallery-img-wrapper img,
.lx-gallery-img-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.lx-gallery-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 20px !important;
    text-align: left !important;
}

/* --- MOBILE LAYOUT OVERRIDES --- */
@media (max-width: 600px) {
    .lx-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .lx-gallery-item {
        padding: 6px !important;
    }

    .lx-gallery-img-wrapper {
        height: 160px !important;
    }

    .lx-gallery-overlay {
        padding: 10px !important;
    }
}

@media (max-width: 600px) {
    .lx-gallery-overlay h4 {
        font-size: 0.85rem;
    }
}


/*
---------------------------------------
      CANCEL APPOINTMENT MODAL
-----------------------------------------
*/

.media-safety-layer {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
}

.action-prompt-card {
    width: 380px !important;
    padding: 25px !important;
    border-radius: 16px !important;
}

.prompt-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.btn-dismiss,
.btn-execute {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 10px !important;
}


/*
---------------------------------------
              POPUP HEADER 
-----------------------------------------
*/

/*
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding-top: 0 !important;
}
*/

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    /* Flex alignment adjustments for mobile */
    justify-content: center;
    align-items: flex-start; /* Prevents top clipping on vertical overflows */
    overflow-y: auto; /* Allows the overlay itself to scroll if needed */
    padding: 20px 10px; /* Safe padding for mobile top/bottom spacing */
    box-sizing: border-box;
}

/* Shown when active */
.popup-overlay.active {
    display: flex;
}

.popup-content {
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding-top: 0 !important;
    margin: auto 0; /* Centers vertically ONLY when screen height permits */
    box-sizing: border-box;
}


.popup-brand-header {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-areas: "logo date close";
    align-items: center;
    padding: 5px 15px !important;
    border-bottom: 1px solid #444;
    margin-bottom: 0 !important;
}

.brand-logo {
    grid-area: logo;
    justify-self: start;
    max-height: 35px;
    object-fit: contain;
}

.popup-date-display {
    grid-area: date;
    justify-self: center;
    align-self: center;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.close-x {
    grid-area: close;
    justify-self: end;
    align-self: center;
}
*/


 
/* 2. Compact Header Layout */


.popup-content > *:first-child {
    margin-top: -10px !important;
}

.brand-logo {
    grid-area: logo;
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    display: block !important;
}

.brand-name {
    grid-area: name;
    margin: 5px 0 0 0;
    text-align: center;
    font-size: 1.1rem;
}


.brand-logo {
    display: block !important;
    width: 65px !important;
    height: 65px !important;
    object-fit: contain;
}


.popup-brand-header {
/*   background-color: pink; */
    padding: 5px 35px 10px 35px;
}


.close-x {
    grid-area: close;
    justify-self: end;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*
----------------------------------------
              PRICE AND CURRENCY GAP
----------------------------------------
*/

/* Global Price Formatting */
.global-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px; /* Adjust spacing here */
}



/*
----------------------------------------
              SOCIAL MEDIA 
----------------------------------------
*/

  .social-icon {
    width: 25px!important;
    height: 25px!important;
}


/*
----------------------------------------
              WHATSAPP 
-----------------------------------------
*/

/* Global-Core.css */
.wa-widget {
    position: fixed; 
    bottom: 32px; 
    right: 32px; 
    width: 50px;
    height: 50px;
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 12px; 
    border-radius: 50%; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.wa-widget:hover {
    transform: scale(1.1);
}

.wa-widget svg {
    width: 30px; 
    height: 30px; 
    fill: #fff;
}



/*
----------------------------------------
              SELECT MODAL
----------------------------------------
*/

.loader-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #3b82f6; /* Accent color / theme blue */
    animation: spin 0.8s ease-in-out infinite;
}

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


/*
----------------------------------------
              SELECT MODAL
-----------------------------------------
*/
.global-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    display: none !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
}

.global-modal-overlay.active {
    display: flex !important;
}

.select-modal {
    width: 380px !important;
    max-width: 90% !important;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    background: var(--lx-bg-secondary) !important; /* Added background */
    border: 2px solid var(--lx-gold) !important; /* Added border */
}

.select-modal .modal-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.select-modal h2 {
    color: var(--lx-text-main) !important;
    margin: 10px 0 !important;
    font-size: 1.4rem !important;
}

#modal-message {
    width: 100% !important;
    margin-bottom: 10px !important;
}

.modal-ok {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 10px !important;
    cursor: pointer !important;
}

.modal-options {
    max-height: 300px !important;
    width: 100% !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 15px 0 !important;
    align-items: center !important;
}

.modal-option {
    padding: 10px 14px !important;
    text-align: center !important;
    width: 85% !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s, color 0.2s !important;
}

.modal-option-disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    font-style: italic !important;
}





/* ==============================
   Booking Limit Banner Layout
================================ */

.appointly-limit-banner {
    border-radius: 12px;
    padding: 24px 30px;
    margin: 40px auto;
    max-width: 800px;
    box-sizing: border-box;
}

.limit-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    line-height: 1.6;
}

.limit-icon {
    flex-shrink: 0;
}

.limit-banner-content p {
    margin: 0;
}


/*
----------------------------------------
              HOURS SECTION
              PAYMENT SECTION
              POLICIES SECTION
----------------------------------------
*/

/* New Section Structural Rules */
.lx-section-padding { 
  padding: 80px 0; 
  
}

/* Operating Hours Grid */
.lx-hours-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-top: 30px; 
}
/* Removes the background/blocky look */
.lx-hour-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 0; /* Plenty of breathing room */
    border-bottom: 1px solid var(--lx-border-color); 
    width: 100%;
}

/* Remove any background or fixed width that created the 'box' effect */
.lx-day { 
    background: transparent !important; 
    padding: 0 !important; 
    margin: 0 !important;
    font-weight: 500;
    text-transform: capitalize;
}

.lx-time { 
    text-align: right; 
    font-weight: 400;
}


/* Booking Policies & Payments */

.lx-policies-bg .lx-container {
    max-width: 800px; /* Limits width so lines aren't too long/hard to read */
    padding: 0 20px;
}

.lx-policies-bg p {
    margin-top: 25px;
    line-height: 1.8; /* Improves readability for legal/policy text */
    font-size: 1rem;
}



.lx-policies-bg .lx-container p, 
.payment-details p { 
    line-height: 1.6; 
    margin-bottom: 15px; 
}
.payment-details { margin-top: 20px; }


/*
----------------------------------------
              UPDATES SECTION
----------------------------------------
*/

/* --- Updates Section: Construction --- */

/* Update the section container */
.lx-updates-section {
    padding: 20px 15px; /* Less vertical padding, more side padding */
    margin: 20px 0;    /* Adds space between the Hero and the Calendar */
}

/* Update the card itself */
.lx-update-card {
    width: 100%;       /* Ensures it doesn't overflow */
    /* max-width: 800px; */
    margin: 0 auto;
    text-align: center;
    padding: 20px;     /* Internal breathing room */
    border-radius: 12px;
}




.lx-update-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lx-update-card h2 {
    margin-bottom: 20px;
}

.lx-update-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.lx-update-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 30px;
}



/*
----------------------------------------
              AI
----------------------------------------
*/


/* Floating Button Container Layout */
.assistant-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease;
  overflow: hidden; /* FIX: Prevents the oversized image boundaries from leaking past the circle corners */
}

/* Hover Scaling Effect */
.assistant-fab:hover { 
  transform: scale(1.1); 
}

/* Image Element Constraints */
.assistant-fab img { 
  width: 140%!important;       /* FIX: Scale past 100% to push the image's empty padding outside the bubble boundary */
  height: 140%!important;      /* FIX: Match height scale */
  object-fit: contain!important; /* Keeps aspect ratio perfectly locked */
}

/* ====================================
   PUBLIC COMPONENT: AI ASSISTANT LAYOUT
========================================================================== */

aside.assistant {
    position: fixed !important;
    right: 20px !important;
    bottom: 85px !important;
    height: 520px !important;
    width: 360px !important;
    max-width: calc(100vw - 40px) !important;
    border-radius: 12px !important;
    display: none !important; 
    flex-direction: column !important;
    z-index: 99999 !important;
    transform: translateY(40px) !important;
    opacity: 0 !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
    overflow: hidden !important; 
    box-sizing: border-box !important;
}

aside.assistant.open {
    display: flex !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

aside.assistant.close {
    transform: translateY(40px) !important;
    opacity: 0 !important;
}

/* Enforce structure on your system popup-header */
.popup-header.ai-header {
    padding: 50px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important; 
}

.ai-header-content {
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    width: 100% !important;
}

.ai-header-content .role-title {
    margin: 0 !important; 
    font-size: 1.05rem !important; 
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.ai-header-content .brand-tag {
    margin: 4px 0 0 0 !important; 
    font-size: 0.75rem !important;
}

.ai-header-content #appointly-ai-close {
    padding: 6px 10px !important; 
    font-size: 0.8rem !important; 
    border-radius: 6px !important;
    cursor: pointer !important;
    border: none !important;
    display: inline-block !important;
    visibility: visible !important;
}

.ai-content-wrapper {
    padding: 16px !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 12px !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.ai-public-chat-history {
    overflow-y: auto !important; 
    flex: 1 !important;
}


.ai-public-chat-history,
#chat-history {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    flex: 1 !important;
    gap: 10px !important;
}

/* User Message Bubble (WhatsApp Style) */
.chat-bubble.user-msg {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    text-align: right !important; /* Moves text to start from the right edge */
    border-radius: 12px 12px 2px 12px !important; /* Speech bubble corner shape */
    max-width: 82% !important;
    padding: 10px 14px !important;
    word-break: break-word !important;
}

/* Ensure the header label ("You") inside the user bubble stays aligned right */
.chat-bubble.user-msg strong,
.chat-bubble.user-msg .sender-name {
    display: block !important;
    text-align: right !important;
    font-size: 0.75rem !important;
    opacity: 0.8 !important;
    margin-bottom: 2px !important;
}

/* AI Message Bubble (Stays on the Left) */
.chat-bubble.ai-msg {
    align-self: flex-start !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    background-color: #2a2a2a !important;
    color: #e5e5e5 !important;
    text-align: left !important;
    border-radius: 12px 12px 12px 2px !important;
    max-width: 82% !important;
    padding: 10px 14px !important;
    word-break: break-word !important;
}

.chat-bubble.ai-msg strong {
    display: block !important;
    text-align: left !important;
    color: #d1d5db !important;
    margin-bottom: 4px !important;
}




.ai-public-chat-bubble span {
    font-size: 0.9rem !important;
}

.ai-input-area-wrapper {
    display: flex !important; 
    flex-direction: column !important; 
    gap: 6px !important;
    margin-top: auto !important;
}

.ai-input-area-wrapper .hint {
    font-size: 0.8rem !important; 
}

.ai-input-area-wrapper textarea {
    min-height: 70px !important; 
    max-height: 100px !important;
    padding: 10px !important; 
    border-radius: 8px !important; 
    resize: none !important; 
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ai-action-btn-row {
    display: flex !important; 
    gap: 10px !important; 
    margin-top: 4px !important;
}

.ai-action-btn-row button {
    flex: 1 !important;
    padding: 10px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

@media (max-width: 480px) {
    aside.assistant {
        right: 15px !important;
        left: 15px !important;
        bottom: 80px !important;
        width: auto !important;
        max-width: none !important;
        height: 80vh !important; 
    }
    
    .ai-content-wrapper {
      height: 80vh!important;
    }
}


/* ==========================================
   CHAT BUBBLE ALIGNMENT & STYLING
   ========================================== */

/* Shared Bubble Base Structure */
.ai-public-chat-bubble {
    padding: 10px 14px !important; 
    border-radius: 12px !important; 
    margin-bottom: 12px !important; 
    line-height: 1.4 !important;
    max-width: 82% !important;
    word-break: break-word !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.ai-public-chat-bubble span {
    font-size: 0.88rem !important;
}

.ai-public-chat-bubble strong {
    font-size: 0.75rem !important;
    margin-bottom: 3px !important;
    opacity: 0.75 !important;
}

/* 1. AI MESSAGE (Left Aligned) */
.ai-public-chat-bubble.ai-msg {
    align-self: flex-start !important;
    margin-right: auto !important;
    border-bottom-left-radius: 2px !important; /* Visual speech indicator */
}

/* 2. USER MESSAGE (Right Aligned + Blue Bubble) */
.ai-public-chat-bubble.user-msg {
    align-self: flex-end !important;
    margin-left: auto !important;
    background-color: #2563eb !important; /* Accent Blue bubble */
    color: #ffffff !important;
    border-bottom-right-radius: 2px !important; /* Visual speech indicator */
    text-align: right !important;
}

.ai-public-chat-bubble.user-msg strong {
    color: #ffffff !important;
}

/* Ensure Chat History acts as a Flex Container for Alignment */
.ai-public-chat-history {
    overflow-y: auto !important; 
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-right: 4px !important;
}


.ai-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ai-header-content .ai-close-btn {
    width: auto !important;
    min-width: unset !important;
    padding: 6px 14px !important;
    margin: 0 !important;
    flex-shrink: 0;
    align-self: flex-start;
}


/*
----------------------------------------
              TIME SLOT MODAL
-----------------------------------------
*/

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    padding-bottom: 50px!important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--lx-transition);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding-top: 45px!important;
    border-radius: 12px;
}

/* --- Universal Functional Styles --- */

/* Spinner Loader */
.loader-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 0.8s ease-in-out infinite;
}

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

/* Directly Booked Slot (Red tint) */
.time-slot-item.slot-booked {
    background-color: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #ef4444;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Duration Overlap Slot (Muted grey / striped look) */
.time-slot-item.slot-overlap {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed #444;
    color: #888;
    cursor: not-allowed;
    opacity: 0.5;
}




/*
----------------------------------------
              FORM FOR APPOINTMENT
-----------------------------------------
*/

#bookingModal .form-group {
    margin-bottom: 20px !important;
}

#bookingModal button {
  flex: 1!important;
}

#save-info {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

#save-info small {
  text-align: center!important;
 display: block!important;
 color: #aaa!important;
 margin-top: 20px!important;
 line-height: 1.3!important; 
}

/* Ensure the container of each upload section has a clear margin */
.settings-item {
    margin-bottom: 30px !important; /* Forces a gap between sections */
    padding-bottom: 0 !important;
}

/* Specifically target the upload zones to ensure they have internal breathing room */
.upload-dropzone {
    margin-top: 15px !important;
    padding: 20px !important; /* Adds room inside the dashed box */
}

/* Adjust the heading above the upload */
.settings-info h4 {
    margin-bottom: 10px !important;
    display: block;
}

.text-muted-small {
    font-size: 0.85em;
    line-height: 1.4;
    color: #aaa;
    margin-bottom: 20px !important; /* Increase this to push the box down */
}



.privacy-notice {
    margin-top: 15px !important;
    margin-bottom: 25px !important; /* Pushes the button down away from the text */
}


#bookingModal textarea {
    margin-top: 0px !important; 
    min-height: 80px; 
}

/* Base Styles (Desktop & General) */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

#bookingForm {
  margin-top: 15px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500; /* Slightly bolder for better readability */
    font-size: 0.95em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 14px; /* Increased padding for better touch targets */
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px; /* Softer, modern look */
    font-size: 16px; /* Essential to prevent iOS auto-zoom on focus */
}

.section-preview-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important; 
    margin-bottom: 20px !important;
}

.preview-img {
    /* max-width: 200px !important; */
    max-height: 200px !important;
    /* object-fit: cover !important; */
    border: 2px solid var(--lx-gold) !important;
    border-radius: 12px !important;
    width: 100%!important;
    height: 300px;
    object-fit: contain!important;
    background-color: #f8f8f8!important; /* Adds a neutral background if the image aspect ratio leaves empty space */
    border-radius: 8px!important;
}


/* Specific Mobile Overrides */
@media (max-width: 600px) {
    .modal-content {
        padding-bottom: 20px; /* More room around the form */
        width: 90%;
        max-height: 85vh; /* Ensure it stays within viewport */
        overflow-y: auto; /* Enable scroll if content is long */
    }

    .form-group {
        margin-bottom: 16px;
    }
}

/*
----------------------------------------
        LIMIT REACHED MESSAGE
----------------------------------------
*/

.appointly-limit-banner {
    display: block !important;
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
}

.limit-banner-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.limit-banner-content p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

@media (max-width: 600px) {
    .appointly-limit-banner {
        margin: 12px 0 !important;
        padding: 12px 14px !important;
    }

    .limit-banner-content p {
        line-height: 1.4 !important;
    }
}

@media (max-width: 600px) {
    .limit-banner-content p {
        font-size: 0.85rem;
    }
}


/*
----------------------------------------
              LOOK UP BOOKING
----------------------------------------
*/


/* Outer Result Wrapper */
.lx-lookup-result {
    margin-top: 24px !important;
    width: 100% !important;
}

/* Card Container */
.lx-result-card {
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: left !important;
    transition: var(--lx-transition) !important;
}

/* Header Title */
.lx-result-title {
    font-family: var(--lx-font-sans) !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
}

/* Details Flex List */
.lx-result-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.lx-detail-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lx-detail-label {
    font-family: var(--lx-font-sans) !important;
    font-size: 0.88rem !important;
}

.lx-detail-value {
    font-family: var(--lx-font-sans) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

/* Status Badges */
.lx-status-badge {
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-family: var(--lx-font-sans) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

/* Cancellation Area */
.lx-cancellation-area {
    margin-top: 18px !important;
    padding-top: 14px !important;
}

.lx-btn-cancel {
    width: 100% !important;
    padding: 11px !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--lx-font-sans) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: var(--lx-transition) !important;
}

.lx-cancel-notice {
    font-family: var(--lx-font-sans) !important;
    font-size: 0.83rem !important;
    line-height: 1.4 !important;
    margin-top: 8px !important;
    text-align: center !important;
}




/*
----------------------------------------
              FOOTER
----------------------------------------
*/

.lx-footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s ease;
}

.lx-footer-link:hover {
    opacity: .8;
    text-decoration: underline;
}

/*
----------------------------------------
              LOGO
-----------------------------------------
*/

.theme-nav-logo {
  height: 120px!important;
  width: 120px!important;
}







/* --- Desktop Layout Rules (Screens wider than 768px) --- */
@media (min-width: 769px) {
    /* Hide all mobile-specific elements cleanly so desktop navigation links have room */
    .theme-nav-title-container,
    .theme-nav-title,
  {
        display: none !important;
    }
}

/* --- Mobile Layout Rules (Screens 768px and smaller) --- */
@media (max-width: 768px) {
    /* Set parent container context for safe absolute centering */
    .lx-nav-container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    
    .lx-logo-link {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }

  /*
    .theme-nav-logo {
        display: block !important;
        height: 50px !important;
        width: 50px!important;
        width: auto !important;
        object-fit: contain !important;
    }
*/


    /* Anchor the text title context directly to the center of the nav bar */
    .theme-nav-title-container {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1005;
        pointer-events: none !important; /* Prevents text from blocking mobile menu taps */
    }

    .theme-nav-title {
        display: block !important;
        white-space: nowrap !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
    }
}

/* --- Small Mobile Optimization --- */
@media (max-width: 480px) {
    .theme-nav-title {
        font-size: 0.88rem !important;
    }
}

   
    
/*
----------------------------------------
              CUSTOM Input select
-----------------------------------------
*/

/* --- Global-Core.css --- */
.custom-file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px dashed; /* Color handled by Theme.css */
    border-radius: 12px;
    cursor: pointer;
    transition: var(--lx-transition);
    text-align: center;
    margin-bottom: 15px;
}

.hidden-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.upload-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.upload-icon-wrapper svg {
    width: 24px;
}

.upload-text-main {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.upload-text-sub {
    font-size: 0.8rem;
}

.file-count-badge {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: none;
}

/* ===================================================================
   PREV / NEXT BUTTONS - STRUCTURE & LAYOUT COMPONENT
========================================================================= */

#calendar .fc-prev-button,
#calendar .fc-next-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force visible text arrows inside the buttons */
#calendar .fc-prev-button::before,
#calendar .fc-prev-button .fc-icon::before {
    content: "‹" !important;
    font-size: 22px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

#calendar .fc-next-button::before,
#calendar .fc-next-button .fc-icon::before {
    content: "›" !important;
    font-size: 22px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}




/*
----------------------------------------
              BUTTONS
-----------------------------------------
*/
.table-blue-button,
.table-gray-button,
.table-red-button,
.table-green-button {
    flex: 1!important;
    padding: 15px 20px!important;
    border: none!important;
    border-radius: 12px!important;
    cursor: pointer;
    font-weight: 500!important;
    font-size: 0.8rem!important;
    transition: background-color .25s ease, transform .25s ease!important;
}

/* Blue */
.table-blue-button,
.blue-button {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
    font-size: 1rem;
}

.table-blue-button:hover,
.blue-button:hover {
    transform: translateY(-1px);
    background-color: var(--button-hover) !important;
}

/* Gray */
.table-gray-button,
.gray-button {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
    background-color: #e2e2e2;
    color: #333;
    font-size: 1rem;
}

.table-gray-button:hover,
.gray-button:hover {
    transform: translateY(-1px);
    background-color: #d5d5d5;
    color: #333;
}

/* Green */
.table-green-button,
.green-button {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
    background-color: #4caf50;
    color: var(--button-color);
    font-size: 1rem;
}

.table-green-button:hover,
.green-button:hover {
    transform: translateY(-1px);
    background-color: #43A047;
}

/* Red */
.table-red-button,
.red-button {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
    background-color: var(--color-danger-button-bg);
    color: var(--color-danger-button-text);
    font-size: 1rem;
}

.table-red-button:hover,
.red-button:hover {
    background-color: var(--color-danger-hover-bg);
}
/*
----------------------------------------
              EMPTY STATE
-----------------------------------------
*/

/* Global empty/error state styling */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed #cbd5e1; /* soft dashed border */
    border-radius: 12px;
    background-color: #f8fafc; /* light background */
    color: #64748b; /* muted text */
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    gap: 12px;
}

.empty-state img {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.empty-state strong {
    color: #0f172a; /* darker for emphasis */
    font-size: 18px;
}

/* Example hover or subtle animation (optional) */
.empty-state:hover {
    background-color: #f1f5f9;
}


/*
----------------------------------------
      ERROR MESSEAGE & SUCCESS
-----------------------------------------
*/
/* POPUP SUCCESS AND ERROR MESSAGE */
.success-message,
.error-message {
  position: fixed;
  top: 30px;        /* Positioned slightly from the top */
  left: 50%;        /* Move to the horizontal center */
  transform: translateX(-50%); /* Pull back by 50% of the element's width to center it */
  
  padding: 14px 22px;
  color: #fff;
  border-radius: 10px;
  z-index: 999999;
  display: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  /* Ensure the element doesn't exceed screen width on mobile */
  max-width: 90%; 
  animation: fadeInOut 4.4s ease forwards;
}

.success-message {
  background: #4CAF50; /* green */
}

.error-message {
  background: #f44336; /* red - Fixed: changed from color to background */
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translate(-50%, -10px); }
  10%  { opacity: 1; transform: translate(-50%, 0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -10px); }
}

/*
----------------------------------------
              SWITCH
-----------------------------------------
*/
.switch {
  position: relative;
  display: inline-block;
  /* width: 60px; */
  width: 100%;
  gap: 15px;
  height: 34px; 
  margin-top: var(--spacing-small);
  vertical-align: middle;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider (the background of the toggle) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: lightgray;
  -webkit-transition: .4s;
  transition: .4s;
  border: 1px solid var(--input-border-color); 
  box-shadow: inset -3px 17px 58px 1px rgba(0,0,0,0.1);
}

/* The "thumb" or circle on the slider */
.slider:before {
    position: absolute;
    content: "";
    width: 26px;
    height: 26px;
    left: 4px;
    top: 3px;
    background: var(--color-primary-bg);
    transition: left .4s;
}

input:checked + .slider {
  background-color: var(--color-success-button-bg);
  border-color: var(--color-success-button-bg);
}

.slider:before {
    width: 26px;
    height: 26px;
    left: 4px;
    bottom: 3px;
}

input:checked + .slider:before {
    left: calc(100% - 30px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 34px; /* Half of height for rounded edges */
}

.slider.round:before {
  border-radius: 50%; /* Make the thumb perfectly round */
}

/* Optional: Add a subtle shadow when focused */
input:focus + .slider {
  box-shadow: 0 0 1px var(--color-primary);
}


@media (max-width: 768px) {
    .lx-lookup-form {
        flex-direction: column;
        width: 100%;
    }

    .lx-lookup-input,
    .lx-btn-gold {
        width: 100%;
    }
}


/* Ensure Appointly default brand logo scales nicely when no custom logo is uploaded */
/* Fixed Rule for Appointly Default Logo *//*
img[src*="Appointly-logo.png"],
.default-brand-logo,
.theme-nav-logo {
    width: 100px !important;
    height: 100px !important;
    max-height: none !important;
    object-fit: contain !important;
    display: inline-block !important;

    margin-left: -15px !important;
}
*/


/* GLOBAL NAV LOGO */
/* Customer uploaded logos */
.brand-logo,
.theme-nav-logo {
    width: auto !important;
    height: 55px !important;
    max-height: 65px !important;
    max-width: 160px !important;
    object-fit: contain !important;
}

/* Default Avlyy branding */
.default-brand-logo {
     height: 80px !important;
    width: 85px !important;
    max-height: 95px !important;
    max-width: 220px !important; 
    object-fit: contain !important;
}