/* /Views/Partials/_ChatWidget.cshtml.rz.scp.css */
/* Root chat container */
#chat-widget[b-in0bmzmyro] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: rgb(58,215,83,1);
    border-radius: 50%;
    border: 1px solid rgb(58,215,83,1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    overflow: hidden;
    z-index: 9999;
    transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, background 0.35s ease;
}

    #chat-widget .chat-header[b-in0bmzmyro] {
        display: flex;
        padding: 10px 14px;
        align-items: center;
        justify-content: space-between;
    }

        #chat-widget .chat-header .chat-close[b-in0bmzmyro] {
            border: none;
            padding: 0;
            background: none;
            font-size: 1.5rem
        }
    /* Open state */
    #chat-widget.open[b-in0bmzmyro] {
        width: 360px;
        height: 520px;
        background: #ffffff;
        border-radius: 14px;
        cursor: default;
    }

    /* Chat icon (closed state) */
    #chat-widget[b-in0bmzmyro]::before {
        content: "💬";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: #ffffff;
        transition: all 0.2s ease;
        background-size: 200% 100%;
        background-image: linear-gradient(to left, rgba(13, 184, 44, 1) 50%, rgb(58, 215, 83, 1) 50%);
        transition: background-position 0.6s;
    }

    #chat-widget:hover[b-in0bmzmyro]::before {
        background-position: -100% 0;
    }
    /* Hide icon when open */
    #chat-widget.open[b-in0bmzmyro]::before {
        opacity: 0;
        pointer-events: none;
    }

.chat-header[b-in0bmzmyro] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-actions[b-in0bmzmyro] {
    display: flex;
    gap: 8px;
}


/* Chat messages container */
#chat-messages[b-in0bmzmyro] {
    display: none;
    height: calc(100% - 174px);
    padding: 14px;
    overflow-y: auto;
    background: #f9f9f9;
}

/* Show content when open */
#chat-widget.open #chat-messages[b-in0bmzmyro] {
    display: block;
}

/* Chat bubbles */
.chat-bubble[b-in0bmzmyro] {
    max-width: 90%;
    padding: 10px 14px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 14px;
    word-wrap: break-word;
}

    /* User message */
    .chat-bubble.user[b-in0bmzmyro] {
        margin-left: auto;
        background: #007aff;
        color: #ffffff;
        border-bottom-right-radius: 4px;
    }

    /* Assistant message */
    .chat-bubble.assistant[b-in0bmzmyro] {
        margin-right: auto;
        background: #eaeaea;
        color: #000000;
        border-bottom-left-radius: 4px;
        white-space: pre-wrap;
    }

/* Input area */
.chat-input[b-in0bmzmyro] {
    display: none;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #ffffff;
    gap: 8px;
    margin-bottom: 5px;
}

/* Show input when open */
#chat-widget.open .chat-input[b-in0bmzmyro] {
    display: flex;
}

/* Input field */
.chat-input input[b-in0bmzmyro] {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    margin-bottom: 5px;
}

    .chat-input input:focus[b-in0bmzmyro] {
        border-color: #007aff;
    }

/* Send button */
.chat-input button[b-in0bmzmyro] {
    padding: 10px 14px;
    background: rgb(58,215,83,1);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 5px;
}

    .chat-input button:hover[b-in0bmzmyro] {
        background: rgba(13, 184, 44, 1);
    }

#voice-btn[b-in0bmzmyro] {
    padding: 10px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #000000;
}

    #voice-btn.listening[b-in0bmzmyro] {
        background: #ffebeb;
        border-color: #ff4d4d;
    }

.icon[b-in0bmzmyro] {
    flex-grow: 0;
    flex-shrink: 0;
}

.composer-btn[b-in0bmzmyro] {
    z-index: 0;
    border-radius: 3.40282e38px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
}

/* Disclaimer */
.chat-disclaimer[b-in0bmzmyro] {
    display: none;
    padding: 8px 10px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eee;
    background: #fafafa;
}

/* Show disclaimer when open */
#chat-widget.open .chat-disclaimer[b-in0bmzmyro] {
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    #chat-widget.open[b-in0bmzmyro] {
        width: calc(100vw - 40px);
        height: 70vh;
        right: 20px;
        left: 20px;
    }
}

/* ================================
   Chat Actions (Header Buttons)
================================ */

