html {
    scroll-behavior: smooth;
}

[x-cloak] {
    display: none;
}

.custom-container {
    @apply container mx-auto px-6 sm:px-6 lg:px-8;
}

/* Property Specifications Card Styles */
.prose {
    color: #374151;
    max-width: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.prose h1 {
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.prose h2 {
    font-size: 1.875rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose h4 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.prose h5 {
    font-size: 1.125rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.prose h6 {
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.prose ul,
.prose ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.prose li {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose strong {
    color: #f59e0b;
    font-weight: 600;
}

.prose blockquote {
    border-right: 4px solid #f59e0b;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #f9fafb;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
    font-style: italic;
}

.prose blockquote p {
    margin: 0;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* RTL Support for Markdown Content */
.markdown-content {
    direction: rtl;
    text-align: right;
}

.markdown-content ul,
.markdown-content ol {
    padding-right: 1.25rem;
    padding-left: 0;
}

.markdown-content blockquote {
    border-right: 4px solid #f59e0b;
    border-left: none;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Hover Effects */
.specification-card {
    transition: all 0.3s ease;
}

.specification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .prose h1 {
        font-size: 1.875rem;
    }

    .prose h2 {
        font-size: 1.5rem;
    }

    .prose h3 {
        font-size: 1.25rem;
    }

    .prose h4 {
        font-size: 1.125rem;
    }

    .prose h5 {
        font-size: 1rem;
    }

    .prose h6 {
        font-size: 0.875rem;
    }
}

/* Leaflet Map Customizations */
.leaflet-container {
    font-family: "SomarSans", sans-serif;
}

.leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    margin: 0.75rem;
    font-size: 0.875rem;
}

.leaflet-popup-tip {
    background: white;
}

.leaflet-control-attribution {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Custom marker bounce animation */
@keyframes markerBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.leaflet-marker-icon {
    animation: markerBounce 1s ease-in-out 3;
}

/* Map controls styling */
.map-control-btn {
    transition: all 0.2s ease-in-out;
}

.map-control-btn:hover {
    transform: scale(1.05);
}

/* Loading animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* a:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 calc(1px + 2px) rgb(255 222 89 / 1),
        0 0 #0000;
} */
