/* Chatbot Container Styles */
#chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

#chatbot-button img {
    width: 70%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Chatbot Widget Styles */
#chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 420px;
    background-color: #1a1a1a;
    border: 2px solid #ff0000;
    border-radius: 15px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Chatbot Header */
#chatbot-header {
    background-color: #000;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff0000;
}

#chatbot-header span {
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

#chatbot-close {
    font-size: 24px;
    transition: all 0.2s ease;
}

#chatbot-close:hover {
    color: #ff0000;
    transform: scale(1.2);
}

/* Chatbot Messages Area */
#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #0d0d0d;
}

#chatbot-messages div {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    line-height: 1.4;
    font-size: 14px;
    max-width: 80%;
}

#chatbot-messages div strong {
    color: #ff0000;
}

/* User message styling - add this class to user messages */
.user-message {
    background-color: #333;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0 !important;
}

/* Bot message styling - add this class to bot messages */
.bot-message {
    background-color: #262626;
    color: #eee;
    margin-right: auto;
    border-bottom-left-radius: 0 !important;
}

/* Chatbot Input Area */
#chatbot-input {
    display: flex;
    padding: 15px;
    background-color: #000;
    border-top: 2px solid #333;
}

#user-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background-color: #333;
    color: white;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

#user-input:focus {
    background-color: #444;
}

#send-button {
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 20px;
    margin-left: 10px;
    width: 100px;
    height: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#send-button:hover {
    background-color: #ff3333;
    transform: translateX(3px);
}

/* Scrollbar styling */
#chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

#chatbot-messages::-webkit-scrollbar-track {
    background: #0d0d0d;
}

#chatbot-messages::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 480px) {
    #chatbot-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    #chatbot-widget {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 80px;
        height: 60vh;
    }
}
/* Phone Link Styling */
.phone-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.phone-link:hover {
    background-color: rgba(255, 0, 0, 0.2);
    text-decoration: underline;
}

/* Enhanced bot message styling */
#chatbot-messages .bot-message {
    white-space: pre-line;
}

/* Quick Actions Styling */
.quick-actions {
    margin: 15px 0;
    padding: 0;
}

.quick-btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 3px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-btn:hover {
    background: linear-gradient(45deg, #cc0000, #aa0000);
    transform: scale(1.05);
}

/* Typing indicator animation */
#typing-indicator em {
    color: #999;
    animation: typing-dots 1.4s infinite;
}

@keyframes typing-dots {
    0%, 60% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Enhanced message styling */
.bot-message strong {
    color: #ff0000 !important;
}

.user-message strong {
    color: #ffd700 !important;
}

/* Link styling within messages */
.bot-message a {
    color: #4488ff;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(68, 136, 255, 0.1);
    transition: all 0.2s ease;
}

.bot-message a:hover {
    background: rgba(68, 136, 255, 0.2);
    text-decoration: underline;
}

/* Improved message spacing */
#chatbot-messages div + div {
    margin-top: 15px;
}

/* Status indicators */
.booking-status {
    background: #0f2a0f;
    border-left: 4px solid #00ff00;
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 13px;
}

.error-status {
    background: #2a0f0f;
    border-left: 4px solid #ff4444;
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    color: #ff8888;
}