/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: white;
}

.loader i {
    font-size: 3rem;
    animation: fly 2s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes fly {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920');
    background-size: cover;
    background-position: center;
    animation: parallax 20s ease-in-out infinite;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Search Section */
.search-section {
    padding: 2rem 0;
    background: #f8f9fa;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-box input, .search-box select {
    border: none;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-box input {
    flex: 1;
    border-radius: 50px;
}

.search-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Destinations Section */
.destinations {
    padding: 5rem 0;
    background: white;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.destination-card-content {
    padding: 1.5rem;
}

.destination-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.destination-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Guides Section */
.guides {
    padding: 5rem 0;
    background: white;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.guide-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.guide-icon i {
    color: white;
    font-size: 2rem;
}

.guide-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.guide-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.guide-link:hover {
    color: #5a6fd8;
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    color: #667eea;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #bbb;
}

.contact-info i {
    color: #667eea;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-container {
        padding: 0.6rem 0.8rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    .logo span {
        font-size: 1.05rem;
    }

    .nav-menu {
        position: static;
        left: auto;
        top: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        background-color: transparent;
        width: 100%;
        text-align: center;
        transition: none;
        box-shadow: none;
        padding: 0.2rem 0;
        gap: 0.7rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding-bottom: 0.3rem;
    }

    .btn-login, .btn-register {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .destination-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Destination Actions */
.destination-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.btn-details, .btn-book, .btn-favorite, .btn-review {
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-details {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-details:hover {
    background: #667eea;
    color: white;
}

.btn-book {
    background: #ff6b6b;
    color: white;
}

.btn-book:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-favorite {
    background: #ff9999;
    color: white;
    grid-column: 1;
}

.btn-favorite:hover {
    background: #ff6b6b;
}

.btn-review {
    background: #ffd700;
    color: #333;
    grid-column: 2;
}

.btn-review:hover {
    background: #ffed4e;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login, .btn-register {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-login:hover {
    background: #667eea;
    color: white;
}

.btn-register {
    background: #667eea;
    color: white;
}

.btn-register:hover {
    background: #5a6fd8;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-profile, .btn-logout {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.btn-profile {
    background: #f8f9fa;
    color: #667eea;
}

.btn-logout {
    background: #ff6b6b;
    color: white;
}

.mobile-unified-menu {
    display: block;
    position: relative;
    width: auto;
}

.mobile-unified-trigger {
    width: auto;
    min-width: 130px;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.mobile-unified-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    width: min(320px, 92vw);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
    padding: 10px;
}

.mobile-unified-menu.open .mobile-unified-panel {
    display: grid;
    gap: 8px;
}

.mobile-unified-panel a,
.mobile-unified-panel button {
    text-decoration: none;
    border: none;
    background: #f8fafc;
    color: #1f2937;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-welcome {
    font-weight: 700;
    color: #374151;
    padding: 6px 4px 2px;
}

.desktop-user-actions {
    display: none !important;
}

.navbar .nav-menu {
    display: none !important;
}

.navbar .nav-container {
    justify-content: space-between;
    align-items: center;
}

/* Review System */
.review-summary {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.avg-rating {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

.star-rating {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 10px 0;
}

.star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active, .star:hover {
    color: #ffd700;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-rating {
    color: #ffd700;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

/* Guide Actions */
.guide-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.guide-actions .btn-favorite,
.guide-actions .btn-review,
.guide-actions .btn-details {
    flex: 1;
    padding: 6px 8px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-actions .btn-favorite {
    background: #ff9999;
    color: white;
}

.guide-actions .btn-favorite:hover {
    background: #ff6b6b;
}

.guide-actions .btn-review {
    background: #ffd700;
    color: #333;
}

.guide-actions .btn-review:hover {
    background: #ffed4e;
}

.guide-actions .btn-details {
    background: #e3f2fd;
    color: #1976d2;
}

.guide-actions .btn-details:hover {
    background: #bbdefb;
}

/* Advanced Filters */
.advanced-search-toggle {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.advanced-search-toggle:hover {
    background: #5a6fd8;
}

.advanced-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    border: 2px solid #e9ecef;
}

.advanced-filters.hidden {
    display: none;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-display {
    text-align: center;
    font-weight: 600;
    color: #667eea;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-apply-filters,
.btn-clear-filters {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply-filters {
    background: #28a745;
    color: white;
}

.btn-apply-filters:hover {
    background: #218838;
}

.btn-clear-filters {
    background: #6c757d;
    color: white;
}

.btn-clear-filters:hover {
    background: #5a6268;
}

/* Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-backdrop .modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-backdrop .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.modal-backdrop .close:hover {
    color: #333;
}

/* Enhanced Auth Modal Styles */
.auth-modal {
    background: white;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    animation: modalSlideIn 0.3s ease-out;
}

.register-modal {
    max-width: 550px;
}

.forgot-modal, .terms-modal {
    max-width: 400px;
}

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

.auth-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.auth-header h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-form {
    padding: 30px 40px 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.select-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: #999;
    z-index: 2;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.toggle-password:hover {
    color: #667eea;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.strength-bar span {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.75rem;
    font-weight: 500;
}

.strength-weak {
    background: #e74c3c;
    width: 25%;
}

.strength-medium {
    background: #f39c12;
    width: 50%;
}

.strength-strong {
    background: #27ae60;
    width: 75%;
}

.strength-very-strong {
    background: #2ecc71;
    width: 100%;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-container input {
    margin-right: 8px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -2px;
    left: 2px;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: none;
}

.auth-divider {
    text-align: center;
    margin: 25px 40px;
    position: relative;
    color: #999;
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: 1;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.social-login {
    display: flex;
    gap: 10px;
    padding: 0 40px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.facebook-btn:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.auth-footer {
    text-align: center;
    padding: 20px 40px 30px;
    color: #666;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.terms-content {
    padding: 20px 40px;
    max-height: 400px;
    overflow-y: auto;
}

.terms-content h3 {
    color: #333;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.terms-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-modal {
        width: 95%;
        margin: 20px auto;
    }
    
    .auth-header,
    .auth-form,
    .social-login,
    .auth-footer {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-login {
        flex-direction: column;
    }
}

/* Global function for password toggle */
function togglePassword(inputId) {
    const input = document.getElementById(inputId);
    const button = input.parentElement.querySelector('.toggle-password i');
    
    if (input.type === 'password') {
        input.type = 'text';
        button.className = 'fas fa-eye-slash';
    } else {
        input.type = 'password';
        button.className = 'fas fa-eye';
    }
}
/* Enhanced Destination Cards */
.destination-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-content .description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-content .best-time {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f39c12;
    font-weight: 600;
}

.book-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Enhanced Guide Cards */
.guide-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.guide-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.guide-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #667eea;
}

.guide-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.guide-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.guide-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}

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

.guide-experience {
    color: #27ae60;
    font-weight: 600;
}

.guide-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.guide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.guide-rate {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1rem;
}

.guide-expertise {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-vibrant {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-vibrant {
        font-size: 1.2rem;
    }
    
    .hero-buttons-vibrant {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box-vibrant {
        padding: 20px;
    }
    
    .newsletter-form-vibrant {
        flex-direction: column;
    }
    
    .newsletter-input-vibrant {
        min-width: 100%;
    }
    
    .destination-grid-vibrant {
        grid-template-columns: 1fr;
    }
    
    .guide-header {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-photo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

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

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Payment and Invoice Styles */
.payment-modal {
    max-width: 600px;
}

.booking-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.total-amount {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

.payment-methods {
    margin: 20px 0;
}

.payment-methods label {
    display: block;
    margin: 10px 0;
    padding: 10px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-methods label:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.payment-methods input[type="radio"] {
    margin-right: 10px;
}

.card-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.payment-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.payment-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.success-modal {
    text-align: center;
    max-width: 500px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.booking-details {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.price-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
}

.price-summary h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.total-price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

.message-preview {
    text-align: left;
    margin: 20px 0;
}

/* Invoice Styles */
.invoice-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.invoice-header {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.invoice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.invoice-table th,
.invoice-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.invoice-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.invoice-total {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Messages Styles */
.messages-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.message-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.message-item.unread {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-type {
    background: #667eea;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: uppercase;
}

.message-date {
    color: #666;
    font-size: 12px;
}

.message-content {
    white-space: pre-line;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-modal {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .card-details {
        padding: 15px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .invoice-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-methods label {
        padding: 15px;
    }
}

/* Animation for payment processing */
@keyframes processing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing::before {
    content: "⟳";
    display: inline-block;
    animation: processing 1s linear infinite;
    margin-right: 10px;
}
/* Messages Page Styles */
.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e5e9;
}

.messages-header h1 {
    color: #333;
    margin: 0;
}

.message-actions {
    display: flex;
    gap: 10px;
}

.messages-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
    color: #667eea;
    background: #f0f2ff;
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.no-messages {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-messages i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-messages h3 {
    margin: 20px 0 10px 0;
    color: #333;
}

.message-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.message-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.unread-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #e74c3c;
    font-size: 8px;
}

/* Payment Form Enhancements */
.form-group input[name="cardNumber"] {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.form-group input[name="expiry"],
.form-group input[name="cvv"] {
    font-family: 'Courier New', monospace;
}

/* Auto-format card number */
input[name="cardNumber"]:focus {
    background: #f8f9fa;
}

/* Success animations */
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.success-modal {
    animation: bounceIn 0.6s ease-out;
}

.success-icon {
    animation: bounceIn 0.8s ease-out 0.2s both;
}

/* Mobile responsiveness for messages */
@media (max-width: 768px) {
    .messages-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .message-actions {
        justify-content: center;
    }
    
    .messages-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Print styles for invoice */
@media print {
    .navbar, .footer, .close, .action-buttons {
        display: none !important;
    }
    
    .modal-content {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    body {
        background: white;
    }
}
/* Destination Detail Page Styles */
.destination-detail {
    min-height: 100vh;
    background: #f8f9fa;
    padding-top: 96px;
}

.destination-hero {
    position: relative;
    height: 56vh;
    min-height: 340px;
    max-height: 620px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.hero-overlay h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2rem;
}

.hero-rating i {
    color: #ffd700;
}

.destination-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.info-section h3 {
    color: #667eea;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.category-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.category-tag.category-cultural { background: #e8f4fd; color: #1976d2; }
.category-tag.category-beach { background: #fff3e0; color: #f57c00; }
.category-tag.category-nature { background: #e8f5e8; color: #388e3c; }
.category-tag.category-mountain { background: #f3e5f5; color: #7b1fa2; }
.category-tag.category-city { background: #fce4ec; color: #c2185b; }
.category-tag.category-adventure { background: #fff8e1; color: #f57f17; }
.category-tag.category-spiritual { background: #f3e5f5; color: #7b1fa2; }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.price-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-card.featured {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.price-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.price-card h4 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-card.featured li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.price-card li:last-child {
    border-bottom: none;
}

.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.booking-card h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5rem;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.rating-display i {
    color: #ffd700;
}

.book-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 25px;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.feature i {
    color: #27ae60;
    width: 20px;
}

/* Make destination cards clickable */
.destination-card {
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .destination-detail {
        padding-top: 150px;
    }

    .destination-hero {
        height: 42vh;
        min-height: 250px;
        max-height: 360px;
    }

    .destination-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .destination-info,
    .booking-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .destination-detail {
        padding-top: 145px;
    }

    .destination-hero {
        height: 34vh;
        min-height: 210px;
    }

    .hero-overlay {
        padding: 20px;
    }
    
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    
    .destination-content {
        padding: 10px;
    }
}
/* Enhanced Profile Styles */
.profile-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.profile-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.edit-photo-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 12px;
}

.profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.profile-content {
    padding: 0;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item i {
    color: #667eea;
    width: 20px;
}

.booking-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.booking-details {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.booking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.favorite-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.remove-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.guide-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Enhanced Guide Cards */
.guide-card.enhanced {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.guide-card.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.guide-photo-container {
    position: relative;
}

.guide-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.guide-status.online {
    background: #10b981;
}

.guide-specialties {
    margin: 15px 0;
}

.specialty-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.book-guide-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.book-guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

/* Guide Profile Modal */
.guide-profile-modal {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.guide-profile-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

.guide-avatar {
    position: relative;
}

.guide-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    bottom: 10px;
    right: -10px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.guide-metrics {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.metric-label {
    font-size: 12px;
    opacity: 0.8;
}

.stars {
    color: #ffd700;
    font-size: 14px;
}

.guide-profile-content {
    padding: 30px;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h3 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specialties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-chip {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.language-tag {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.guide-profile-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
/* Dashboard Link Styling */
.btn-dashboard-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn-dashboard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu span {
    font-weight: 600;
    color: #333;
}

.btn-profile, .btn-logout {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-profile {
    background: #f8f9fa;
    color: #333;
}

.btn-logout {
    background: #ff6b6b;
    color: white;
}

.btn-profile:hover, .btn-logout:hover {
    transform: translateY(-2px);
}
/* Guide Cards in Destination Detail */
.guide-card-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
}

.guide-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.guide-card-small .guide-info {
    flex: 1;
}

.guide-card-small h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.guide-card-small p {
    margin: 2px 0;
    font-size: 14px;
    color: #666;
}

.btn-book-guide {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.btn-book-guide:hover {
    background: #5a67d8;
}
/* Notification and Messaging Styles */
.btn-notifications, .btn-messages {
    background: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.btn-notifications:hover, .btn-messages:hover {
    background: #f0f0f0;
    color: #667eea;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notifications-list, .messages-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
}

.notification-item, .message-item {
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover, .message-item:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.notification-item.unread, .message-item.unread {
    background: #f0f8ff;
    border-left: 4px solid #667eea;
}

.notification-header, .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-header h4, .message-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.notification-date, .message-date {
    color: #666;
    font-size: 12px;
}

.notification-item p, .message-preview {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.message-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.notification-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e5e9;
}

.messages-modal .modal-content {
    max-width: 700px;
}

.message-detail-modal .modal-content {
    max-width: 600px;
}

.message-detail {
    padding: 20px 0;
}

.message-detail .message-header {
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.message-detail .message-header h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.message-detail .message-meta {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.message-body {
    padding: 20px 0;
    line-height: 1.6;
}

.message-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #e1e5e9;
}

.btn-danger {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-danger:hover {
    background: #ff3742;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .user-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-menu span {
        order: -1;
        font-size: 14px;
    }
}

/* Global mobile navbar/auth hard-fix (keep this later in file to override older rules) */
@media (max-width: 768px) {
    .navbar .nav-container {
        padding: 10px 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .navbar .logo {
        justify-content: center !important;
    }

    .navbar .nav-menu {
        display: none !important;
    }

    .navbar .nav-menu li {
        flex: 0 0 auto !important;
    }

    .navbar .nav-menu a,
    .navbar .nav-link {
        white-space: nowrap !important;
        font-size: 0.98rem !important;
    }

    .navbar .auth-buttons {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .desktop-user-actions {
        display: none !important;
    }

    .mobile-unified-menu {
        display: block !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box !important;
    }

    .mobile-unified-trigger {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box !important;
    }

    .mobile-unified-panel {
        position: static;
        width: 100%;
        margin-top: 8px;
        max-width: 100%;
        box-sizing: border-box !important;
    }

    .navbar .auth-buttons .user-menu {
        display: none !important;
    }

    .navbar .auth-buttons .user-menu > span {
        grid-column: 1 / -1 !important;
        order: -1 !important;
        text-align: center !important;
        font-weight: 700 !important;
        margin: 0 0 2px !important;
    }

    .navbar .auth-buttons .btn-notifications,
    .navbar .auth-buttons .btn-messages,
    .navbar .auth-buttons .btn-dashboard-link,
    .navbar .auth-buttons .btn-logout {
        display: none !important;
    }

    .navbar .auth-buttons .btn-dashboard-link::before {
        content: '' !important;
    }

    .navbar .auth-buttons > :not(.mobile-unified-menu) {
        display: none !important;
    }
}
/* Animation for notifications */
@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Advanced Auth Modal Styles */
.auth-modal {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: modalSlideIn 0.3s ease-out;
}

.register-modal {
    max-width: 550px;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.auth-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.auth-header h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    font-weight: 700;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-form {
    padding: 30px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: #999;
    z-index: 1;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.toggle-password:hover {
    color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-container input {
    margin-right: 8px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
}

.checkbox-container input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -2px;
    left: 2px;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #999;
    font-size: 14px;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.facebook-btn:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.auth-footer {
    text-align: center;
    padding: 0 40px 30px;
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-modal {
        margin: 20px;
        max-width: none;
    }
    
    .auth-header,
    .auth-form,
    .auth-footer {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-login {
        flex-direction: column;
    }
}
/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.strength-bar span {
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.strength-weak {
    background: #ff4757;
    color: #ff4757;
}

.strength-medium {
    background: #ffa502;
    color: #ffa502;
}

.strength-strong {
    background: #2ed573;
    color: #2ed573;
}

.strength-very-strong {
    background: #1e90ff;
    color: #1e90ff;
}

/* Guide Fields Styling */
#guide-fields {
    border: 2px dashed #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    background: #f8f9fa;
}

#guide-fields textarea {
    resize: vertical;
    min-height: 80px;
}

/* Enhanced Form Validation */
.input-group input:invalid {
    border-color: #ff4757;
}

.input-group input:valid {
    border-color: #2ed573;
}
/* Dashboard Link Styling */
.btn-dashboard-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
}

.btn-dashboard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.btn-dashboard-link::before {
    content: '📊';
    font-size: 12px;
}
/* Notification and Message Buttons */
.btn-notifications, .btn-messages {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.btn-notifications:hover, .btn-messages:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Notification and Message Items */
.notification-item, .message-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.notification-item:hover, .message-item:hover {
    background: #f8f9fa;
}

.notification-item.unread, .message-item.unread {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.notification-header, .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-header h4, .message-header h4 {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.notification-date, .message-date {
    color: #666;
    font-size: 12px;
}

.message-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.notification-actions {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}
/* Booking Chat (WhatsApp-like) */
.booking-chat-modal {
    max-width: 760px;
    width: min(95vw, 760px);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.booking-chat-modal .close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 2;
}

.booking-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #075e54, #128c7e);
    color: #fff;
}

.booking-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-chat-meta h2 {
    margin: 0;
    font-size: 1.05rem;
}

.booking-chat-meta p {
    margin: 2px 0 0;
    opacity: 0.9;
    font-size: 0.85rem;
}

.booking-chat-thread {
    background: #e5ddd5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 12px 12px;
    padding: 16px;
    min-height: 320px;
    max-height: 460px;
    overflow-y: auto;
}

.booking-chat-empty {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5f6b73;
    gap: 8px;
}

.booking-chat-bubble-row {
    display: flex;
    margin-bottom: 8px;
}

.booking-chat-bubble-row.outgoing {
    justify-content: flex-end;
}

.booking-chat-bubble {
    max-width: min(76%, 460px);
    padding: 8px 10px 6px;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.booking-chat-bubble.incoming {
    background: #ffffff;
    border-top-left-radius: 3px;
}

.booking-chat-bubble.outgoing {
    background: #dcf8c6;
    border-top-right-radius: 3px;
}

.booking-chat-bubble p {
    margin: 0;
    color: #111b21;
    font-size: 0.94rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.booking-chat-bubble span {
    display: block;
    text-align: right;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #667781;
}

.booking-chat-input-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border-top: 1px solid #d5dbe1;
    background: #f0f2f5;
}

.booking-chat-input-wrap textarea {
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    border: 1px solid #d5dbe1;
    border-radius: 24px;
    padding: 10px 14px;
    resize: none;
    outline: none;
    font-family: inherit;
}

.booking-chat-input-wrap .btn-primary {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .booking-chat-modal {
        width: 96vw;
    }

    .booking-chat-thread {
        min-height: 300px;
        max-height: 56vh;
    }

    .booking-chat-bubble {
        max-width: 86%;
    }
}
