﻿
.custom-checkbox {
    width: 22px;
    height: 22px;
    padding-right: 2px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: flex-end; /* optional: horizontal center */
    height: 100%; /* make sure the container has a height */
    margin-right: 18px !important;
    margin-bottom: 10px !important;
}

    .checkbox-wrapper label {
        margin-bottom: 0px;
        margin-top: 0.1vh;
        /*background-color:red;*/
        font-size: 14px;
    }
/*DataTables*/
.dataTable tbody tr:nth-child(odd) {
    background-color: #f2f2f3 !important; /* Light grey color */
}

.dataTable tbody tr:nth-child(even) {
    background-color: #ffffff !important; /* White color */
}


.box-container {
    position: relative;
    border: 2px solid #ddd; /* Border color */
    padding: 35px 20px 20px 20px;
    margin: 8px;
    border-radius: 4px; /* Optional: rounded corners */
    background: #fff; /* Box background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow for better appearance */
}

.box-title {
    position: absolute;
    top: -15px; /* Adjust as needed */
    left: 20px;
    background: #fff; /* Match the box background */
    padding: 0 10px;
    font-weight: bold;
    color: #333; /* Title color */
    z-index: 1; /* Ensure the title is above the border */
    border: 1px solid #ddd; /* Optional: border around title for visual effect */
    border-radius: 4px; /* Optional: rounded corners for title border */
}

.box-container .row {
    padding-bottom: 8.6px;
}

.row div .box-container {
    margin-top: 15px;
}



#backwards {
    width: 15%;
}

@media(max-width:768) {
    #backwards {
        width: 20%;
        background-color: red !important;
    }
}

@media(max-width:480) {
    #backwards {
        width: 20%;
        background-color: red !important;
    }
}

.exchange-rate-box {
    border: 3px double #000;
    padding: 10px;
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
    top: 13px;
    right: 0px;
    left: 24px
}

.exchange-rate {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    animation: move 5s linear infinite, borderChange 3s infinite;
    font-weight: bold;
    font-size: 15px;
}

@keyframes move {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

@keyframes borderChange {
    0% {
        border-color: #000;
    }

    50% {
        border-color: #ff0000;
    }

    100% {
        border-color: #000;
    }
}



/* 🔹 Barra superior con botones y buscador alineados */
.dt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .dt-toolbar .dt-buttons {
        display: flex;
        gap: 8px;
    }

/* 🔹 Pie con info y paginador alineados */
.dt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🔹 Ajuste visual del buscador */
.dataTables_filter {
    margin-left: auto;
}

/* 🔹 Responsividad */
@media(max-width: 768px) {
    .dt-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

        .dt-toolbar .dt-buttons {
            justify-content: flex-start;
            margin-bottom: 10px;
        }

    .dataTables_filter {
        width: 100%;
        text-align: left;
    }
}
