.leaflet-popup-content,
body {
    font-family: Poppins, sans-serif;
}
.btn,
.header h1 {
    font-weight: 600;
    text-transform: uppercase;
}
.table thead th {
    text-transform: uppercase
}
.btn,
.export-btn {
    display: inline-flex
}
.header h1,
.map-container,
.table td {
    position: relative
}
.map-container,
.table,
.table td {
    overflow: hidden
}
.header h1:after,
.table td::after {
    content: '';
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%
}
.header,
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color))
}
.btn,
.table thead th,
footer p {
    letter-spacing: 1px
}
#map {
    height: 800vh;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    margin-top: 20px
}
.map-container {
    height: calc(100vh - 100px);
    margin: 20px;
    border-radius: 10px
}
.leaflet-popup-content {
    padding: 10px
}
.leaflet-control-zoom {
    margin: 15px!important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)!important
}
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0
    }
    to {
        transform: translateX(0);
        opacity: 1
    }
}
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0
    }
    to {
        transform: translateX(0);
        opacity: 1
    }
}
@keyframes bounce {
    0%, 100%, 20%, 50%, 80% {
        transform: translateY(0)
    }
    40% {
        transform: translateY(-20px)
    }
    60% {
        transform: translateY(-10px)
    }
}
.logo {
    height: 70px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .3));
}
.filters-section .filters-section .form-select {
    max-width: 300px;
    margin: 0 auto
}
.filters-section .row {
    display: flex;
    justify-content: center;
    align-items: center
}
.filters-section .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center
}
.filters-section .map-section,
.filters-section .row.g-4 {
    width: 100%;
    max-width: 600px
}
.filters-section #map-wrapper {
    margin: 0 auto
}
.map-section {
    margin-bottom: 3rem
}
@media (max-width: 768px) {
    .filters-section .col-md-6 {
        width: 100%
    }
    .filters-section {
        margin-top: 2rem
    }
    .map-section {
        margin-bottom: 2rem
    }
    #map-wrapper {
        height: 300px!important
    }
}
@media (max-width: 576px) {
    .filters-section {
        margin-top: 1.5rem
    }
    .map-section {
        margin-bottom: 1.5rem
    }
    #map-wrapper {
        height: 250px!important
    }
    .row.g-4>div {
        margin-bottom: 1rem
    }
    .header .container {
        flex-direction: column;
        text-align: center
    }
    .header .d-flex {
        flex-direction: column
    }
    .logo {
        margin-bottom: 10px
    }
    .btn-group {
        margin-top: 15px
    }
    .filters-section .row {
        margin: 0
    }
    .col-md-3 {
        padding: 5px
    }
    .table {
        font-size: .8em
    }
    .dropdown-menu {
        width: 100%
    }
}
@media (max-height: 500px) {
    footer {
        position: relative
    }
    body {
        margin-bottom: 0
    }
}
@media (min-width: 992px) {
    .btn-group {
        gap: 10px
    }
}
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #2962ff;
    --hover-color: #3d5afe
}
body {
    background: white;
    overflow-x: hidden;
    margin-bottom: 70px
}
.header {
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .2);
    animation: 10s infinite gradientShift;
    position: sticky;
    top: 0;
    z-index: 1000
}
@keyframes gradientShift {
    0%, 100% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
}
.header h1 {
    color: #fff;
    letter-spacing: 2px;
    animation: 3s ease-in-out infinite flutuar;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
}
@keyframes flutuar {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}
.header h1:after {
    bottom: -5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}
