/* =========================================================
   Locator Responsive
   ========================================================= */

@media (max-width: 768px) {
    .container {
        width: 94%;
        margin: 24px auto;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .locator-info-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .locator-info-tooltip {
        width: min(280px, 78vw);
        font-size: 12px;
        padding: 10px 12px;
        left: 0;
        transform: none;
    }

    .locator-info-tooltip::before {
        left: 18px;
        transform: rotate(45deg);
    }

    .search-box input {
        font-size: 16px;
        padding: 12px 14px;
    }

    .table-swipe-hint {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0 0 8px;
        font-size: 12px;
        font-weight: 600;
        color: #475569;
        line-height: 1.2;
        white-space: nowrap;
    }

    .table-swipe-hint__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #e2e8f0;
        color: #1e293b;
        font-size: 11px;
        flex-shrink: 0;
    }

    .table-scroll-top {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        margin-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: auto;
    }

    .table-scroll-top-inner {
        height: 1px;
    }

    .table-scroll-top::-webkit-scrollbar,
    .table-wrap::-webkit-scrollbar,
    .area-filters::-webkit-scrollbar {
        height: 10px;
    }

    .table-scroll-top::-webkit-scrollbar-thumb,
    .table-wrap::-webkit-scrollbar-thumb,
    .area-filters::-webkit-scrollbar-thumb {
        background: #9ca3af;
        border-radius: 999px;
    }

    .table-scroll-top::-webkit-scrollbar-track,
    .table-wrap::-webkit-scrollbar-track,
    .area-filters::-webkit-scrollbar-track {
        background: #e5e7eb;
        border-radius: 999px;
    }

    .table-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 560px;
        table-layout: auto;
    }

    th,
    td {
        padding: 12px;
        font-size: 14px;
    }

    th:nth-child(1),
    td:nth-child(1) {
        width: 48px;
        min-width: 48px;
        max-width: 48px;
    }

    th:nth-child(2),
    td:nth-child(2) {
        width: 1%;
        white-space: nowrap;
    }

    th:nth-child(3),
    td:nth-child(3) {
        width: 74px;
        min-width: 74px;
        white-space: nowrap;
    }

    th:nth-child(4),
    td:nth-child(4) {
        width: 92px;
        min-width: 92px;
        white-space: nowrap;
    }

    .map-btn,
    .saved-map-btn,
    .saved-remove-btn,
    .saved-note-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .save-btn {
        font-size: 22px;
    }

    .saved-item {
        flex-direction: column;
        align-items: stretch;
    }

    .saved-item-info {
        width: 100%;
    }

    .saved-item-actions {
        width: 100%;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .saved-note-btn,
    .saved-map-btn,
    .saved-remove-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .saved-item-comment {
        max-width: 100%;
        font-size: 12px;
        padding: 7px 9px;
    }
}

@media (min-width: 769px) {
    .table-swipe-hint {
        display: none;
    }
}