/* Modern Tourism App Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-500: #10b981;
    --amber-500: #f59e0b;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    /* Modern gradients */
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    
    /* Shadows */
    --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-colored: 0 4px 20px rgba(5, 150, 105, 0.2);
}

* {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Safe Area Support */
.safe-area-container {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Page Transitions */
.page {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.page.active {
    display: block;
}

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

/* Modern Quick Action Buttons */
.quick-action-btn {
    @apply p-4 rounded-3xl flex flex-col items-center justify-center h-20 transition-all duration-300 relative overflow-hidden;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    z-index: -1;
}

.quick-action-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.quick-action-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.quick-action-btn i {
    @apply text-lg mb-1;
}

.quick-action-btn span {
    @apply text-xs font-semibold;
}

/* Modern Filter Buttons */
.filter-btn {
    @apply px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-300 relative overflow-hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--stone-600);
    box-shadow: var(--shadow-soft);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: var(--shadow-colored);
    transform: scale(1.05);
}

.filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Navigation */
.nav-btn {
    @apply flex flex-col items-center justify-center text-stone-500 transition-all duration-200;
}

.nav-btn.active {
    @apply text-emerald-600;
}

.nav-btn:hover:not(.active) {
    @apply text-stone-700;
}

/* Booking Tabs */
.booking-tab {
    @apply bg-stone-50 text-stone-600 border-b-2 border-transparent transition-all duration-200;
}

.booking-tab.active {
    @apply bg-white text-emerald-600 border-emerald-600;
}

.tab-content {
    display: none;
    @apply space-y-4 mt-4;
}

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

/* Facility Filters */
.facility-filter {
    @apply p-3 rounded-full text-sm font-medium transition-all duration-200;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--stone-600);
    box-shadow: var(--shadow-soft);
}

.facility-filter.active {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: var(--shadow-colored);
    transform: scale(1.05);
}

.facility-filter:hover:not(.active) {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Modern Cards */
.circuit-card {
    @apply rounded-3xl overflow-hidden transition-all duration-300 relative;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

.circuit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.circuit-card .card-image {
    position: relative;
    overflow: hidden;
}

.circuit-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--gradient-overlay);
    pointer-events: none;
}

.accommodation-card {
    @apply rounded-3xl overflow-hidden transition-all duration-300 relative;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

.accommodation-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.guide-card {
    @apply rounded-3xl p-5 transition-all duration-300 relative;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

/* Guide and Driver Card Internal Spacing */
.guide-card .flex.items-start.space-x-4 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-card .flex-1 {
    min-width: 0;
}

.guide-card h3 {
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.guide-card p {
    margin: 0;
    line-height: 1.4;
}

.guide-card .text-right {
    white-space: nowrap;
}

.guide-card .mt-3.space-y-2 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-card .mt-3.space-y-2 > div {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.guide-card .mt-3.space-y-2 i {
    min-width: 1.25rem;
    text-align: center;
}

/* Bio text styling */
.guide-card > p.text-stone-700 {
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Button container alignment */
.guide-card > button,
.guide-card > .flex.space-x-2 {
    margin-top: auto;
}

.guide-card .flex.space-x-2 {
    gap: 0.5rem;
}

.guide-card .flex.space-x-2 button {
    padding: 0.5rem 1rem;
}

/* Amenities/Features row */
.guide-card .mt-3.flex.flex-wrap.gap-2 {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-card .mt-3.flex.flex-wrap.gap-2 span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
}

/* Specialties text */
.guide-card > p.text-stone-600.text-xs {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.facility-card {
    @apply rounded-3xl p-5 transition-all duration-300 relative;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

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

/* Modern Badges */
.badge {
    @apply px-2 py-1 rounded-lg text-xs font-bold transition-all duration-200;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 10px;
}

.badge-heritage {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(251, 191, 36, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-wildlife {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(74, 222, 128, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-eco {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-difficulty-easy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(74, 222, 128, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-difficulty-moderate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(251, 191, 36, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-difficulty-hard {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(248, 113, 113, 0.9) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Road Alert */
.road-alert {
    @apply p-3 rounded-2xl border-l-4 bg-amber-50 border-amber-400;
}

.road-alert.info {
    @apply bg-blue-50 border-blue-400;
}

.road-alert.warning {
    @apply bg-amber-50 border-amber-400;
}

.road-alert.danger {
    @apply bg-red-50 border-red-400;
}

/* Rating Stars */
.rating {
    @apply flex items-center space-x-1;
}

.star {
    @apply text-amber-400;
}

.star.empty {
    @apply text-stone-300;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}

/* Loading Animation */
.loading {
    @apply animate-pulse;
}

/* Responsive Design */
@media (max-width: 375px) {
    .quick-action-btn {
        @apply h-20 p-3;
    }
    
    .quick-action-btn i {
        @apply text-lg;
    }
    
    .quick-action-btn span {
        @apply text-xs;
    }
}

/* Override any system dark mode preferences */
@media (prefers-color-scheme: dark) {
    /* Force light theme even in dark mode */
    body {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
        color: #292524 !important;
    }
    
    * {
        color: inherit !important;
    }
}

/* Print Styles */
@media print {
    .nav-btn, .quick-action-btn {
        display: none !important;
    }
}

/* Modern Header Styles */
.header-gradient {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
    position: relative;
    z-index: 40;
}

/* Modern Greeting Card */
.greeting-card {
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern Search Input */
.search-container {
    position: relative;
}

.search-input {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

/* Modern Road Alerts Card */
.road-alerts-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

/* Modern Homestay CTA */
.homestay-cta {
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Map Container Styling */
#map {
    position: relative;
    z-index: 10;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
}

#map .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

/* Modern Bottom Navigation */
.bottom-nav-container {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
}

.nav-indicator {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation States */
.nav-btn {
    @apply flex flex-col items-center justify-center text-stone-500 transition-all duration-300;
    position: relative;
    z-index: 20;
}

.nav-btn.active {
    @apply text-emerald-600;
}

.nav-btn:hover:not(.active) {
    @apply text-stone-700;
    transform: translateY(-2px);
}

/* Nav Indicator - positioned absolutely within container */
.nav-indicator {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 25% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border-radius: 1.5rem !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0.2 !important;
    z-index: 1 !important;
}

/* Update nav indicator position based on active tab */
.nav-btn:nth-child(1).active ~ .nav-indicator {
    left: 0% !important;
}

.nav-btn:nth-child(2).active ~ .nav-indicator {
    left: 25% !important;
}

.nav-btn:nth-child(3).active ~ .nav-indicator {
    left: 50% !important;
}

.nav-btn:nth-child(4).active ~ .nav-indicator {
    left: 75% !important;
}

/* Modern Road Alert Styles */
.road-alert {
    @apply p-4 rounded-2xl transition-all duration-200;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.road-alert.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    border-left: 4px solid #3b82f6;
}

.road-alert.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-left: 4px solid #f59e0b;
}

.road-alert.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
    border-left: 4px solid #ef4444;
}

/* Scrollbar Hide */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Modern Circuit Cards in Featured Section */
.circuit-card.min-w-80 {
    min-width: 320px;
    max-width: 320px;
}

/* Enhanced Card Image Overlay */
.circuit-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white !important;
    z-index: 10;
}

.circuit-card .card-content h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.circuit-card .card-content p {
    font-size: 0.875rem;
    opacity: 0.95;
    color: white !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.circuit-card .card-content span {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.circuit-card .card-content i {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Modern Booking Tabs */
.booking-tab {
    @apply transition-all duration-300 relative overflow-hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.booking-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.booking-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* Modern Facility Filters */
.facility-filter {
    @apply p-3 rounded-2xl text-sm font-semibold transition-all duration-300 relative overflow-hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.facility-filter.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
    transform: scale(1.05);
}

.facility-filter:hover:not(.active) {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
}

.font-bold {
    font-weight: 700;
}

/* Modern Button Styles */
button {
    @apply transition-all duration-200;
}

button:active {
    transform: scale(0.98);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Enhancements */
@media (max-width: 375px) {
    .quick-action-btn {
        @apply h-16 p-2;
    }
    
    .quick-action-btn .w-8 {
        @apply w-6 h-6;
    }
    
    .quick-action-btn span {
        @apply text-xs;
    }
    
    .bottom-nav-container {
        @apply mx-2 mb-2;
    }
}

@media (min-width: 768px) {
    .quick-action-btn {
        @apply h-24;
    }
    
    .circuit-card.min-w-80 {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Force Light Theme - No Dark Mode */
* {
    color-scheme: light only;
}

/* Ensure all text is visible in light theme */
.text-stone-800 {
    color: #292524 !important;
}

.text-stone-700 {
    color: #44403c !important;
}

.text-stone-600 {
    color: #57534e !important;
}

.text-stone-500 {
    color: #78716c !important;
}

/* Ensure cards have proper backgrounds */
.circuit-card,
.accommodation-card,
.guide-card,
.facility-card,
.road-alerts-card {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #292524 !important;
}

/* Ensure search input is always light */
.search-input {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #292524 !important;
}

/* Ensure bottom navigation is always light */
.bottom-nav-container {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Print Styles */
@media print {
    .bottom-nav-container,
    .quick-action-btn,
    .search-container {
        display: none !important;
    }
    
    .circuit-card,
    .accommodation-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}
/* 
Additional Light Theme Enforcement */
html {
    color-scheme: light;
}

/* Ensure all headings are visible */
h1, h2, h3, h4, h5, h6 {
    color: #292524 !important;
}

/* Ensure all paragraphs are visible */
p {
    color: #44403c !important;
}

/* Ensure all spans are visible */
span {
    color: inherit;
}

/* Ensure buttons have proper text color */
button {
    color: inherit;
}

/* Ensure form inputs are always light */
input, textarea, select {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #292524 !important;
}

/* Ensure all cards maintain light background */
.greeting-card {
    color: white !important; /* This one should stay white as it has gradient background */
}

/* Ensure filter buttons have proper contrast */
.filter-btn:not(.active) {
    color: #57534e !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure navigation text is visible */
.nav-btn {
    color: #78716c !important;
}

.nav-btn.active {
    color: #059669 !important;
}

/* Ensure all icons are visible */
i {
    color: inherit;
}

/* Ensure quick action buttons text is visible */
.quick-action-btn span {
    color: #44403c !important;
}

/* Ensure road alert text is visible */
.road-alert h4 {
    color: #292524 !important;
}

.road-alert p {
    color: #44403c !important;
}

/* Ensure facility card text is visible */
.facility-card h3 {
    color: #292524 !important;
}

.facility-card p {
    color: #44403c !important;
}

/* Ensure guide card text is visible */
.guide-card h3 {
    color: #292524 !important;
}

.guide-card p {
    color: #44403c !important;
}

/* Ensure accommodation card text is visible */
.accommodation-card h3 {
    color: #292524 !important;
}

.accommodation-card p {
    color: #44403c !important;
}/* Enhanc
ed Spacing */
.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Quick Action Button Spacing */
.quick-action-btn {
    margin-bottom: 0.5rem;
}

/* Section Headers Spacing */
.section-header {
    margin-bottom: 1.5rem;
}

/* Road Alerts Spacing */
.road-alert + .road-alert {
    margin-top: 0.75rem;
}

/* Featured Circuits Spacing */
#featuredCircuits .circuit-card + .circuit-card {
    margin-left: 1rem;
}

/* Popular Circuits Spacing */
#popularCircuits .circuit-card + .circuit-card {
    margin-top: 1rem;
}

/* Better spacing for mobile */
@media (max-width: 640px) {
    main {
        padding: 1rem;
    }
    
    .space-y-8 > * + * {
        margin-top: 1.5rem;
    }
    
    .grid.grid-cols-4 {
        gap: 0.75rem;
    }
}

/* Better spacing for larger screens */
@media (min-width: 768px) {
    main {
        padding: 2rem;
        max-width: 768px;
        margin: 0 auto;
    }
    
    .space-y-8 > * + * {
        margin-top: 2.5rem;
    }
}/* Enhanced 
Quick Action Button Styling */
.quick-action-btn {
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-action-btn::before {
    border-radius: 24px;
}

/* Enhanced Badge Styling for Better Visibility */
.badge {
    border-radius: 8px !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
}

/* Ensure all badges have proper rounded square borders */
.badge-heritage,
.badge-wildlife,
.badge-eco,
.badge-difficulty-easy,
.badge-difficulty-moderate,
.badge-difficulty-hard {
    border-radius: 8px !important;
}

/* Make sure featured circuit overlay is strong enough */
.circuit-card .card-image::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%) !important;
}

/* Additional text shadow for better readability */
.circuit-card .card-content * {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}/* C
onsistent Rounded Styling for All Elements */
select, input[type="text"], input[type="search"] {
    border-radius: 1rem !important; /* rounded-2xl */
}

/* Ensure all buttons have consistent rounded styling */
button:not(.nav-btn):not(.booking-tab) {
    border-radius: 1rem !important; /* rounded-2xl */
}

/* Special handling for small buttons */
button.w-8, button.h-8 {
    border-radius: 0.75rem !important; /* rounded-xl for small buttons */
}

/* Ensure filter buttons are fully rounded */
.filter-btn, .facility-filter {
    border-radius: 9999px !important; /* rounded-full */
}

/* Make sure all card elements are consistently rounded */
.card-image img {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

/* Ensure icon containers are properly rounded */
.w-8.h-8, .w-10.h-10, .w-12.h-12 {
    border-radius: 1rem !important;
}

/* Special rounded styling for gradient icon containers */
.bg-gradient-to-br {
    border-radius: 1rem !important;
}

/* 
============================================
   AUTHENTICATION PAGES STYLING
   ============================================ */

.auth-page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.auth-page.active {
    display: flex;
}

/* Auth Tab Styling */
.auth-tab {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #57534e;
    font-weight: 600;
}

.auth-tab:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.auth-tab.active {
    color: #059669;
}

.auth-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    border-radius: 3px 3px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
}

.auth-tab.active .auth-tab-indicator {
    opacity: 1;
    transform: scaleX(1);
}

/* Auth Tab Content */
.auth-tab-content {
    display: none;
    animation: fadeInContent 0.4s ease-in-out;
}

.auth-tab-content.active {
    display: block;
}

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

/* Auth Form Styling */
#signInForm,
#signUpForm {
    display: flex;
    flex-direction: column;
}

#signInForm input,
#signUpForm input {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e7e5e4;
}

#signInForm input:hover,
#signUpForm input:hover {
    border-color: #d6d3d1;
    background: rgba(255, 255, 255, 1);
}

#signInForm input:focus,
#signUpForm input:focus {
    transform: translateY(-2px);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Auth Button Styling */
#signInForm button[type="submit"],
#signUpForm button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#signInForm button[type="submit"]::before,
#signUpForm button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

#signInForm button[type="submit"]:hover::before,
#signUpForm button[type="submit"]:hover::before {
    left: 100%;
}

#signInForm button[type="submit"]:hover,
#signUpForm button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

#signInForm button[type="submit"]:active,
#signUpForm button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Auth Link Styling */
#signInForm button[type="button"],
#signUpForm button[type="button"],
.auth-page a {
    transition: all 0.3s ease;
    color: #10b981;
}

#signInForm button[type="button"]:hover,
#signUpForm button[type="button"]:hover {
    transform: translateY(-2px);
    color: #059669;
}

/* Auth Container */
#authContainer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    background-attachment: fixed;
}

/* Demo Info Box */
.auth-page .bg-blue-50 {
    animation: slideUp 0.5s ease-in-out 0.3s both;
    transition: all 0.3s ease;
}

.auth-page .bg-blue-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

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

/* Auth Form Container */
.auth-page .bg-white {
    animation: slideUp 0.5s ease-in-out 0.1s both;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Logo Animation */
.auth-page .w-16.h-16 {
    animation: slideDown 0.5s ease-in-out both;
    transition: all 0.3s ease;
}

.auth-page .w-16.h-16:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

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

/* Profile Modal */
.fixed.inset-0.bg-black {
    animation: fadeIn 0.3s ease-in-out;
}

.fixed.inset-0.bg-black .bg-white {
    animation: slideUp 0.3s ease-in-out;
}

/* Notification Styles */
.fixed.top-4.right-4 {
    animation: slideInRight 0.3s ease-in-out;
}

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

/* Hidden State */
.hidden {
    display: none !important;
}

/* Auth Page Responsive */
@media (max-width: 640px) {
    .auth-page .w-full.max-w-md {
        margin: 0 auto;
    }

    .auth-page .bg-white {
        border-radius: 2rem;
    }
    
    .auth-tab {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {
    .auth-page .w-full.max-w-md {
        max-width: 420px;
    }

    .auth-page .bg-white {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
}
