@font-face {
    font-family: "CasanovaScotia";
    src: url("/fonts/CasanovaScotia.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu";
    src: url("/fonts/Ubuntu-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

.property-cover {
    max-height: 250px;
    max-width: 250px;
    object-fit: contain;
    transition: all 200ms ease;
}
.property-cover.is-horizontal {
    height: 250px;
    width: auto;
}
.property-cover.is-vertical {
    width: 250px;
    height: auto;
}

/* Quitar el diseño por defecto en todos los navegadores */
input[type="range"].appearance-none {
    -webkit-appearance: none;
    appearance: none;
}

/* La Pelotica (Thumb) para Chrome, Safari, Edge */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: var(--slider-color); /* Usamos la variable */
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: -8px; /* Ajusta según el grosor de tu barra */
}

/* La Pelotica para Firefox */
input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: var(--slider-color); /* Usamos la variable */
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Opcional: Color de la barra activa en Firefox */
input[type="range"]::-moz-range-progress {
    background-color: var(--slider-color);
    border-radius: 8px;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #036666;
    color: #fff;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #036666 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-primary {
    background-color: #3b82f6;
    color: white;
}
.btn-primary:hover {
    background-color: #2563eb;
}
.btn-secondary {
    background-color: #d1d5db;
    color: black;
}
.btn-secondary:hover {
    background-color: #9ca3af;
}
.btn-success {
    background-color: #10b981;
    color: white;
}
.btn-success:hover {
    background-color: #059669;
}
.btn-danger {
    background-color: #ef4444;
    color: white;
}
.btn-danger:hover {
    background-color: #dc2626;
}
.styled-select {
    cursor: pointer;
    /*appearance: base-select;
    padding: 0.5rem;
    padding-inline: 0.5rem;
    padding-block: 0.5rem;*/

    &::picker(select) {
        color: #737373;
    }
}

.styled-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 133, 0, 0.6);
}
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background: #e2e8f0;
    cursor: pointer;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.background-box {
    /*background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1600&q=80');*/ /* Set the image URL */
    /*background-color: #888e9a;             Fallback color equivale a bg-gray-450 por IA*/
    background-image: url("/img/photo-presentation-background.jpg");
    background-color: #7a818e;
    height: 650px; /* Set a height */
    width: 100%; /* Set a width */
    background-size: cover; /* Scale the image to cover the entire container */
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-position: center; /* Center the image within the div */
}

/*https://unsplash.com/es/fotos/una-vista-de-un-puente-muy-alto-con-un-fondo-de-cielo-t3MkmDl_cdQ*/
