@font-face {
    font-family: 'Monda';
    src: url('../fonts/Monda.eot');
    src: url('../fonts/Monda.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Monda.woff') format('woff'),
         url('../fonts/Monda.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: #ab8a62;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.chatbot-box {
    position: fixed;
    bottom: 0;
    left: 20px;
    width: 360px;
    max-width: 95vw;
    background: #ffffff;
    border-radius: 18px 18px 18px 18px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    flex-direction: column;
    z-index: 9999;
    font-family: "Josefin Sans", sans-serif;
    padding-bottom: 1rem;

    /* ---------- Slide Animation ---------- */
    transform: translateY(100%);
    /* transition: transform 0.4s ease; */
    transition: transform 0.6s cubic-bezier(0.25, 1.25, 0.5, 1);
}

/* Slide up */
.chatbot-box.active {
    transform: translateY(0);
    margin-bottom: 2rem;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #272727;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
    text-align: center;
}

.chatbot-back {
    font-size: 20px;
    color: #555;
}

.chatbot-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* .chatbot-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1c5024;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
} */

.chatbot-logo img {
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
    width: 8rem;
    padding: 0.5rem;
}

.chatbot-title {
    font-size: 14px;
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: #777;
    font-size: 20px;
    cursor: pointer;
}

.chatbot-body {
    padding: 12px;
    background: #f5f5f5;
    max-height: 340px;
    overflow-y: auto;
}

.chatbot-message {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 13px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.chatbot-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chatbot-buttons button {
    border: 1px solid #ddd;
    background: #ffffff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.chatbot-buttons button:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.chatbot-footer {
    border-top: 1px solid #eee;
    padding: 8px 10px;
    background: #ffffff;
}

.chatbot-footer input {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 12px;
    color: #aaa;
    background: #f9f9f9;
}

/* Typing effect cursor (optional subtle) */
.typing-cursor::after {
    content: "|";
    display: inline-block;
    margin-left: 2px;
    animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    50.01%,
    100% {
        opacity: 0;
    }
}

/* Hide buttons until typing done */
#chatbot-buttons {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-buttons.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hotel-name {
    font-weight: 800;
    color: #1f8366;
    border-radius: 4px;
    display: inline-block;
    font-size: 1rem;
}

.urgent-number a {
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0 0 0;
    color: #c79f32;
}

/* loader css  */

.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}
.loader-spin {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

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