/* Custom styles that complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Animation for activity cards */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}
.bg-white:hover, .bg-gray-800:hover {
    animation: pulse 1.5s infinite;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Profile page styles */
.profile-input {
    transition: all 0.2s ease;
}

.profile-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
/* Modal transition */
.modal-transition {
    transition: opacity 0.3s ease;
}

/* Activity item hover effect */
.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}
.dark .activity-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}
/* Map container styling */
#map {
    min-height: 400px;
    border-radius: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #map {
        min-height: 300px;
    }
}

/* Dark mode transition for elements not covered by Tailwind */
.theme-transition * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}