/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #213550;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Chatbox - Enhanced UI */
.chatbox {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 420px;
    max-height: 580px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

/* Smooth slide toggle class */
.chatbox.show {
    transform: translateY(0);
    opacity: 1;
}

/* Chatbox Header */
.chatbox .card-header {
    background: linear-gradient(135deg, #213550, #213550);
    color: white;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

/* Chatbox Body */
.chatbox .card-body {
    background-color: #f9fafc;
    padding: 16px;
    overflow-y: auto;
    max-height: 450px;
}

/* Chatbox Footer */
.chatbox .card-footer {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

/* Messages */
.bot-message,
.user-message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: inline-block;
    clear: both;
}

.bot-message {
    background-color: #e9ecef;
    color: #000;
    float: left;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: #213550;
    color: #fff;
    float: right;
    border-bottom-right-radius: 0;
}

/* Chat buttons */
.chat-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    clear: both;
}

.chat-btn-option {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 16px;
    transition: all .2s ease-in-out;
    color: black !important;
    font-weight: 600 !important;
}



.chat-btn-option:hover {
    background-color: #213550;
    color: white;
    border-color: #213550;
}

@media (max-width: 576px) {
    .chatbox {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 390px !important;
        max-height: 580px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        display: none;
        flex-direction: column;
        z-index: 9999;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease-in-out;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100%!important;
    }
}


