.chatbot-container {
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.chatbot-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.chatbot-header p {
    margin: 0;
    opacity: 0.9;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.bot-message .message-bubble {
    background: white;
    border: 1px solid #e1e8ed;
    margin-right: auto;
}

.user-message .message-bubble {
    background: #667eea;
    color: white;
    margin-left: auto;
}

.chat-input-container {
    padding: 20px;
    background: white;
    border-top: 1px solid #e1e8ed;
}

.input-group {
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

#user-input:focus {
    border-color: #667eea;
}

#send-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

#send-button:hover {
    background: #5a6fd8;
}

.loading {
    text-align: center;
    margin-top: 10px;
    color: #667eea;
    font-style: italic;
}

.search-results {
    background: white;
    border-top: 1px solid #e1e8ed;
}

.property-card {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #e1e8ed;
    cursor: pointer;
    transition: background 0.2s;
}

.property-card:hover {
    background: #f8f9fa;
}

.property-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.property-info {
    flex: 1;
}

.property-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.property-location {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.property-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-rating {
    color: #f39c12;
    font-weight: 600;
}

.property-price {
    font-size: 1.2em;
    font-weight: 600;
    color: #27ae60;
}

/* Modal Styles */
.property-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 2% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.property-detail-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.property-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-content {
    padding: 30px;
}

.property-detail-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.property-detail-location {
    color: #666;
    margin-bottom: 20px;
}

.property-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-stars {
    color: #f39c12;
    font-weight: 600;
}

.review-count {
    color: #666;
}

.property-detail-description {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.amenities-section, .rooms-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    background: #f0f2f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #333;
}

.room-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}

.room-name {
    font-weight: 500;
}

.room-price {
    font-weight: 600;
    color: #27ae60;
}

.booking-section {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e1e8ed;
}

.price-display {
    font-size: 2em;
    font-weight: 600;
    color: #27ae60;
    margin-bottom: 10px;
}

.price-note {
    color: #666;
    margin-bottom: 20px;
}

.book-now-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.book-now-btn:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .property-card {
        flex-direction: column;
    }
    
    .property-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .property-detail-content {
        padding: 20px;
    }
}