/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
    font-family: 'Jost';
    font-size: 14px;
}


/* FONTS */
.font-size-14px-imp {
    font-size: 14px !important;
}

.font-size-16px-imp {
    font-size: 16px !important;
}

.font-size-70perc-imp {
    font-size: 70% !important;
}

.font-weight-100 {
    font-weight: 100;
}


/* COLOR */
.color-green {
    color: #40A474 !important;
}

.color-medium-green {
    color: #54BB8A;
}

.color-light-green {
    color: #EBFFF5;
}

.color-electric-green {
    color: #55C64B
}

.color-orange {
    color: #F0BC6F;
}


/* BACKGROUNDS */
.bg-green {
    background-color: #40A474;
}

.bg-medium-green {
    background-color: #40A474;
}

.bg-light-green {
    background-color: #EBFFF5 !important;
}

.bg-electric-green {
    background-color: #55C64B
}

.bg-orange {
    background-color: #F0BC6F;
}


/* BUTTONS */
.btn-confirm {
    background-color: #71F0B3;
    color: #077C44;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    border: 1.5px #54BB8A solid;
    font-size: 14px;
}

.btn-confirm:disabled {
    border: 1.5px #71F0B3 solid !important;
    background-color: #EBFFF5 !important;
    color: #CCCCCC !important;
}

.btn-confirm:hover {
    background-color: #71F0B3;
    color: white;
}

.btn-cancel {
    background-color: white;
    color: #077C44;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    border-color: #54BB8A;
    font-size: 14px;
}

.btn-delete {
    background-color: #F0BC6F;
    color: #464123;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    border-color: #C18F53;
    font-size: 14px;
}

.btn-icon-delete {
    background-color: #CCCCCC;
    border-color: #CCCCCC;
    padding: 1px;
    width: 20px;
    height: 20px;
    border-radius: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-delete:hover {
    background-color: #F0BC6F !important;
    border-color: #C18F53 !important;
}


/* BORDERS */
.border-light-gray {
    border: 1px #DBDBDB solid !important;
}

.border-top-light-gray {
    border-top: 1px #DBDBDB solid !important;
}

.border-bottom-light-gray {
    border-bottom: 1px #DBDBDB solid !important;
}

.border-green {
    border: 1px #40A474 solid !important;
}

.border-bottom-green {
    border-bottom: 1px #40A474 solid !important;
}

.border-medium-green {
    border: 1px #54BB8A solid !important;
}

.border-bottom-medium-green {
    border-bottom: 1px #54BB8A solid !important;
}

.border-electric-green {
    border: 1px #55C64B solid !important;
}

.border-light-green {
    border: 1px #EBFFF5 solid !important;
}

.border-bottom-light-green {
    border-bottom: 1px #EBFFF5 solid !important;
}

/* HEIGHTS */
.min-h-80vh {
    min-height: 80vh;
}

.min-h-100vh {
    min-height: 100vh;
}

/* MARGINS AND PADDINGS */
.mr-3px {
    margin-right: 3px;
}

.mr-5px {
    margin-right: 5px;
}

.mr-8px {
    margin-right: 8px;
}

.px-2_1rem-imp {
    padding-left: 2.1rem !important;
    padding-right: 2.1rem !important;
}

.w-108px {
    width: 108px;
}

/* CUSTOM CLASSES */
.grayscale {
    filter: grayscale(100%);
}

.cursor-pointer {
    cursor: pointer;
}

.active-link {
    border-bottom: 2px #40A474 solid !important;
}

.link:hover {
    color: #55C64B !important;
}

.alert-banner {
    background-color: #F0BC6F;
    border-color: #C18F53;
    color: #464123;
}

#logo_claim {
    font-size: 20px;
}

.list-item:hover {
    background-color: #EBFFF5 !important;
}

.nested-fields:hover .btn-delete-container {
    display: inline-block !important;
    align-self: center;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.pagination {
    background-color: white !important;
    color: #EBFFF5 !important;
    --bs-pagination-color: #40A474 !important;
    --bs-pagination-hover-color: #40A474 !important;
    --bs-pagination-focus-color: #40A474 !important;
    --bs-pagination-active-color: white !important;
    --bs-pagination-active-bg: #40A474 !important;
    --bs-pagination-active-border-color: #DBDBDB !important;
}


/* CAMPI DI INPUT DEI FORM */
.form-label {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #3FB57C;
    margin-bottom: 0;
}

.login-form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #7a7a7a;
    font-size: 14px;
    background-color: #92CDB1 !important;
    padding: 2px !important;
}