.chat-action[b-in0bmzmyro],
.chat-close[b-in0bmzmyro] {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

/* SVG icon sizing */
.chat-icon[b-in0bmzmyro] {
    width: 18px;
    height: 18px;
    pointer-events: none;
    color: rgba(0,0,0,0.9);
}

/* Hover / focus polish */
.chat-action:hover[b-in0bmzmyro],
.chat-action:focus-visible[b-in0bmzmyro],
.chat-close:hover[b-in0bmzmyro],
.chat-close:focus-visible[b-in0bmzmyro] {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transform: scale(1.05);
    outline: none;
}

/* Active click feedback */
.chat-action:active[b-in0bmzmyro],
.chat-close:active[b-in0bmzmyro] {
    transform: scale(0.95);
}

/* ================================
   Tooltip
================================ */

.chat-action[b-in0bmzmyro]::after,
.chat-close[b-in0bmzmyro]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -36px;
    right: 0;
    background: #222;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}

.chat-action:hover[b-in0bmzmyro]::after,
.chat-action:focus-visible[b-in0bmzmyro]::after,
.chat-close:hover[b-in0bmzmyro]::after,
.chat-close:focus-visible[b-in0bmzmyro]::after {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Visibility States
================================ */

.chat-action.hidden[b-in0bmzmyro] {
    display: none;
}

.chat-action.reveal[b-in0bmzmyro] {
    display: inline-flex;
    animation: popIn-b-in0bmzmyro 0.35s ease-out forwards;
}

/* ================================
   Animation
================================ */

@keyframes popIn-b-in0bmzmyro {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 0.75;
        transform: scale(1);
    }
}


#chat-toast[b-in0bmzmyro] {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #2b2b2b;
    color: #fff;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    z-index: 10;
}

    #chat-toast.show[b-in0bmzmyro] {
        opacity: 1;
        transform: translateX(-50%) translateY(-6px);
    }


.toast[b-in0bmzmyro] {
    position: absolute;
    bottom: 72px; /* sits above input */
    left: 12px;
    right: 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 20;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .toast p[b-in0bmzmyro] {
        margin: 0 0 10px;
        font-weight: 500;
    }

.toast-actions[b-in0bmzmyro] {
    display: flex;
    gap: 8px;
}

    .toast-actions button[b-in0bmzmyro] {
        flex: 1;
        border-radius: 8px;
        padding: 8px 10px;
        font-size: 13px;
        cursor: pointer;
        border: none;
    }

#confirm-btn[b-in0bmzmyro] {
    background: #2e7d32;
    color: #fff;
}

#edit-btn[b-in0bmzmyro] {
    background: #f3f3f3;
    color: #333;
}

.toast.visible[b-in0bmzmyro] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.hidden[b-in0bmzmyro] {
    display: none;
}

