/* Main application styles */

/* Dropdown menu styles - Less transparent for better readability */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
}

.dropdown-item {
    color: #374151 !important;
    font-weight: 500 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(64, 64, 64, 0.1) !important;
    color: #404040 !important;
}

/* Base responsive styles */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-size: 16px;
}

p {
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.75rem;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
}

/* Logo responsive styles - Consistent sizing across all devices */
.responsive-logo {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Desktop and large screens */
@media (min-width: 992px) {
    .responsive-logo {
        font-size: 2.25rem;
    }
}

/* Tablet screens */
@media (max-width: 991.98px) and (min-width: 768px) {
    .responsive-logo {
        font-size: 2.1rem;
    }
}

/* Mobile screens - Increased from 1.4rem to maintain better visibility */
@media (max-width: 767.98px) {
    .responsive-logo {
        font-size: 1.9rem;
    }
}

/* Small mobile screens - Increased from 1.2rem for better readability */
@media (max-width: 575.98px) {
    .responsive-logo {
        font-size: 1.7rem;
    }
}

.navbar-brand:not(.responsive-logo) {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: #404040;
}

.navbar-brand img {
    height: 75px !important;
    max-height: 75px !important;
    max-width: 420px !important;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 60px !important;
        max-height: 60px !important;
        max-width: 360px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 52px !important;
        max-height: 52px !important;
        max-width: 300px !important;
    }
}

/* Navigation responsive improvements */
.navbar {
    padding: 10px 1rem !important;
    min-height: 80px !important;
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 0.5rem;
        min-height: 70px !important;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f8f9fa;
    }

    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid #dee2e6;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 60px !important;
        padding: 0.25rem;
    }
    
    .navbar-brand img {
        height: 60px !important;
        max-height: 60px !important;
    }
}

/* Container and grid responsive improvements */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Card responsive styles */
.card {
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Button responsive styles */
@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-group .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Form responsive improvements */
@media (max-width: 767.98px) {
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
}

/* Table responsive styles */
.table-responsive {
    border-radius: 0.375rem;
}

@media (max-width: 767.98px) {
    .table-responsive table {
        font-size: 0.875rem;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem;
    }
}

/* Dashboard and admin responsive styles */
@media (max-width: 767.98px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .d-flex.justify-content-between > * {
        margin-bottom: 1rem;
    }

    .d-flex.justify-content-between > *:last-child {
        margin-bottom: 0;
    }
}

/* Hero section responsive */
.hero-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
}

@media (min-width: 992px) {
    .hero-section {
        padding: 6rem 0;
    }
}

