/* Colores */

:root {

    /* Colores */
    --color-modal-1: #09554c;
    --color-modal-2: #5abe42;
    --color-modal-3: #adadad;
    --color-modal-4: #f4f4f4;

    /* Iconos */
    --icon-close: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");

}

/* Botón Editar Excel */

#openModalBtn {
    position: fixed;
    font-size: 50px;
    background: none;
    border: none;
    color: var(--color-modal-3);
    cursor: pointer;
    bottom: 20px;
    right: 20px;
    transition: all 0.5s ease-in-out;
}

#openModalBtn:hover {
    color: var(--color-modal-2);
}

/* Modal Editar Excel */

.modal-backdrop {
    opacity: 0.7 !important;
}

.modal-content {
    border-radius: 15px !important;
}

.modal-header {
    background-color: var(--color-modal-1);
    border-radius: 14px 14px 0px 0px;
    justify-content: center;
    padding: 25px 0;
}

.modal-header .modal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.modal-header .btn-close {
    background-image: var(--icon-close);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333333;
    color: #ffffff;
    opacity: 1;
    border-radius: 50%;
    padding: 10px !important;
    width: 10px;
    height: 10px;
    margin-right: 0px;
    transition: all 0.5s ease-in-out;
}

.modal-header .btn-close:hover,
.modal-header .btn-close:active,
.modal-header .btn-close:focus {
    background-color: rgb(51, 51, 51, 0.8) !important;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 0px;
    padding: 0px 25px 25px;
}

/* Funcionalidad Drag and Drop */

.drop-zone {
    border: 2px dashed var(--color-modal-3);
    border-radius: 15px !important;
    cursor: pointer;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.drop-zone:hover,
.drop-zone.dragover,
.drop-zone.selected-file {
    background-color: var(--color-modal-4);
    border-color: var(--color-modal-2);
}

.drop-zone.selected-file:hover {
    background-color: rgba(173, 173, 173, 0.4);
}

.drop-zone span {
    display: block;
    color: #6c757d;
}

.drop-zone.none-pointer-event {
    background-color: rgba(173, 173, 173, 0.4);
}

/* Botones Modal */

.btn-primary,
.btn-secondary {
    border-radius: 15px;
    color: #ffffff;
    border: 0;
    border-color: transparent;
    padding: 4px 20px;
    transition: all 0.5s ease-in-out;
}

.btn-primary,
.btn-secondary {
    margin: 0px 10px !important;
}

.btn-secondary {
    margin-right: 0px !important;
}

#processBtn,
#uploadBtn,
#resetBtn,
#refreshBtn {
    background-color: var(--color-modal-2);
}

#processBtn:hover,
#uploadBtn:hover,
#resetBtn:hover,
#refreshBtn:hover {
    background-color: var(--color-modal-1);
}

#cancelBtn {
    background-color: var(--color-modal-3);
}

#cancelBtn:hover {
    background-color: rgba(51, 51, 51, 0.7);
}

/* Mensajes de alertas */

.alert {
    border-radius: 15px;
}
