@import "./libs/all.min.css";

@font-face {
    font-family: Corra-Montserra-Bold;
    src: url(./webfonts/Corra-Montserra-Bold.woff2);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Regular;
    src: url(./webfonts/Gilroy-Regular.woff2);
    font-display: swap;
}

:root {
    --color-color-1: #67132d;
    --color-color-2: #0d312d;
    --color-color-3: #ce975c;
    --color-color-4: #575756;
    --color-color-5: #b1b1b1;
    --color-color-6: #ad1c35;
    --color-color-7: #26635a;
    --color-color-8: #e8bb8f;
    --color-color-9: #868686;
    --color-color-10: #ececec;
    --font-titulo: "Corra-Montserra-Bold";
    --font-parrafo: "Gilroy-Regular";
    --shadow-lg: 0 1px 5px rgba(0, 0, 0, 0.65);
}

body {
    font-family: var(--font-parrafo);
    background-color: var(--color-color-10);
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-titulo);
}

header {
    font-size: 20px;
    margin-bottom: 8px;
    padding-top: 24px;
    padding-bottom: 24px;
}

input:focus,
select:focus {
    outline: none;
}

.btn {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.container {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

/* .group-2 {
    & .form-control:nth-child(1) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    & .btn:nth-child(2) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
} */

.form-control {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 13px;
    color: #303030;
    line-height: 18px;
}

.ts-control {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
    border-radius: 8px !important;
}

.ts-control > input {
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.ts-dropdown {
    & .option {
        display: flex !important;
        min-height: 30px !important;

        & .highlight {
            width: fit-content !important;
            margin: 0 !important;
        }
    }
}

.ts-wrapper.single .ts-control:not(.rtl)::after {
    right: 0 !important;
}

.header-branding-bar {
    height: 1rem;
    background-color: var(--color-color-7);
    border-top-width: 4px;
    border-top-color: var(--color-color-3);
    margin-top: 24px;
}

.container-map {
    position: relative;
    height: 80vh;
    box-shadow: var(--shadow-lg);
}

.btn-sidebar {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 999;
    width: 32px;
    height: 32px;
    background-color: white;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.btn-sidebar::before {
    font-family: "Font Awesome 7 Free";
    content: "\f0c9";
    font-weight: bold;
}

.btn-sidebar.show::before {
    content: "\f00d";
    font-weight: bold;
}

.btn-sidebar:hover {
    background-color: var(--color-color-1);
    color: white;
}

.card {
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 1rem;
    border-left-width: 8px;
    border-left-color: transparent;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.card:hover {
    border-left-color: var(--color-color-1);
    box-shadow: var(--shadow-lg);
}

.sidebar {
    overflow: hidden;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 0.25rem;
    width: 0;
    background-color: #ffffff;
    z-index: 998;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    height: calc(100% - 2.3rem);
    transition: width 0.3s ease-in-out;
}

.sidebar h5,
.sidebar h6 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.sidebar span {
    display: block;
    width: 50%;
    background-color: var(--color-color-1);
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.sidebar .btn-search {
    border: 1px solid var(--color-color-1);
    color: var(--color-color-1);
    width: fit-content;
    border-radius: 8px;
}

.sidebar .btn-search:hover {
    background-color: var(--color-color-1);
    color: white;
}

.sidebar .separator {
    border: 1px dashed #bfbfbf;
}

.sidebar.show {
    padding: 1rem;
    width: 33.333333%;
}

.map {
    width: 100%;
    height: 100%;
}

.leaflet-touch .leaflet-bar {
    box-shadow: var(--shadow-lg);
    border: 0;
}

.custom-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.custom-popup .leaflet-popup-content {
    margin: 16px !important;
    width: auto !important;
}

.custom-popup .leaflet-popup-tip {
    box-shadow: var(--shadow-lg);
}

[x-cloak] {
    display: none;
}