/* Features section responsive */
@media (max-width: 767.98px) {
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Widget and chatbot responsive styles */
.widget-container {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 576px) {
    .widget-container {
        margin: 0 -15px;
        border-radius: 0;
    }
}

/* Responsive text sizing */
@media (max-width: 576px) {
    .display-4 {
        font-size: 2.25rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Responsive spacing */
@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Navigation divider */
.nav-divider {
    height: 1px;
    background-color: #e3e6f0;
    margin: 0.5rem 1rem;
}

/* Category Section Styles */
.category-section {
    background: #f8f9ff;
    border: 1px solid #e0e4ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.category-title {
    color: #7a219e;
    font-weight: 600;
    font-size: 1.1rem;
}

.category-section .faq-item {
    margin-left: 15px;
    border-left: 3px solid #7a219e;
}

.category-section .faq-item:last-child {
    margin-bottom: 0;
}

/* Admin form responsive improvements */
@media (max-width: 767.98px) {
    .admin-form-container {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        margin-bottom: 0.5rem;
        border-radius: 0.375rem !important;
    }
}

/* Responsive modal improvements */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-content {
        border-radius: 0.5rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}

/* Chat widget responsive styles */
.chat-widget {
    max-width: 100%;
}

@media (max-width: 576px) {
    .chat-widget {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        max-height: 80vh;
    }
}

/* Responsive utility classes */
@media (max-width: 576px) {
    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Mobile sidebar navigation styles */
@media (max-width: 767.98px) {
    #sidebarMenu {
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        z-index: 1050 !important;
        width: 280px !important;
        height: 100vh !important;
        transition: all 0.3s ease-in-out !important;
        background-color: #ffffff !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
        padding-top: 60px !important;
        display: block !important;
    }

    #sidebarMenu.show {
        left: 0 !important;
        display: block !important;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }

    .navbar-toggler {
        display: block !important;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Desktop sidebar styles */
@media (min-width: 768px) {
    .sidebar-overlay {
        display: none;
    }
}

:root {
    /* Modern blue color palette for tourism industry */
    --primary-color: #3b82f6;
    --primary-hover: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #F3F4F6;
    --secondary-light: #F9FAFB;
    --accent-color: #10B981;
    --dark-color: #1F2937;
    --light-color: #ffffff;
    --light-bg: #F9FAFB;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
    --text-muted: #6B7280;
    --text-dark: #374151;
    --text-light: #9CA3AF;
    --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Demo chatbot styles */
.demo-chatbot {
    display: flex;
    flex-direction: column;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.demo-chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.demo-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: var(--light-color);
}

.demo-message {
    margin-bottom: 0.75rem;
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.demo-message.bot-message {
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 0;
}

.demo-message.user-message {
    background-color: white;
    border-top-right-radius: 0;
    margin-left: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.demo-chat-input {
    display: flex;
    padding: 0.75rem;
    background-color: white;
    border-top: 1px solid #dee2e6;
}

.demo-chat-input input {
    flex: 1;
    margin-right: 0.5rem;
}

.demo-chat-input button {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
}

.main-content {
    flex: 1;
    background-color: var(--light-bg);
    padding: 2rem;
}

/* Container improvements */
.container-fluid {
    background-color: var(--light-bg);
}

/* Card styling improvements */
.card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    background-color: white;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
}

/* Form styling for authentication pages */
.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    background-color: white;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 113, 194, 0.1);
    background-color: white;
    color: var(--text-dark);
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-check-label {
    color: var(--text-dark);
}

/* Authentication pages specific styling */
body.bg-light {
    background-color: var(--light-bg) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Landing page */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(139, 92, 246, 0.225) 0%, rgba(109, 40, 217, 0.2) 100%),
        linear-gradient(45deg, rgba(124, 58, 237, 0.2) 0%, rgba(139, 92, 246, 0.225) 100%);
    color: var(--text-dark);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: white;
    opacity: 0.95;
}

/* Responsive typography */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

.features-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.feature-card {
    padding: 2.5rem;
    border-radius: 16px;
    background-color: var(--light-color);
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Responsive features section */
@media (max-width: 991.98px) {
    .features-section {
        padding: 80px 0;
    }

    .feature-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 60px 0;
    }

    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: #666666;
}

/* Section improvements */
section {
    background-color: var(--light-color);
}

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

.lead {
    color: var(--text-muted);
    font-weight: 400;
}

/* Button improvements */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #404040 0%, #666666 100%);
    border-color: #404040;
    color: white;
    box-shadow: var(--card-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #505050 100%);
    border-color: #2d2d2d;
    transform: translateY(-1px);
    box-shadow: var(--card-shadow-hover);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #404040 0%, #666666 100%);
    border-color: #404040;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--card-shadow);
}

/* Secondary button styles */
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: var(--card-shadow-hover);
}

/* Pricing card styles */
.pricing-card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: white;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
}

.pricing-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--blue-gradient);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card.featured .card-body {
    padding-top: 2rem;
}

.price-badge {
    background: var(--blue-gradient);
    color: white;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-nav .btn {
        margin: 0.25rem 0;
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Responsive tables */
@media (max-width: 767.98px) {
    .table-responsive {
        border: none;
    }

    .table {
        font-size: 0.875rem;
    }

    .table td, .table th {
        padding: 0.5rem 0.25rem;
    }
}

/* General responsive utilities */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .card-body {
        padding: 1rem;
    }

    .alert {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Form responsiveness */
@media (max-width: 575.98px) {
    .form-control {
        padding: 10px 12px;
        font-size: 1rem; /* Prevents zoom on iOS */
    }

    .form-label {
        font-size: 0.9rem;
    }

    .d-grid .btn {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Destinations showcase */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 250px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
}

.destination-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Admin Dashboard */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: var(--light-color);
}

.sidebar .nav-link {
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    text-decoration: none;
}

.sidebar .nav-link.active {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive admin dashboard */
@media (max-width: 991.98px) {
    .sidebar {
        min-height: auto;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-stat-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.1rem 0.25rem;
        font-size: 0.9rem;
    }

    .sidebar .nav-link .feather {
        margin-right: 0.5rem;
        width: 16px;
        height: 16px;
    }

    .main-content {
        padding: 0.5rem;
    }
}

.sidebar .nav-link .feather {
    margin-right: 0.75rem;
}

.dashboard-stat-card {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.dashboard-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.dashboard-stat-card .stat-label {
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.stat-card-primary {
    border-left-color: var(--primary-color);
}

.stat-card-success {
    border-left-color: var(--success-color);
}

.stat-card-danger {
    border-left-color: var(--danger-color);
}

.stat-card-warning {
    border-left-color: var(--warning-color);
}

/* FAQ management */
.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item .faq-question {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.faq-item .faq-answer {
    color: #6c757d;
}

.faq-item .faq-meta {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 1rem;
    text-align: right;
}

/* Widget settings preview */
.widget-preview {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.preview-header {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.preview-body {
    background-color: var(--light-color);
    height: 320px;
    padding: 1rem;
    overflow-y: auto;
}

.preview-footer {
    border-top: 1px solid #dee2e6;
    padding: 0.5rem;
    background-color: white;
}

.preview-message {
    margin-bottom: 0.75rem;
    max-width: 80%;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
}

.preview-bot-message {
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 0;
}

.preview-user-message {
    background-color: white;
    border-top-right-radius: 0;
    margin-left: auto;
}

/* Embed code section */
.embed-code-container {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    padding: 1rem;
}

.embed-code {    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
}

/* Tourism chatbot widget */
.business-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.business-chatbot-container[data-position="left"] {
    right: auto;
    left: 20px;
}

.business-chatbot-button {
    min-width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    transition: transform 0.3s ease;
}

.business-chatbot-button:hover {
    transform: scale(1.05);
}

.business-chatbot-button .chat-label {
    margin-left: 10px;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
}

.business-chatbot-frame {
    width: 350px;
    height: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: absolute;
    bottom: 80px;
    right: 0;
}

.business-chatbot-container.open .business-chatbot-frame {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Analytics page */
.analytics-chart-container {
    height: 300px;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        min-height: auto;
    }

    .dashboard-stat-card {
        margin-bottom: 1rem;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .features-section {
        padding: 40px 0;
    }
}

/* Booking platform management */
.platform-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.platform-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50rem;
}

.platform-status.active {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--success-color);
}

.platform-status.inactive {
    background-color: rgba(217, 4, 41, 0.1);
    color: var(--danger-color);
}

.product-list {
    margin-top: 1rem;
}

.product-item {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.product-name {
    font-weight: 600;
}

.product-price {
    color: var(--dark-color);
    font-weight: 600;
}

.product-description {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.product-url {
    font-size: 0.75rem;
    color: #6c757d;
    word-break: break-all;
}

/* Clean Lead capture form styles - matching document upload modal */
.lead-capture-form {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    border: 1px solid #e0e0e0;
    max-width: 100%;
}

.clean-form .form-field {
    margin-bottom: 16px;
}

.clean-form .form-field input,
.clean-form .form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #f9fafb;
    transition: all 0.2s ease;
    resize: vertical;
    box-sizing: border-box;
}

.clean-form .form-field input:focus,
.clean-form .form-field textarea:focus {
    outline: none;
    border-color: #7a219e;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.clean-form .form-field input::placeholder,
.clean-form .form-field textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.clean-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: #7a219e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 4px;
}

.clean-submit-btn:hover:not(:disabled) {
    background: #7a219e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.clean-submit-btn:active:not(:disabled) {
    transform: translateY(0px);
}

.clean-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.clean-submit-btn .btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}