@media (max-width: 768px) {
    .toast[b-in0bmzmyro] {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

/* Search Page Enhancements
----------------------------*/

.search-bar[b-in0bmzmyro] {
    display: flex;
    align-items: stretch;
    width: 100%;
    /*max-width: 900px;*/
}

.txt-search[b-in0bmzmyro] {
    flex: 1;
    border-radius: 6px 0 0 6px;
}

.search-bar .btn[b-in0bmzmyro] {
    border-radius: 0;
    padding: 0 18px;
    font-weight: 500;
}

.btn-search[b-in0bmzmyro] {
    border-left: 0;
    margin-bottom: 15px;
    background-size: 200% 100%;
    background-image: linear-gradient(to left, rgba(13, 184, 44, 1) 50%, rgb(58, 215, 83, 1) 50%);
    transition: background-position 0.6s;
}

    .btn-search:hover[b-in0bmzmyro] {
        background-position: -100% 0;
    }

.btn-ai[b-in0bmzmyro] {
    border-radius: 0 6px 6px 0;
    color: #fff;
    margin-bottom: 15px;
    background-size: 200% 100%;
    background-image: linear-gradient(to left, #333333 50%, #111111 50%);
    transition: background-position 0.6s;
}

    .btn-ai:hover[b-in0bmzmyro] {
        background-position: -100% 0;
        color: #fff;
    }

.search-bar .btn[b-in0bmzmyro] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-bar .icon[b-in0bmzmyro] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-bar .btn-ai .icon[b-in0bmzmyro] {
    stroke-width: 2.2;
    fill: rgba(13,184,44,1);
}

.search-bar .btn-ai:hover .icon-wand[b-in0bmzmyro] {
    transform: rotate(-8deg) scale(1.05);
    transition: transform 0.2s ease;
}

.ai-results[b-in0bmzmyro] {
    margin-top: 20px;
    margin-bottom: 1rem;
    padding: 16px;
    border-radius: 8px;
    background: #f8f9fa;
}

.ai-header[b-in0bmzmyro] {
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-results .ai-content .ai-action[b-in0bmzmyro] {
    padding: 6px;
}

#ai-appointment-toast.toast[b-in0bmzmyro] {
    position: relative;
    bottom: unset;
    left: unset;
    right: unset;
}
/* /Views/Partials/_OpeningHoursWidget.cshtml.rz.scp.css */
/* ================================================
   BIGGI HERBAL CLINIC - OPENING HOURS
================================================ */
.bhc-opening-hours[b-oo3njstf9s] {
    --bhc-green: #00b83f;
    --bhc-green-dark: #008f32;
    --bhc-green-light: #eaf8ed;
    --bhc-border: #9cdbaf;
    --bhc-yellow: #ffe333;
    --bhc-text: #252525;
    width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    padding: 16px 14px 12px;
    background: linear-gradient( 110deg, #f1faf2 0%, #e8f7eb 100% );
    border: 1px solid var(--bhc-green);
    border-radius: 7px;
    font-family: inherit;
    color: var(--bhc-text);
}

.bhc-opening-hours *[b-oo3njstf9s],
.bhc-opening-hours *[b-oo3njstf9s]::before,
.bhc-opening-hours *[b-oo3njstf9s]::after {
    box-sizing: border-box;
}


/* ================================================
   HEADER
================================================ */

.bhc-opening-hours__header[b-oo3njstf9s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 5px;
}

.bhc-opening-hours__heading[b-oo3njstf9s] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bhc-opening-hours__icon[b-oo3njstf9s] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--bhc-green);
}

    .bhc-opening-hours__icon svg[b-oo3njstf9s] {
        display: block;
        width: 100%;
        height: 100%;
    }

.bhc-opening-hours__divider[b-oo3njstf9s] {
    width: 2px;
    height: 34px;
    background: var(--bhc-green-dark);
}

.bhc-opening-hours__heading h2[b-oo3njstf9s] {
    margin: 0;
    padding: 0;
    color: var(--bhc-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}


/* ================================================
   LIVE STATUS
================================================ */

.bhc-opening-hours__status[b-oo3njstf9s] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    color: var(--bhc-green-dark);
}

.bhc-opening-hours__status-content[b-oo3njstf9s] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bhc-opening-hours__status-label[b-oo3njstf9s] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.bhc-opening-hours__status-detail[b-oo3njstf9s] {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}


/* Status indicator */

.bhc-opening-hours__status-indicator[b-oo3njstf9s] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.bhc-opening-hours__status-dot[b-oo3njstf9s] {
    position: relative;
    z-index: 1;
    width: 9px;
    height: 9px;
    background: var(--bhc-green);
    border: 1px solid #fff;
    border-radius: 50%;
}

.bhc-opening-hours__status-pulse[b-oo3njstf9s] {
    position: absolute;
    inset: 0;
    background: var(--bhc-green);
    border-radius: 50%;
    opacity: 0.65;
    animation: bhc-status-pulse-b-oo3njstf9s 2s ease-out infinite;
}


/* Open state */

.bhc-opening-hours__status[data-state="open"]
.bhc-opening-hours__status-dot[b-oo3njstf9s] {
    background: var(--bhc-green);
}

.bhc-opening-hours__status[data-state="open"]
.bhc-opening-hours__status-pulse[b-oo3njstf9s] {
    display: block;
}


/* Closed state */

.bhc-opening-hours__status[data-state="closed"][b-oo3njstf9s] {
    color: #777;
}

    .bhc-opening-hours__status[data-state="closed"]
    .bhc-opening-hours__status-dot[b-oo3njstf9s] {
        background: #888;
    }

    .bhc-opening-hours__status[data-state="closed"]
    .bhc-opening-hours__status-pulse[b-oo3njstf9s] {
        display: none;
    }


/* Checking state */

.bhc-opening-hours__status[data-state="checking"]
.bhc-opening-hours__status-pulse[b-oo3njstf9s] {
    display: none;
}


/* Pulse animation */

@keyframes bhc-status-pulse-b-oo3njstf9s {

    0% {
        transform: scale(0.7);
        opacity: 0.7;
    }

    70% {
        transform: scale(2.8);
        opacity: 0.15;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}


/* ================================================
   WEEKLY SCHEDULE
================================================ */

.bhc-opening-hours__grid[b-oo3njstf9s] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.bhc-opening-hours__day[b-oo3njstf9s] {
    min-width: 0;
    text-align: center;
}


/* Day heading */

.bhc-opening-hours__day-name[b-oo3njstf9s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 53px;
    padding: 5px 3px;
    background: var(--bhc-green);
    color: #fff;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}


/* Special clinic day notice */

.bhc-opening-hours__special[b-oo3njstf9s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    max-width: 100%;
    padding: 2px 6px;
    background: var(--bhc-yellow);
    color: #333;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.bhc-opening-hours__special-icon[b-oo3njstf9s] {
    font-size: 9px;
    line-height: 1;
}


/* Opening times */

.bhc-opening-hours__time[b-oo3njstf9s] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 5px 3px;
    background: #fff;
    border: 1px solid #d5e4d8;
    border-top: none;
    border-radius: 0 0 3px 3px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}


/* Footer note */

.bhc-opening-hours__footer[b-oo3njstf9s] {
    margin: 10px 2px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}


/* ================================================
   TABLET
================================================ */

@media (max-width: 992px) {

    .bhc-opening-hours__grid[b-oo3njstf9s] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .bhc-opening-hours__time[b-oo3njstf9s] {
        font-size: 12px;
    }
}


/* ================================================
   MOBILE
================================================ */

@media (max-width: 767px) {

    .bhc-opening-hours[b-oo3njstf9s] {
        margin: 20px 0;
        padding: 13px 10px 11px;
    }

    .bhc-opening-hours__header[b-oo3njstf9s] {
        margin-bottom: 12px;
        gap: 10px;
    }

    .bhc-opening-hours__heading[b-oo3njstf9s] {
        gap: 10px;
    }

    .bhc-opening-hours__icon[b-oo3njstf9s] {
        width: 34px;
        height: 34px;
    }

    .bhc-opening-hours__divider[b-oo3njstf9s] {
        height: 28px;
    }

    .bhc-opening-hours__heading h2[b-oo3njstf9s] {
        font-size: 19px;
    }

    .bhc-opening-hours__grid[b-oo3njstf9s] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bhc-opening-hours__day-name[b-oo3njstf9s] {
        min-height: 52px;
        font-size: 13px;
    }

    .bhc-opening-hours__time[b-oo3njstf9s] {
        min-height: 36px;
        font-size: 11px;
    }
}


/* ================================================
   SMALL MOBILE
================================================ */

@media (max-width: 399px) {

    .bhc-opening-hours[b-oo3njstf9s] {
        padding: 11px 8px;
    }

    .bhc-opening-hours__header[b-oo3njstf9s] {
        padding: 0 2px;
    }

    .bhc-opening-hours__heading[b-oo3njstf9s] {
        gap: 8px;
    }

    .bhc-opening-hours__icon[b-oo3njstf9s] {
        width: 29px;
        height: 29px;
    }

    .bhc-opening-hours__divider[b-oo3njstf9s] {
        height: 25px;
    }

    .bhc-opening-hours__heading h2[b-oo3njstf9s] {
        font-size: 17px;
    }

    .bhc-opening-hours__status-label[b-oo3njstf9s] {
        font-size: 12px;
    }

    .bhc-opening-hours__status-detail[b-oo3njstf9s] {
        font-size: 9px;
    }

    .bhc-opening-hours__grid[b-oo3njstf9s] {
        gap: 5px;
    }

    .bhc-opening-hours__day-name[b-oo3njstf9s] {
        font-size: 12px;
        padding: 5px 2px;
    }

    .bhc-opening-hours__special[b-oo3njstf9s] {
        font-size: 8px;
        padding: 2px 4px;
    }

    .bhc-opening-hours__time[b-oo3njstf9s] {
        font-size: 10px;
        padding: 5px 1px;
        white-space: normal;
    }
}


/* ================================================
   ACCESSIBILITY
================================================ */

@media (prefers-reduced-motion: reduce) {

    .bhc-opening-hours__status-pulse[b-oo3njstf9s] {
        animation: none;
        opacity: 0;
    }
}
