.san-page,
.san-page *,
.san-page *::before,
.san-page *::after {
    box-sizing: border-box;
}

.san-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f4f7fb;
    font-family: "Open Sans", Arial, sans-serif;
    color: #183556;
}

.san-container {
    width: calc(100% - 40px);
    max-width: 1420px;
    margin: 0 auto;
}

.san-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 47px;
    background: linear-gradient(
        135deg,
        #082f62 0%,
        #0b447e 100%
    );
    color: #ffffff;
}

.san-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(255,255,255,.035);
}

.san-hero::after {
    content: "";
    position: absolute;
    right: 140px;
    bottom: -230px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,.025);
}

.san-eyebrow {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 8px;
    color: #73c8f4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.san-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.san-hero p {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 13px 0 0;
    color: rgba(255,255,255,.87);
    font-size: 13.5px;
    line-height: 1.65;
}

.san-content {
    padding: 42px 0 65px;
}

.san-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 21px;
}

.san-section-heading > div:first-child > span {
    display: block;
    margin-bottom: 5px;
    color: #0572b9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.san-section-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: #0b3264;
    font-size: 27px;
    font-weight: 800;
}

.san-section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    border-radius: 20px;
    background: #0572b9;
}

.san-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 35px;
    padding: 7px 13px;
    border: 1px solid #d5e0ea;
    border-radius: 20px;
    background: #ffffff;
    color: #647a91;
    font-size: 10px;
}

.san-total-badge i,
.san-total-badge strong {
    color: #0b3264;
}

.san-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 19px;
}

.san-stat {
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid #dce5ee;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(11,50,100,.03);
}

.san-stat-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf3fb;
    color: #0b3264;
    font-size: 15px;
}

.san-stat-icon.active {
    background: #e9f7ef;
    color: #16874c;
}

.san-stat-icon.expired {
    background: #fdecec;
    color: #ce3540;
}

.san-stat-icon.pending {
    background: #fff4df;
    color: #946200;
}

.san-stat span {
    display: block;
    margin-bottom: 1px;
    color: #77899b;
    font-size: 9px;
}

.san-stat strong {
    color: #0b3264;
    font-size: 18px;
    font-weight: 800;
}

.san-filter-card {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        220px
        190px
        auto;
    gap: 9px;
    margin-bottom: 18px;
    padding: 13px;
    border: 1px solid #dce5ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(11,50,100,.035);
}

.san-search,
.san-select {
    position: relative;
}

.san-search > i,
.san-select > i {
    position: absolute;
    z-index: 3;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c8ea1;
    font-size: 11px;
    pointer-events: none;
}

.san-search input,
.san-select select {
    width: 100%;
    height: 43px;
    padding: 7px 12px 7px 38px;
    border: 1px solid #d4dfe9;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #344c64;
    font-size: 11px;
}

.san-search input::placeholder {
    color: #9aa7b5;
}

.san-search input:focus,
.san-select select:focus {
    border-color: #0b3264;
    box-shadow: 0 0 0 3px rgba(11,50,100,.07);
}

.san-clear-btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid #d4dfe9;
    border-radius: 8px;
    background: #ffffff;
    color: #0b3264;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
}

.san-clear-btn:hover {
    background: #edf5fb;
    border-color: #b9cbdb;
}

.san-autocomplete {
    position: absolute;
    z-index: 2000;
    left: 0;
    top: calc(100% + 5px);
    display: none;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d8e2ec;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(11,50,100,.13);
}

.san-autocomplete.show {
    display: block;
}

.san-autocomplete-item {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.san-autocomplete-item:last-child {
    border-bottom: 0;
}

.san-autocomplete-item:hover {
    background: #f4f8fc;
}

.san-autocomplete-item strong {
    display: block;
    color: #0b3264;
    font-size: 10.5px;
}

.san-autocomplete-item span {
    display: block;
    margin-top: 3px;
    color: #8291a1;
    font-size: 9px;
}

.san-autocomplete-empty {
    padding: 13px;
    color: #8392a2;
    font-size: 10px;
}

.san-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 15px;
    align-items: stretch;
}

.san-map-card,
.san-results-card {
    overflow: hidden;
    border: 1px solid #dce5ee;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(11,50,100,.045);
}

.san-map-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 14px;
    border-bottom: 1px solid #e5ecf2;
    background: #ffffff;
}

.san-map-header strong {
    display: block;
    color: #0b3264;
    font-size: 11.5px;
}

.san-map-header span {
    display: block;
    margin-top: 2px;
    color: #8190a0;
    font-size: 9px;
}

.san-map-tool {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d3deea;
    border-radius: 7px;
    background: #ffffff;
    color: #0b3264;
    cursor: pointer;
    transition: .18s ease;
}

.san-map-tool:hover {
    background: #edf5fb;
}

#map {
    width: 100%;
    height: 610px;
    z-index: 1;
}

.san-results-card {
    height: 669px;
    display: flex;
    flex-direction: column;
}

.san-results-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #e5ecf2;
    background: #fbfcfe;
}

.san-results-header span {
    display: block;
    color: #0572b9;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.san-results-header strong {
    display: block;
    margin-top: 2px;
    color: #0b3264;
    font-size: 11px;
}

.san-results-list {
    flex: 1;
    overflow-y: auto;
}

.san-results-list::-webkit-scrollbar {
    width: 6px;
}

.san-results-list::-webkit-scrollbar-track {
    background: #f4f6f8;
}

.san-results-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #c5d1dc;
}

.san-result-item {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #e8edf2;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    transition:
        background .15s ease,
        padding-left .15s ease;
}

.san-result-item:hover {
    padding-left: 17px;
    background: #f3f8fc;
}

.san-result-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