@keyframes brilhar {
    0% {
        background-position: -200px
    }
    100% {
        background-position: 200px
    }
}
@keyframes textGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
    }
    to {
        text-shadow: 0 0 10px rgba(255, 255, 255, .5)
    }
}
.logo:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, .4))
}
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    transition: .3s;
    align-items: center;
    justify-content: center;
    gap: 8px
}
.btn i {
    font-size: 1.1em
}
.btn-primary {
    background: var(--accent-color);
    border: none;
    color: #fff
}
.btn-outline {
    background: 0 0;
    border: 2px solid #fff;
    color: #fff
}
.btn-outline:hover {
    background: #fff;
    color: var(--primary-color)
}
.dropdown-menu {
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    border: none;
}
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}
.dropdown-item {
    padding: 12px 20px;
    border-radius: 10px;
    transition: .3s
}
.filters-section,
.table-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transform: translateY(20px);
    opacity: 0
}
.dropdown-item:hover,
.export-menu button:hover {
    background: #f0f2f5;
    transform: translateX(5px)
}
.filters-section {
    margin: 30px 0;
    animation: 0.3s ease-out forwards slideUpFade
}
.table-section {
    animation: 0.3s ease-out .2s forwards slideUpFade
}
@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1
    }
}
.form-control,
.form-select {
    border-radius: 12px;
    border: 3px solid #e9ecef;
    padding: 15px;
    background: #f8f9fa
}
.contact-btn,
.export-btn {
    padding: 12px 25px;
    font-weight: 600
}
.export-btn,
.table td::after {
    background: var(--accent-color)
}
.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 .25rem rgba(41, 98, 255, .25);
    transform: translateY(-2px)
}
.table {
    text-align: center;
    border-radius: 15px;
    border-collapse: separate;
    border-spacing: 0
}
.table thead th {
    background: #0d47a1;    
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 1.em
}
.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.02) translateX(10px);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, .1)
}
.export-btn {
    border-radius: 12px;
    margin: 5px;
    align-items: center;
    gap: 10px;
    color: #fff;
    border: none
}
.export-btn:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(41, 98, 255, .3)
}
.contact-btn {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none
}
.contact-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 35, 126, .3)
}
.export-menu {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
    padding: 10px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
}
.export-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible
}
.export-menu button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: 0 0;
    text-align: left;
    transition: .3s;
    border-radius: 8px;
    color: var(--primary-color)
}
.table td,
footer {
    text-align: center
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}
.table td::after {
    bottom: 0;
    transform: translateX(-100%);
    transition: transform .3s
}
.table tr:hover td::after {
    transform: translateX(0)
}
@media (max-width: 768px) {
.header {
    padding: 15px
}
.header h1 {
    font-size: 1.2rem;
    margin-top: 10px
}
.logo {
    height: 50px
}
.btn-group {
    flex-direction: column;
    width: 100%;
    margin-top: 15px
}
.btn {
    width: 100%;
    margin: 5px 0;
    padding: 10px 15px;
    font-size: .9rem
}
.filters-section {
    padding: 20px;
    margin: 15px 0
}
.table-section {
    padding: 20px;
    overflow-x: auto
}
.form-control,
.form-select {
    margin-bottom: 10px
}
.table thead th {
    padding: 12px;
    font-size: .9em
}
.table td {
    padding: 10px;
    font-size: .9em
}
.export-btn {
    width: 100%;
    margin: 5px 0
}
.contact-btn {
    width: 100%;
    text-align: center
}
.dropdown-menu {
    position: fixed!important;
    top: auto!important;
    left: 0!important;
    right: 0!important;
    bottom: 0;
    margin: 0;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, .1);
    padding: 20px;
    transform: translateY(100%);
}
.dropdown-menu.show {
    transform: translateY(0)
}
.dropdown-item {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee
}
.dropdown-item:last-child {
    border-bottom: none
}
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f2f5
}
.table-responsive::-webkit-scrollbar {
    height: 6px
}
.table-responsive::-webkit-scrollbar-track {
    background: #f0f2f5;
    border-radius: 3px
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px
}
@media (max-width: 320px) {
    .header h1 {
        font-size: 1rem
    }
    .btn {
        font-size: .8rem;
        padding: 8px 12px
    }
    .table td,
    .table th {
        padding: 8px;
        font-size: .8em
    }
}
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        position: relative
    }
    .btn-group,
    .header .container {
        flex-direction: row
    }
    .dropdown-menu {
        position: absolute!important;
        bottom: auto;
        max-height: 80vh;
        overflow-y: auto
    }
}
.loading,
footer {
    color: #fff;
    position: fixed
}
.loading {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .9);
    padding: 25px 40px;
    border-radius: 15px;
    display: none;
}
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1)
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05)
    }
}
footer {
    padding: 20px;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, .2)
}
footer p {
    margin: 0;
    font-size: 14px
}