/* Modern Chatbot Styles - Matching the provided UI design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #54595F 0%, #3a3e45 50%, #EEFB13 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chat-container {
    width: 100%;
    max-width: 400px;
    height: 80vh;
    max-height: 700px;
    background: #54595F;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 2px #EEFB13;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #54595F 0%, #3a3e45 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #EEFB13;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #000000;
    border: 2px solid #EEFB13;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    padding: 2px;
}

.logo-img {
    filter: drop-shadow(0 2px 4px rgba(238, 251, 19, 0.3));
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EEFB13 0%, #c5d411 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54595F;
    font-size: 18px;
}

.header-text h3 {
    color: #EEFB13;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.timestamp {
    color: #EEFB13;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #54595F;
    border-radius: 50%;
    color: #EEFB13;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #3a3e45;
    color: #EEFB13;
    transform: scale(1.05);
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #48484a;
    border-radius: 2px;
}

.message {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #000000;
    border: 2px solid #EEFB13;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    padding: 2px;
}

.message-content {
    max-width: 80%;
    position: relative;
}

.message.bot .message-content {
    background: #3a3e45;
    color: #EEFB13;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #EEFB13;
}

.message.user .message-content {
    background: linear-gradient(135deg, #EEFB13 0%, #c5d411 100%);
    color: #54595F;
    padding: 12px 16px;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #54595F;
}

.message-text {
    line-height: 1.4;
    font-size: 14px;
    word-wrap: break-word;
}

.message-time {
    color: #8e8e93;
    font-size: 11px;
    margin-top: 4px;
    text-align: right;
}

.message.bot .message-time {
    text-align: left;
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-reply-btn {
    background: #3a3e45;
    color: #EEFB13;
    border: 1px solid #EEFB13;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-reply-btn:hover {
    background: #EEFB13;
    color: #54595F;
    border-color: #EEFB13;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(238, 251, 19, 0.3);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 10px;
}

.typing-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #000000;
    border: 2px solid #EEFB13;
}

.typing-text {
    background: #3a3e45;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    border: 1px solid #EEFB13;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #EEFB13;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Chat Input */
.chat-input-container {
    padding: 15px 20px 20px;
    background: #3a3e45;
    border-top: 2px solid #EEFB13;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #54595F;
    border-radius: 25px;
    padding: 8px;
    border: 1px solid #EEFB13;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: #EEFB13;
    font-size: 14px;
    outline: none;
}

.chat-input input::placeholder {
    color: #EEFB13;
    opacity: 0.7;
}

.send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #EEFB13 0%, #c5d411 100%);
    border: none;
    border-radius: 50%;
    color: #54595F;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(238, 251, 19, 0.4);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal {
    background: #2c2c2e;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-small {
    max-width: 400px;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #3a3a3c;
    border-radius: 50%;
    color: #8e8e93;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #48484a;
    color: #ffffff;
}

.modal-content {
    padding: 20px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #3a3a3c;
    border: 1px solid #48484a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8e8e93;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Button Styles */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #EEFB13 0%, #c5d411 100%);
    color: #54595F;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 251, 19, 0.4);
}

.btn-secondary {
    background: #54595F;
    color: #EEFB13;
    border: 1px solid #EEFB13;
}

.btn-secondary:hover {
    background: #3a3e45;
    color: #EEFB13;
}

.btn-outline {
    background: transparent;
    color: #EEFB13;
    border: 1px solid #EEFB13;
}

.btn-outline:hover {
    background: #EEFB13;
    color: #54595F;
}

/* Exit Options */
.exit-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.exit-options .btn {
    justify-content: center;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #34c759;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    animation: toastSlideIn 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .chat-container {
        height: 95vh;
        border-radius: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .exit-options .btn {
        width: 100%;
    }
}

/* Special Message Types */
.message-content.highlight {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border: 1px solid #667eea40;
}

.message-content.success {
    background: #34c75920;
    border: 1px solid #34c75940;
    color: #34c759;
}

.message-content.warning {
    background: #ff990020;
    border: 1px solid #ff990040;
    color: #ff9900;
}

/* Booking Form Specific Styles */
.path-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.path-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 14px;
}

.path-info i {
    color: #007bff;
}

.scheduling-section {
    margin: 20px 0;
}

.venue-info {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #155724;
    font-weight: 500;
}

.venue-info i {
    color: #28a745;
}

#booking-date-legacy {
    cursor: pointer;
}

#booking-time-legacy {
    cursor: pointer;
}

#booking-month, #booking-day, #booking-time-new {
    cursor: pointer;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .send-btn {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pricing Information Styles - REMOVED PER USER REQUEST */
/*
.pricing-info-section {
    margin: 15px 0;
    padding: 15px;
    background: rgba(238, 251, 19, 0.1);
    border: 1px solid #EEFB13;
    border-radius: 10px;
}

.pricing-header h3 {
    color: #EEFB13;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.pricing-header p {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

.pricing-plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-plan {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 251, 19, 0.3);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.pricing-plan:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #EEFB13;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-header h4 {
    color: #EEFB13;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.plan-price {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    background: rgba(238, 251, 19, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.plan-details {
    font-size: 12px;
    color: #ffffff;
    opacity: 0.9;
}

.plan-details p {
    margin: 4px 0;
    line-height: 1.4;
}

.plan-details strong {
    color: #EEFB13;
}
*/