.san-result-status {
    display: inline-flex;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 7.5px;
    font-weight: 800;
}

.san-result-status.success {
    background: #e8f6ed;
    color: #1b8748;
}

.san-result-status.danger {
    background: #fdecec;
    color: #b4232c;
}

.san-result-status.warning {
    background: #fff4df;
    color: #946200;
}

.san-result-status.neutral {
    background: #eef2f5;
    color: #68798b;
}

.san-result-item > strong {
    display: block;
    color: #0b3264;
    font-size: 10.5px;
    line-height: 1.4;
}

.san-result-ruc {
    display: block;
    margin-top: 4px;
    color: #51718f;
    font-size: 8.5px;
    font-weight: 700;
}

.san-result-address {
    display: block;
    margin-top: 5px;
    color: #697d91;
    font-size: 9px;
    line-height: 1.4;
}

.san-result-address i {
    margin-right: 3px;
    color: #0572b9;
}

.san-result-item small {
    display: block;
    margin-top: 4px;
    color: #8a98a7;
    font-size: 8.5px;
}

.san-no-results {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #8796a5;
    text-align: center;
}

.san-no-results i {
    margin-bottom: 8px;
    color: #0b3264;
    font-size: 25px;
}

.san-no-results strong {
    color: #0b3264;
    font-size: 12px;
}

.san-no-results span {
    margin-top: 4px;
    font-size: 9px;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    margin: 13px;
}

.san-popup {
    min-width: 225px;
    max-width: 320px;
    font-family: "Open Sans", Arial, sans-serif;
}

.san-popup-image {
    overflow: hidden;
    margin: -1px -1px 11px;
    border-radius: 7px;
    background: #eef3f7;
}

.san-popup-image img {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

.san-popup-state {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 4px 7px;
    border-radius: 14px;
    font-size: 8px;
    font-weight: 800;
}

.san-popup-state.success {
    background: #e8f6ed;
    color: #1b8748;
}

.san-popup-state.danger {
    background: #fdecec;
    color: #b4232c;
}

.san-popup-state.warning {
    background: #fff4df;
    color: #946200;
}

.san-popup-state.neutral {
    background: #eef2f5;
    color: #68798b;
}

.san-popup h3 {
    margin: 0 0 10px;
    color: #0b3264;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.san-popup-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.san-popup-data > div {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #5e7185;
    font-size: 9px;
    line-height: 1.45;
}

.san-popup-data i {
    width: 13px;
    margin-top: 2px;
    color: #0572b9;
}

.san-popup-data strong {
    color: #344e68;
    font-weight: 700;
}

.san-popup-extra {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #e1e8ef;
}

.san-popup-extra-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: #0b3264;
    font-size: 9px;
    font-weight: 800;
}

.san-popup-extra-title i {
    color: #0572b9;
}

.san-popup-extra-content {
    padding: 9px 10px;
    border-radius: 7px;
    background: #f5f8fb;
    color: #586f85;
    font-size: 9px;
    line-height: 1.55;
}

.san-popup-extra-content p {
    margin: 0 0 6px;
}

.san-popup-extra-content p:last-child {
    margin-bottom: 0;
}

.san-popup-extra-content ul,
.san-popup-extra-content ol {
    margin: 5px 0;
    padding-left: 18px;
}

.san-documents {
    margin-top: 48px;
}

.san-doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.san-doc-card {
    display: grid;
    grid-template-columns:
        50px
        minmax(0,1fr)
        auto;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    border: 1px solid #dce5ee;
    border-radius: 11px;
    background: #ffffff;
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.san-doc-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(11,50,100,.06);
}

.san-doc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef4fa;
    color: #e03131;
    font-size: 20px;
}

.san-doc-info > span {
    display: block;
    margin-bottom: 3px;
    color: #0572b9;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.san-doc-info h3 {
    margin: 0;
    color: #0b3264;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}

.san-doc-meta {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.san-doc-meta span {
    color: #8090a0;
    font-size: 8.5px;
}

.san-doc-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border-radius: 7px;
    background: #0b3264;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 700;
    transition: .18s ease;
}

.san-doc-btn:hover {
    background: #0572b9;
}

.san-map-card:fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #ffffff;
}

.san-map-card:fullscreen #map {
    height: calc(100vh - 58px);
}

.leaflet-control-zoom a {
    color: #0b3264 !important;
}

.leaflet-control-attribution {
    font-size: 8px !important;
}

@media (max-width: 991.98px) {

    .san-filter-card {
        grid-template-columns: 1fr 1fr;
    }

    .san-map-layout {
        grid-template-columns: 1fr;
    }

    .san-results-card {
        height: 420px;
    }

    #map {
        height: 520px;
    }
}

@media (max-width: 575.98px) {

    .san-container {
        width: calc(100% - 24px);
    }

    .san-hero {
        padding: 31px 0;
    }

    .san-hero h1 {
        font-size: 25px;
    }

    .san-hero p {
        font-size: 11.5px;
    }

    .san-content {
        padding: 29px 0 42px;
    }

    .san-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .san-section-heading h2 {
        font-size: 22px;
    }

    .san-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .san-stat {
        min-width: 0;
    }

    .san-filter-card {
        grid-template-columns: 1fr;
    }

    .san-clear-btn {
        width: 100%;
    }

    #map {
        height: 440px;
    }

    .san-results-card {
        height: 370px;
    }

    .san-doc-card {
        grid-template-columns:
            43px
            minmax(0,1fr);
    }

    .san-doc-icon {
        width: 43px;
        height: 43px;
    }

    .san-doc-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 380px) {

    .san-stats {
        grid-template-columns: 1fr;
    }

    .san-hero h1 {
        font-size: 22px;
    }

    #map {
        height: 390px;
    }
}