

/* Chatbot Styles */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.chatbot-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chatbot-container {
    width: 100%;
    max-width: 450px;
    height: 700px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot-overlay.active .chatbot-container {
    transform: translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
}

.logo-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.chat-logo {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 2px solid var(--orange);
}

.chat-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.chat-header-info {
    flex: 1;
}

.chat-header-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.chat-header-info p {
    font-size: 13px;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    margin-right: 8px;
    display: inline-block;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--section-bg);
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bot-message {
    background-color: var(--card-bg);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    border: 1px solid #eaeaea;
}

.user-message {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.language-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--dark-blue);
}

.language-flag {
    font-size: 24px;
    margin-right: 12px;
}

.language-text {
    font-weight: 500;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--card-bg);
    border-radius: 18px;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    max-width: 70px;
    border: 1px solid #eaeaea;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    background-color: var(--card-bg);
    border-top: 1px solid #eee;
}

.quick-option {
    background-color: var(--section-bg);
    border: none;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-color);
    font-weight: 500;
}

.quick-option:hover {
    background-color: var(--dark-blue);
    color: white;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: var(--card-bg);
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--card-bg);
    color: var(--text-color);
}

.chat-input:focus {
    border-color: var(--dark-blue);
}

.send-button {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(7, 33, 124, 0.3);
}

/* Action Buttons in Chat */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.action-btn {
    background: var(--orange);
    color: var(--dark-blue);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
}
.chat-header-info h3{
    color: #ffffff !important;
}
