body {
    background-color: #f5f5f5;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}


textarea {
    resize: none;
}

.text-color-primary {
    color: #F1F1EC;
    font-family: "Roboto", sans-serif;
}

.text-color-secondary {
    color: #BFC9CE;
    font-family: "Roboto", sans-serif;
}

.text-color-teal {
    color: #3E777B;
    font-family: "Roboto", sans-serif;
}

.text-color-green {
    color: #157046;
    font-family: "Roboto", sans-serif;
}

.bg-teal {
    background-color: #3E777B;
    font-family: "Roboto", sans-serif;
}

.bg-green {
    background-color: #157046;
    font-family: "Roboto", sans-serif;
}

.bg-blueoil {
    background-color: #0C1A24;
    font-family: "Roboto", sans-serif;
}

.alert-error {
    background-color: #fff3cd;
    border: 1px solid #ffda6a;
    color: #0C1A24;
}

.ancho-maximo {
    max-width: 800px;
    min-width: 300px;
    width: 100%;
}

.navbar-toggler-icon {
    background-image: url("/static/img/icono-burger.svg");
}

/*
========
Sección para botones
========
*/

.nav-btn-teal {
    color: #F1F1EC;
}

.nav-btn-teal:hover {
    background-color: #2e5d61;
    border-color: #2e5d61;
    color: #F1F1EC;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    transform: translateY(-1px);
}

.nav-btn-teal:active {
    background-color: #2e5d61;
    border-color: #2e5d61;
    color: #F1F1EC;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    transform: translateY(-1px);
}

.btn-green {
    color: #0C1A24;
}

.btn-green:hover {
    background-color: #157046;
    border-color: #157046;
    color: #F1F1EC;
    box-shadow: 0 0 8px #1570459f;
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-green:active {
    background-color: #157046;
    border-color: #157046;
    color: #0C1A24;
    box-shadow: 0 0 8px #1570459f;
    transform: translateY(-1px);
}

.btn-outline-green {
    color: #0C1A24;
    border: 2px solid #1D9B61;
}

.btn-outline-green:hover {
    background-color: #1D9B61;
    border-color: #1D9B61;
    color: #F1F1EC;
    box-shadow: 0 0 8px #1d9b60c0;
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-outline-green:active {
    background-color: #1D9B61;
    border-color: #1D9B61;
    color: #0C1A24;
    box-shadow: 0 0 8px #1d9b60c0;
    transform: translateY(-1px);
}

.btn-bg-green {
    background-color: #157046;
    color: #F1F1EC;
    border: 2px solid #157046;
}

.btn-bg-green:hover {
    background-color: #157046;
    border-color: #157046;
    color: #F1F1EC;
    box-shadow: 0 0 8px #1570459f;
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-bg-green:active {
    background-color: #157046;
    border-color: #157046;
    color: #0C1A24;
    box-shadow: 0 0 8px #1570459f;
    transform: translateY(-1px);
}

.btn-teal {
    color: #0C1A24;
}

.btn-teal:hover {
    background-color: #2e5d61;
    border-color: #2e5d61;
    color: #F1F1EC;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-teal:active {
    background-color: #2e5d61;
    border-color: #2e5d61;
    color: #0C1A24;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    transform: translateY(-1px);
}

.btn-outline-teal {
    color: #0C1A24;
    border: 2px solid #3E7E84;
}

.btn-outline-teal:hover {
    background-color: #3E7E84;
    border-color: #3E7E84;
    color: #F1F1EC;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-outline-teal:active {
    background-color: #3E7E84;
    border-color: #3E7E84;
    color: #0C1A24;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    transform: translateY(-1px);
}

.btn-bg-teal {
    background-color: #3E777B;
    color: #F1F1EC;
    border: 2px solid #3E777B;
}

.btn-bg-teal:hover {
    background-color: #3E777B;
    border-color: #3E777B;
    color: #F1F1EC;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    opacity: 70%;
    transform: translateY(-1px);
}

.btn-bg-teal:active {
    background-color: #3E777B;
    border-color: #3E777B;
    color: #0C1A24;
    box-shadow: 0 0 8px rgba(62, 119, 123, 0.4);
    transform: translateY(-1px);
}



/*
=========
Sección para dropdown
=========
*/

/* Dropdown toggle para navbar */
.dropdown-toggle {
    color: #F1F1EC !important;
    background-color: transparent;
}

.dropdown-toggle:focus,
.dropdown-toggle:active,
.dropdown-toggle.show {
    color: #F1F1EC !important;
    background-color: #2e5d61 !important;
    border-color: #3E777B;
}

/* Menú desplegable: sin salto de línea, tamaño según contenido */
.dropdown-menu {
    min-width: auto;
    white-space: nowrap;
}

/* Estilo de ítems del menú */
.dropdown-item {
    color: #F1F1EC;
    transition: background-color 0.2s ease-in-out;
}



/*
=========
Banner Cookies
=========
*/


.banner-cookies-display {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.banner-cookies {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}