.custom-blockui-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.custom-blockui-overlay {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    height: 100% !important;
    width: 100% !important;
    transform: translate(-50%, -50%);
    z-index: 10000 !important;
}

/* Toast más ancho */
.toast-container {
    width: 400px !important;
}

.toast {
    max-width: 400px;
    width: 100%;
}

/* Asegurar que el toast se ubique a la derecha */
.toast-top-right {
    top: 12px;
    right: 12px;
}

/* Mejorar la visibilidad del texto en los toasts */
#toast-container > div {
    opacity: 1;
    padding: 15px 15px 15px 50px;
}

/* Animación de puntos para el indicador de polling */
.dots-loading {
    display: inline-flex;
    align-items: center;
    height: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: #3E97FF;
    display: inline-block;
    opacity: 0.6;
}

.dot1 {
    animation: dot-flashing 1s infinite alternate 0s;
}

.dot2 {
    animation: dot-flashing 1s infinite alternate 0.3s;
}

.dot3 {
    animation: dot-flashing 1s infinite alternate 0.6s;
}

@keyframes dot-flashing {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación del checkmark */
.checkmark {
    display: block;
}
.checkmark__circle {
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
    animation: circle-draw 0.6s ease-in-out forwards; /* Reducido de 1s a 0.8s */
}
.checkmark__check {
    stroke-dasharray: 110;
    stroke-dashoffset: 110;
    animation: check-draw 0.6s ease-in-out forwards 0.4s; /* Reducido de 1s a 0.8s y el delay de 0.5s a 0.4s */
}

@keyframes circle-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.crossmark {
    display: block;
}
.crossmark__circle {
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
    animation: circle-draw 0.6s ease-in-out forwards;
}
.crossmark__cross {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: cross-draw 0.6s ease-in-out forwards 0.3s;
}

@keyframes cross-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Estilos para reducir la altura de las filas */
#index_points_of_sale_datatable tbody tr {
    height: 50px;
    /* Altura fija para las filas */
}

#index_points_of_sale_datatable td {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    vertical-align: middle;
}

/* Estilos para las imágenes de QR */
.qr-code-thumbnail {
    width: 50px;
    height: 50px;
    transition: transform 0.2s;
    cursor: pointer;
}

.qr-code-thumbnail:hover {
    transform: scale(1.1);
}

/* Icono QR cuando no hay imagen */
.qr-icon-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: start;
    /* background-color: #f8f9fa; */
}

/* Estilos para el modal QR con fondo PDF */
.qr-preview-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
    /* padding-top: 10px; */
}

/* .template-bg {
    height: 520px !important;
} */

.qr-overlay {
    position: absolute;
    left: 36%;
    top: 39.5%;
    width: 28.5%;
    height: auto;
    z-index: 10;
}

.qr-modal-name {
    position: absolute;
    top: 66.5%;
    /* left: 40%; */
}