/* === Global Styles === */
:root {
    --primary-color: #7b0024;
    --secondary-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --accent-color: #e74c3c;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* === Navigation === */
.navbar {
    background-color: var(--primary-color);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.logo {
    height: 36px;
    margin-right: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

.search-container {
    position: relative;
    width: 260px;
    margin: 0 2rem;
}

.search-box {
    padding-right: 40px;
    border-radius: 20px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.search-box::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
}

.btn-log-in {
    background-color: white;
    color: var(--primary-color) !important;
    border-radius: 20px;
    padding: 0.4rem 1.2rem !important;
    margin-left: 1rem;
}

.btn-log-in:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* === Hero Section === */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1520208422220-d12a3c588e6c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&h=800&q=80');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.search-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1551882853-2f505ef60349?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&h=400&q=80');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    margin-bottom: 30px;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.search-hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.search-hero-section p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* === Search Bar === */
.search-bar-container {
    width: 100%;
    max-width: 1000px;
    margin-top: auto;
    margin-bottom: 40px;
    z-index: 2;
}

.search-bar {
    display: flex;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border-right: 1px solid #eee;
}

.search-input:last-child {
    border-right: none;
}

.search-input select,
.search-input input {
    border: none;
    box-shadow: none;
    height: 60px;
    padding: 0 20px;
    font-size: 1rem;
    border-radius: 0;
}

.btn-search-submit {
    min-width: 120px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 0;
}

.btn-search-submit:hover {
    background-color: #9b002d;
    color: white;
}

/* === Featured Chalets Section === */
.featured-section {
    padding: 4rem 0;
}

.featured-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.featured-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.chalet-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chalet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.chalet-img-container {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
}

.chalet-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chalet-card:hover .chalet-img-container img {
    transform: scale(1.05);
}

.inspected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 1px;
}

.chalet-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chalet-details h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.chalet-details p {
    margin-bottom: 1.2rem;
    color: #666;
}

.chalet-details .location {
    font-size: 0.95rem;
}

.btn-view {
    background-color: var(--primary-color);
    border: none;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.btn-view:hover {
    background-color: #9b002d;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 3rem 0;
}

/* === Search Results Section === */
.search-results-section {
    padding: 2rem 0 4rem;
}

.search-results-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* === Location Page Styles === */
.filter-sidebar {
    background-color: #222533;
    color: white;
    padding: 0;
}

.filter-container {
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.filter-container h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.filter-container h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.filter-container .form-group {
    margin-bottom: 1rem;
}

.filter-container .form-control {
    background-color: #333;
    border: none;
    color: white;
    padding: 0.7rem;
    font-size: 0.9rem;
}

.filter-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-container .form-check {
    margin-bottom: 0.5rem;
}

.filter-container .form-check-input {
    margin-top: 0.25rem;
}

.filter-container .form-check-label {
    font-size: 0.95rem;
}

.filter-container .btn-search-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem;
    font-weight: 500;
}

.search-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1491555103944-7c647fd857e6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.search-hero-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.search-hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.inspected-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 5;
}

.inspection-note {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.share-results p {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-buttons .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    flex: 1;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.location-chalet-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-chalet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.location-chalet-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.location-chalet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-chalet-details {
    padding: 1.5rem;
}

.location-chalet-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.location-chalet-details h3 a {
    color: var(--dark-color);
    text-decoration: none;
}

.location-chalet-details h3 a:hover {
    color: var(--primary-color);
}

.location-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.price-info {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.chalet-features {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.chalet-description {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
}

/* === Chalet Detail Page === */
.location-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 0.7rem 0;
    font-size: 0.9rem;
}

.location-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.location-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.inspected-badge-small {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
}

.chalet-gallery {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.chalet-gallery .carousel {
    height: 100%;
}

.chalet-gallery .carousel-inner,
.chalet-gallery .carousel-item {
    height: 100%;
}

.chalet-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chalet-tabs-container {
    background-color: white;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chalet-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.chalet-tabs li {
    padding: 1rem 1.5rem;
    position: relative;
}

.chalet-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.chalet-tabs li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
}

.chalet-header {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.chalet-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.verified-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.chalet-basic-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.info-divider {
    margin: 0 0.5rem;
    color: #ccc;
}

.contact-host-box {
    background-color: white;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.contact-host-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.contact-host-box textarea {
    resize: vertical;
    min-height: 80px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.7rem 1rem;
    font-weight: 500;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #c21c1c;
    border-color: #c21c1c;
}

.btn-block {
    display: block;
    width: 100%;
}

.chalet-content {
    padding: 2rem 0 4rem;
}

.chalet-description-section {
    margin-bottom: 2rem;
}

.chalet-description-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #444;
}

.chalet-gallery-section,
.chalet-amenities-section,
.chalet-location-section {
    margin-bottom: 3rem;
}

.chalet-gallery-section h2,
.chalet-amenities-section h2,
.chalet-location-section h2,
.similar-chalets-full h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.chalet-gallery-section h2:after,
.chalet-amenities-section h2:after,
.chalet-location-section h2:after,
.similar-chalets-full h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Gallery styling */
.gallery-grid {
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 15px 10px;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.amenity-item {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.amenity-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.map-container {
    height: 400px;
    border-radius: 3px;
    overflow: hidden;
}

.similar-chalets {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.similar-chalets h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.similar-chalets h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.similar-chalet-item {
    margin-bottom: 1.5rem;
    display: block;
}

.similar-chalet-item a {
    display: flex;
    text-decoration: none;
    color: var(--dark-color);
}

.similar-chalet-img {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
}

.similar-chalet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-chalet-info {
    flex-grow: 1;
}

.similar-chalet-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.similar-chalet-info p {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    color: #666;
}

.similar-price {
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* Similar chalets full width section at bottom */
.similar-chalets-full {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.similar-chalet-card {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.similar-chalet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.similar-chalet-card a {
    text-decoration: none;
    color: var(--dark-color);
    display: block;
    height: 100%;
}

.similar-chalet-img-full {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.similar-chalet-img-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-chalet-card:hover .similar-chalet-img-full img {
    transform: scale(1.05);
}

.inspected-badge-small {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.similar-chalet-info-full {
    padding: 1.2rem;
}

.similar-chalet-info-full h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.similar-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.similar-details {
    display: flex;
    margin-bottom: 0.7rem;
}

.similar-details span {
    margin-right: 1rem;
    font-size: 0.85rem;
    color: #444;
}

.similar-details span i {
    margin-right: 5px;
    color: #888;
}

.similar-price-full {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
}

/* === Login Page === */
.login-page {
    padding: 5rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 250px); /* Account for header and footer */
    display: flex;
    align-items: center;
}

.login-card {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #333;
}

.login-subtitle {
    font-size: 1rem;
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.2rem;
}

.login-form .form-control {
    padding: 0.8rem;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(194, 28, 28, 0.1);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 0.5rem;
}

.remember-me label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #c21c1c;
}

.login-form .btn-primary {
    padding: 0.8rem;
    margin-top: 1rem;
    font-weight: 600;
}

.login-divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.login-divider::before, 
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background-color: #e5e5e5;
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background-color: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 0.9rem;
}

.social-login .btn-outline-secondary {
    padding: 0.7rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #ddd;
}

.social-login .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.register-link {
    text-align: center;
    margin-top: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* === Footer === */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 1rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* === Host Dashboard Styles === */
.dashboard-sidebar {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.dashboard-nav .nav-link {
    color: var(--secondary-color);
    padding: 10px 5px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dashboard-nav .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.content-header {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.inquiry-card .card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.inquiry-message {
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-color);
}

.inquiry-details {
    font-size: 0.9rem;
    line-height: 1.5;
}

.dropdown-item {
    cursor: pointer;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .search-bar {
        flex-direction: column;
    }
    
    .search-input {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .search-input:last-child {
        border-bottom: none;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .search-container {
        width: 100%;
        margin: 1rem 0;
    }
    
    /* Chalet detail page responsive */
    .chalet-gallery {
        height: 500px;
    }
    
    .chalet-tabs {
        overflow-x: auto;
    }
    
    .chalet-tabs li {
        padding: 1rem 1rem;
    }
    
    .chalet-title {
        font-size: 1.8rem;
    }
    
    .chalet-basic-info {
        font-size: 0.9rem;
    }
    
    .contact-host-box {
        margin-top: 1.5rem;
    }
    
    /* Location page responsive */
    .filter-sidebar {
        margin-bottom: 2rem;
    }
    
    .filter-container {
        position: static;
    }
    
    .location-chalet-img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2.3rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .search-hero-section {
        height: auto;
        padding: 3rem 1rem;
    }
    
    .featured-section {
        padding: 2rem 0;
    }
    
    .featured-section h2 {
        font-size: 1.8rem;
    }
    
    /* Chalet detail page responsive */
    .chalet-gallery {
        height: 400px;
    }
    
    .chalet-tabs-container {
        overflow-x: auto;
    }
    
    .chalet-tabs {
        min-width: 650px;
    }
    
    .chalet-tabs li {
        padding: 0.8rem 0.8rem;
    }
    
    .chalet-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .chalet-basic-info {
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .info-item, .info-divider {
        margin: 0.25rem;
    }
    
    .chalet-gallery-section h2,
    .chalet-amenities-section h2,
    .chalet-location-section h2,
    .similar-chalets h3,
    .similar-chalets-full h2 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .chalet-gallery-section h2:after,
    .chalet-amenities-section h2:after,
    .chalet-location-section h2:after,
    .similar-chalets h3:after,
    .similar-chalets-full h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .gallery-item {
        height: 150px;
        margin-bottom: 15px;
    }
    
    .amenity-item {
        margin-bottom: 0.8rem;
    }
    
    .contact-host-box,
    .similar-chalets {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    /* Login page responsive */
    .login-card {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .login-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password {
        margin-top: 0.5rem;
    }
    
    .social-login .btn-outline-secondary {
        font-size: 0.9rem;
    }
    
    /* Chalet detail page responsive */
    .chalet-gallery {
        height: 300px;
    }
    
    .inspected-badge-small {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .chalet-tabs li {
        padding: 0.7rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .chalet-title {
        font-size: 1.4rem;
    }
    
    .chalet-basic-info {
        font-size: 0.85rem;
    }
    
    .contact-host-box h3 {
        font-size: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .contact-host-box textarea {
        resize: vertical;
        min-height: 80px;
    }
    
    .chalet-description-section p {
        font-size: 0.95rem;
    }
    
    .amenity-item {
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .gallery-item {
        height: 130px;
    }
    
    .similar-chalets-full {
        margin-top: 2rem;
    }
    
    .similar-chalet-img-full {
        height: 160px;
    }
    
    .similar-chalet-info-full h4 {
        font-size: 1rem;
    }
    
    .similar-location,
    .similar-details span {
        font-size: 0.8rem;
    }
    
    .similar-price-full {
        font-size: 0.9rem;
    }
    
    /* Location page responsive for mobile */
    .location-chalet-card .row {
        flex-direction: column;
    }
    
    .location-chalet-img {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .location-chalet-details {
        padding: 0 1rem 1rem;
    }
    
    .location-chalet-details h3 {
        font-size: 1.2rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-buttons .btn {
        margin-bottom: 0.5rem;
    }
}
