/* ===================================
   MAIN.CSS - Stylesheet chính cho trang chủ
   Hệ thống cho thuê nhà/phòng trọ
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ===================================
   1. VARIABLES - Biến CSS toàn cục
   =================================== */
:root {
    /* Màu chính */
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    /* Màu bổ sung */
    --purple-color: #6f42c1;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Font chữ */
    --font-family: 'Roboto', sans-serif;
    
    /* Khoảng cách */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    
    /* Bo góc */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    
    /* Bóng đổ */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transition */
    --transition: all 0.3s ease;
}

/* ===================================
   2. RESET & GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Loại bỏ outline khi focus */
a:focus,
button:focus,
input:focus {
    outline: none;
}

/* Style cho links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

/* Style cho images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   3. HEADER & NAVIGATION
   =================================== */
.header {
    background: #fff;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

/* Hiệu ứng underline cho nav-link */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===================================
   3.1 ICON BUTTONS IN NAVBAR - Nút biểu tượng
   =================================== */
.btn-icon-navbar {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.btn-icon-navbar:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.btn-icon-navbar i {
    transition: var(--transition);
}

/* Badge cho thông báo */
.badge-notification {
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
    min-width: 1.2rem;
    text-align: center;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: dropdownSlide 0.2s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.7rem 1rem;
    transition: var(--transition);
    color: var(--dark-color);
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-item i {
    width: 1.2rem;
    color: var(--primary-color);
}

/* Avatar styling */
.rounded-circle {
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

/* ===================================
   4. HERO SECTION - Banner chính
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

/* Overlay mờ cho hero */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Chiều cao tối thiểu 75% viewport */
.min-vh-75 {
    min-height: 75vh;
}

/* Box tìm kiếm */
.search-box {
    max-width: 900px;
    margin: 0 auto;
}

/* Custom style cho select và input */
.search-box .form-select,
.search-box .form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.search-box .form-select:focus,
.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ===================================
   5. ANIMATIONS - Hiệu ứng chuyển động
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Áp dụng animation */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.5s both;
}

/* ===================================
   6. FEATURES SECTION - Phần tính năng
   =================================== */
.features-section {
    background: #fff;
}

/* Card tính năng */
.feature-card {
    transition: var(--transition);
    border: 1px solid #e9ecef !important;
}

/* Hiệu ứng hover nâng lên */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

/* Icon tính năng */
.feature-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   7. PROPERTY CARDS - Card phòng trọ
   =================================== */
.property-card {
    transition: var(--transition);
    overflow: hidden;
}

.property-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

/* Hiệu ứng zoom ảnh khi hover */
.property-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Badge trên ảnh */
.property-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
}

/* Style cho giá */
.property-card .fs-5 {
    font-size: 1.5rem !important;
}

/* ===================================
   8. STATISTICS SECTION - Phần thống kê
   =================================== */
.stats-section {
    background: var(--gradient-primary);
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* ===================================
   9. TESTIMONIALS - Đánh giá khách hàng
   =================================== */
.testimonial-card {
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

/* Placeholder cho ảnh user */
.testimonial-card img {
    object-fit: cover;
    border: 3px solid var(--light-color);
}

/* ===================================
   10. CTA SECTION - Kêu gọi hành động
   =================================== */
.cta-section {
    background: var(--gradient-secondary);
    color: #fff;
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* ===================================
   11. FOOTER - Chân trang
   =================================== */
.footer {
    background: var(--dark-color);
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

/* Social links */
.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* ===================================
   12. FLOATING BUTTONS - Nút nổi
   =================================== */
.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

/* Nút scroll to top */
.btn-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-scroll-top.show {
    display: flex;
}

.btn-scroll-top:hover {
    transform: translateY(-5px);
}

/* ===================================
   13. UTILITY CLASSES - Class tiện ích
   =================================== */

/* Màu tím tùy chỉnh */
.text-purple {
    color: var(--purple-color) !important;
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

/* Gradient text */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Box shadow tùy chỉnh */
.shadow-primary {
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3) !important;
}

/* ===================================
   14. RESPONSIVE - Responsive design
   =================================== */

/* Tablet và nhỏ hơn */
@media (max-width: 768px) {
    /* Hero section */
    .hero-section {
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
    }
    
    /* Search box */
    .search-box {
        padding: 1.5rem !important;
    }
    
    /* Stats */
    .stat-item h2 {
        font-size: 2rem;
    }
    
    /* Floating buttons */
    .btn-floating {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-scroll-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 20px;
    }
    
    /* Property card */
    .property-card .card-img-top {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem !important;
    }
    
    /* Search form - chuyển sang dạng dọc */
    .search-box .col-md-3 {
        margin-bottom: 0.5rem;
    }
    
    /* Feature cards */
    .feature-icon {
        height: 60px;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
}

/* ===================================
   15. PRINT STYLES - Style cho in ấn
   =================================== */
@media print {
    .header,
    .btn-floating,
    .btn-scroll-top,
    .search-box {
        display: none !important;
    }
}

/* ===================================
   16. LOADING STATES - Trạng thái loading
   =================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   17. SCROLLBAR CUSTOM - Thanh cuộn tùy chỉnh
   =================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* ===================================
   18. ACCESSIBILITY - Hỗ trợ truy cập
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible cho keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   19. NEARBY SEARCH - Tìm phòng gần tôi
   =================================== */

/* Custom marker styles */
.property-marker {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.property-marker:hover {
    transform: scale(1.15);
    z-index: 1000 !important;
}

.property-marker:hover .marker-price {
    transform: translateY(-2px);
}

.marker-price {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    border: 2px solid white;
    position: relative;
    transition: transform 0.2s ease;
}

.marker-price::before {
    content: '🏠';
    margin-right: 4px;
    font-size: 14px;
}

.marker-price::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1d4ed8;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

/* University marker styles - Kích thước chuẩn Google Maps */
.university-marker {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.95);
    animation: pulse-university 2s infinite;
    border: 2px solid white;
    position: relative;
    z-index: 1000 !important;
}

.university-marker::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.university-marker i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    font-weight: 600 !important;
}

@keyframes pulse-university {
    0% {
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.95);
    }
    50% {
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 5px rgba(220, 38, 38, 0.15);
    }
    100% {
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.95);
    }
}

/* Property Location Marker - Icon Pin chuẩn Google Maps */
.property-location-marker {
    position: relative;
    width: 28px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.property-location-marker i {
    font-size: 28px;
    color: #2563eb;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.4));
    transition: all 0.3s ease;
}

.property-location-marker:hover i {
    font-size: 32px;
    color: #1d4ed8;
    filter: drop-shadow(0 3px 6px rgba(37, 99, 235, 0.6));
    transform: translateY(-2px);
}

/* Property popup styles */
.property-popup {
    padding: 16px;
    min-width: 280px;
    max-width: 320px;
    background: white;
}

.property-popup h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2563eb;
    line-height: 1.4;
}

.property-popup .space-y-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-popup .space-y-1 p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.property-popup .space-y-1 i {
    flex-shrink: 0;
    width: 16px;
    margin-right: 8px;
    margin-top: 2px;
}

.property-popup a {
    margin-top: 12px !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.property-popup a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Goong Maps Popup Styles */
.mapboxgl-popup-content {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    min-width: 280px !important;
}

.mapboxgl-popup-close-button {
    font-size: 20px !important;
    padding: 8px !important;
    color: #666 !important;
    right: 4px !important;
    top: 4px !important;
}

.mapboxgl-popup-close-button:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
}

.mapboxgl-popup-tip {
    border-top-color: white !important;
}

/* Custom popup styles */
.leaflet-popup-content-wrapper {
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.leaflet-popup-content {
    margin: 0;
    width: 100% !important;
}

.leaflet-popup-tip {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}

.custom-popup .leaflet-popup-content-wrapper {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Custom div icon fix for stable positioning */
.custom-div-icon {
    background: transparent !important;
    border: none !important;
}

/* Leaflet control zoom buttons */
.leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 20px !important;
    font-weight: bold !important;
}

/* User location marker pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.user-location-marker div {
    animation: pulse 2s infinite;
}

/* Scrollbar styles for properties list */
#nearbyPropertiesList::-webkit-scrollbar {
    width: 6px;
}

#nearbyPropertiesList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#nearbyPropertiesList::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#nearbyPropertiesList::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Modal animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#nearbyModal {
    animation: modalFadeIn 0.3s ease-out;
}

/* ===================================
   AI SEARCH IN HEADER
   =================================== */
.ai-search-wrapper {
    max-width: 600px;
}

.ai-search-input {
    padding: 0.75rem 140px 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.ai-search-input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ai-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-search-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-50%) scale(1.05);
}

.voice-search-btn {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-search-btn:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.voice-search-btn.listening {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.1);
    }
}

.lang-indicator {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #7f8c8d;
    pointer-events: none;
}

/* Mobile AI Search */
.ai-search-wrapper-mobile .ai-search-input {
    padding-right: 100px;
}

.ai-search-wrapper-mobile .ai-search-btn {
    right: 5px;
    padding: 0.4rem 0.8rem;
}

.ai-search-wrapper-mobile .voice-search-btn {
    right: 75px;
    padding: 0.4rem 0.6rem;
}

/* NLP Search Results Modal */
.nlp-results-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    overflow-y: auto;
}

.nlp-results-modal.active {
    display: flex;
}

.nlp-results-content {
    background: white;
    border-radius: 12px;
    max-width: 1200px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nlp-results-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.nlp-results-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0.5rem;
    line-height: 1;
}

.nlp-results-close:hover {
    color: #e74c3c;
}

.nlp-results-body {
    padding: 1.5rem;
}

/* Loading spinner for NLP search */
.nlp-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 991px) {
    .lang-indicator {
        display: none;
    }
}

/* ===================================
   END OF STYLESHEET
   =================================== */
