/*
 * 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: 13px;
}


/* COLOR */
.color-blue {
    color: #2E378D !important;
}

.color-medium-blue {
    color: #3EA2EA;
}

.color-light-blue {
    color: #E2FDFF;
}

.color-white {
    color: white;
}

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

.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;
}


/* BACKGROUNDS */
.bg-blue {
    background-color: #2E378D;
}

.bg-medium-blue {
    background-color: #3EA2EA;
}

.bg-light-blue {
    background-color: #E2FDFF;
}

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

.bg-light-gray {
    background-color: #F2F2F2;
}


/* 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-blue{
    border: 1px #2E378D solid !important;
}

.border-bottom-blue {
    border-bottom: 1px #2E378D solid !important;
}

.border-medium-blue {
    border: 1px #3EA2EA solid !important;
}

.border-bottom-medium-blue {
    border-bottom: 1px #3EA2EA solid !important;
}

.border-electric-blue {
    border: 1px #2E378D solid !important;
}

.border-light-blue {
    border: 1px #E2FDFF solid !important;
}

.border-bottom-light-blue {
    border-bottom: 1px #E2FDFF solid !important;
}


/* BUTTONS */
.btn-confirm {
    background-color: #2E378D;
    color: white;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    font-size: 14px;
}

.btn-confirm:disabled {
    border: 1.5px #2E378D solid !important;
    background-color: #E2FDFF !important;
    color: #CCCCCC !important;
}

.btn-confirm:hover {
    background-color: #2E378D;
    color: white;
}

.btn-login {
    background-color: #3EA2EA;
    color: white;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    font-size: 14px;
}

.btn-login:disabled {
    border: 1.5px #3EA2EA solid !important;
    background-color: #E2FDFF !important;
    color: #CCCCCC !important;
}

.btn-login:hover {
    background-color: #3EA2EA;
    color: white;
}

.btn-cancel {
    background-color: white;
    color: #2E378D;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 5px;
    font-size: 14px;
    border: 1px #2E378D solid;
}

.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;
}

/* WIDTHS */
.w-123px {
    width: 123px;
}

/* HEIGHTS */
.h-100 {
    height: 100% !important;
}

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

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

.login-form-input-field {
    width: 100%;
    border: none;
    border-radius: 5px;
    color: #7a7a7a;
    font-size: 14px;
    background-color: #E2FDFF !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: #E2FDFF !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 #2E378D solid;
    color: #7a7a7a !important;
    font-size: 14px;
    background-color: #E2FDFF !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: #3EA2EA;
    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 #2E378D 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: #2E378D;
    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: #2E378D;
    cursor: pointer;
    border: none !important;
}

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

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

.cursor-pointer {
    cursor: pointer;
}

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

.link:hover {
    color: #3EA2EA !important;
}

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

#logo_claim {
    font-size: 20px;
}

.list-item:hover {
    background-color: #E2FDFF !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: #E2FDFF !important;
    --bs-pagination-color: #2E378D !important;
    --bs-pagination-hover-color: #2E378D !important;
    --bs-pagination-focus-color: #2E378D !important;
    --bs-pagination-active-color: white !important;
    --bs-pagination-active-bg: #2E378D !important;
    --bs-pagination-active-border-color: #2E378D !important;
}

.pre-order-item-value {
    font-weight: 500;
}

.full_screen_loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* 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: #3EA2EA;
    color: white;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    border-radius: 5px;
    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: #3EA2EA;
    color: white;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    width: 40px; /* larghezza del toggle */
    height: 20px; /* altezza del toggle */
    background-color: #E2FDFF; /* 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: #3EA2EA; /* colore del cerchio */
    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;
}


/* BADGES */
.badge {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100%;
    display: inline-block;
}

/* 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;
    }

    .pre-order-item-value {
        font-weight: normal !important;
    }
}

@media (min-width: 992px) {
    .text-lg-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
