/* css/app.css */

body {
    scroll-behavior: smooth;
}

/* Tap List */
.tap-list-wrapper {
    min-height: auto !important;
}

.dark .tap-list-item {
    background-color: #262626;
    border-color: #404040;
    color: #e5e5e5;
}

#tap-list {
    width: 100%;
    display: block;
}

#tap-list ol {
    column-count: 1 !important;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 1300px) {
    #tap-list ol {
        column-count: 2 !important;
        column-gap: 2rem !important;
    }
}

#tap-list li {
    margin-bottom: 1rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

#tap-list ol li .title,
#tap-list ol li .level,
#tap-list ol li .price {
    background-color: #ffffff !important;
}

.dark #tap-list {
    color: #e5e5e5;
}

.dark #tap-list ol li .title,
.dark #tap-list ol li .level,
.dark #tap-list ol li .price {
    background-color: #111827 !important;
    color: #e5e5e5 !important;
}

#tap-list-status {
    display: none; 
    width: fit-content;
    margin: 10px auto;
}

/* Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal */
.modal-enter-active,
.modal-leave-active {
    transition: opacity 0.3s ease;
}

.modal-enter-from,
.modal-leave-to {
    opacity: 0;
}

/* Leaflet */
.leaflet-pane {
    z-index: 0 !important;
}

.leaflet-control {
    z-index: 0 !important;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 0 !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 15px 20px 15px 15px !important;
    max-width: 250px !important;
    line-height: 1.4;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 5px;
    right: 5px;
    padding: 4px;
    width: 24px;
    height: 24px;
    font-size: 16px;
    color: #666;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: #e5e7eb;
    color: #333;
}