.login-form-input-field::placeholder {
    color: #777777 !important;
    opacity: 1 !important;
}

.form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #7a7a7a !important;
    font-size: 14px;
    background-color: #EBFFF5 !important;
    padding: 2px !important;
}

.form-input-field::placeholder {
    color: #777777 !important;
    opacity: 1 !important;
    font-size: 14px;
}

.form-input-field:focus {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 2px #40A474 solid;
    color: #7a7a7a !important;
    font-size: 14px;
    background-color: #EBFFF5 !important;
    box-shadow: 0 0 0px transparent !important;
    outline: none !important;
}

.filter-form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #7a7a7a;
    font-size: 14px;
    background-color: transparent !important;
    padding-top: 10px;
    padding-bottom: 1px;
    padding-left: 0px;
}

.search-form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #54BB8A;
    font-size: 14px;
    background-color: transparent !important;
    padding-top: 10px;
    padding-bottom: 1px;
    padding-left: 0px;
}

.filter-form-input-field:focus {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 2px #40A474 solid;
    box-shadow: 0 0 0px transparent !important;
    outline: none !important;
}

.filter-form-input-field::placeholder {
    color: #777777 !important;
    opacity: 1 !important;
    font-size: 14px;
}

.search-form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #40A474;
    font-size: 14px;
    background-color: transparent !important;
    padding-top: 10px;
    padding-bottom: 4px;
    padding-left: 0px;
    padding-right: 5px;
}

.search-form-input-field:focus {
    box-shadow: 0 0 0px transparent !important;
    outline: none !important;
}

.file-input {
    display: none;
}

.file-label {
    display: inline-block;
    font-size: 14px;
    color: #3FB57C;
    cursor: pointer;
    border: none !important;
}

.file-name {
    display: block;
    font-size: 14px;
    color: #333;
}

/* NAVBAR E FOOTER */
.navbar-search-input-field {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    color: #7a7a7a;
    font-size: 14px;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 10px !important;
}

.navbar-search-input-field::placeholder {
    color: #777777 !important;
    font-size: 14px !important;
    opacity: 1 !important;
}

.navbar-search-button {
    background-color: #71F0B3;
    color: #077C44;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    border-radius: 5px;
    border: 1.5px #54BB8A solid;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 5px !important;
    border-top-right-radius: 5px !important;
    font-size: 14px !important;
}

.navbar-search-button:hover {
    background-color: #71F0B3;
    color: white;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    width: 40px; /* larghezza del toggle */
    height: 20px; /* altezza del toggle */
    background-color: #92CDB1; /* colore di sfondo "off" */
    border-radius: 20px; /* bordi arrotondati */
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Cerchio del toggle */
.toggle-label::after {
    content: "";
    width: 18px; /* dimensione del cerchio */
    height: 18px;
    background-color: #71F0B3; /* colore del cerchio */
    border: 1.5px #54BB8A solid;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.3s;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #E4F6EE; /* colore dello sfondo "on" */
}

.toggle-checkbox:checked + .toggle-label::after {
    transform: translateX(20px); /* sposta il cerchio a destra */
}


/* ACCORDIONS */
.accordion-button {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #EBFFF5;
}

.entity-accordion-button:not(.collapsed) {
    background-color: white !important;
}

.entity-accordion-button::after {
    display: none;
}


/* MEDIA QUERIES */
@media (min-width: 480px) {
    .min-w-sm-180px {
        min-width: 180px;
    }

    .min-w-sm-297px {
        min-width: 297px;
    }
}

@media (min-width: 768px) {
    .min-h-md-100vh {
        min-height: 100vh;
    }
}


/* IMAGES ANIMATION */
.image-container {
    position: relative;
    width: 250px;
    height: 330px;
}

.image-container img {
    position: absolute;
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.image-container img:first-child {
    z-index: 2;
    width: 100%;
}

.image-container img:last-child {
    z-index: 1;
    width: 85%;
    top: 20px;
    left: 85px;
}

.image-container:hover img:first-child {
    z-index: 1;
    transform: scale(0.9) translate(10px, -20px); /* Riduci la dimensione e sposta la prima immagine */
}

.image-container:hover img:last-child {
    z-index: 2;
    transform: scale(1.1) translate(-10px, 20px); /* Aumenta la dimensione e sposta la seconda immagine */
}

[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target] {
    background-color: #3FB57C !important;
}
