.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
    background: #002C58;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked,
.form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
    border-color: #002C58;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

.swap {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/** Toast **/

#toast-container {
    position: fixed;
    right: 0;
    top: 0;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#toast-container .custom-toast {
    width: 100%;
    text-align: left;
    font-size: 1rem;
    /* font-family: monospace; */
    padding: 1rem;
    border: solid 1px black;
    border-radius: 0;
    color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#toast-container .custom-toast.custom-toast-success {
    background: #28a745 !important;
    color: #ffffff;
    /* border-color: rgb(22 101 52); */
}

#toast-container .custom-toast.custom-toast-warning {
    background: #ffc107 !important;
    color: #343a40 !important;
    /* border-color: #92400e; */
}

#toast-container .custom-toast.custom-toast-danger {
    background: #dc3545 !important;
    color: #343a40 !important;
    /* border-color: #991b1b; */
}

#toast-container .custom-toast.custom-toast-info {
    background: #17a2b8 !important;
    color: #ffffff !important;
    /* border-color: #991b1b; */
}

.custom-success {
    padding: 20px;
    background: rgb(147 197 253);
    color: #0051ff;
    /* Blue color */
    /* border: solid 2px #007bff; */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .5);
    display: none;
}

.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;

    position: absolute;
    top: 10%;
    left: 50%;

    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}

.style-2 .loading-wheel {
    border-style: double;
    border-color: #002C58 transparent;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

#loadingOverlay.htmx-request {
    display: block;
}

.form-check {
    width: 100%;
}

#field-mapper hr {
    margin-bottom: 10px;
}

.position-image {
    background-color: #FFFFFF;
    margin: 0 auto;
    /* border: 2px solid #002C58; */
}

.chart {
    display: flex;
    width: 100%;
    /* height: 400px; */
    justify-content: center;
    align-items: center;
    border: 2px solid #002C58;
    position:relative;
}

.chart-canvas{
    display: flex; 
    box-sizing: border-box; 
    height: 400px; 
    width: 100%;
    background-color: #FFFFFF;
    
}

.chart img {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%; 
    background-color:#FFFFFF; 
}

.picos-logo{
    font-family: 'Helvetica Neue LT Pro', sans-serif;
}