﻿/* =========== Google Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

/* =============== Globals ============== */
* {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Estilos para el fondo del modal */
.modalCustom {
    position: fixed;
    z-index: 1050; /* Asegura que el modal esté encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-recargar {
    background-color: #FF6600; /* Naranja */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    margin-left: auto; /* Esto mueve el botón hacia la derecha */
}
/* Estilos para el contenido del modal */
.modal-content-custom {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ajusta el ancho del modal */
    max-width: 800px; /* Ancho máximo del modal */
    border-radius: 10px; /* Esquinas redondeadas */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Sombra para dar profundidad */
    position: relative;
}

/* Estilos para la cabecera del modal */
.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

/* Estilos para el título del modal */
.modal-title-custom {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Estilos para el cuerpo del modal */
.modal-body-custom {
    margin-top: 10px;
}

/* Estilos para el pie del modal */
.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

/* Botones en el modal */
.btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary-custom {
    background-color: #007bff;
    color: white;
}

.btn-secondary-custom {
    background-color: #6c757d;
    color: white;
}
.modal2 {
    display: none;
    position: fixed;
    z-index: 9;
    left: 5%; /* Centrado horizontal ajustado */
    top: 15%; /* Ajuste opcional para centrado vertical */
    width: 50%; /* Ancho completo */
    height: 70%; /* Altura completa */
    overflow: hidden;
    transform: translateX(50%); /* Ajuste para centrar más precisamente */
    border: solid 0.5px #282826; /* Borde del modal */
    border-radius: 10px;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto; /* Centrado horizontal del contenido */
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
}

/* Media query para pantallas de menos de 768px */
@media (max-width: 768px) {
    .modal2 {
        width: 80%; /* Aumentar el ancho para pantallas pequeñas */
        height: auto; /* Altura automática para ajustar el contenido */
        top: 10%; /* Ajustar la posición superior */
        left: 10%; /* Ajustar la posición izquierda */
        transform: translateX(0%); /* Ajuste para centrar en pantallas pequeñas */
    }

    .modal-content {
        padding: 10px; /* Reducir el padding para pantallas pequeñas */
    }
}

/* Media query para pantallas de menos de 480px */
@media (max-width: 480px) {
    .modal2 {
        width: 95%; /* Aumentar aún más el ancho para pantallas muy pequeñas */
        left: 2.5%; /* Centrar más precisamente en pantallas muy pequeñas */
        top: 5%; /* Reducir el espacio superior */
    }

    .modal-content {
        padding: 5px; /* Reducir aún más el padding para pantallas muy pequeñas */
    }
}

:root {
    --blue: #282826;
    --white: #EFF5FF;
    --gray: #f5f5f5;
    --black1: #222;
    --black2: #999;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #EFF5FF;
}

.container {
    position: relative;
    width: 100%;
}

/* =============== Navigation ================ */
.inicio-icon {
    margin-left: 100px; /* Mueve el icono un poco a la derecha */
    margin-top: 22px; /* Mueve el icono un poco hacia abajo */
}
/* iconos de lista o flechitas*/
.chevron-icon-usuarios {
    margin-left: 70px;
    margin-top: 18px;
    font-size: 1.4rem;
}
.modal {
    display: block;
    position: fixed;
    z-index: 1000; /* Asegúrate de que sea suficientemente alto */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Fondo oscuro semitransparente */
}
.chevron-icon-creditos {
    margin-left: 32px;
    margin-top: 18px;
    font-size: 1.4rem;
}

.chevron-icon-reportes {
    margin-left: 62px;
    margin-top: 18px;
    font-size: 1.4rem;
}

.chevron-icon-prestamos {
    margin-left: 52px;
    margin-top: 18px;
    font-size: 1.4rem;
}

.chevron-icon-admin {
    margin-left: 20px;
    margin-top: 18px;
    font-size: 1.4rem;
}

.chevron-icon-mobil {
    margin-left: 80px;
    margin-top: 18px;
    font-size: 1.4rem;
}

.confi-icon {
    margin-left: 33px; /* Mueve el icono un poco a la derecha */
    margin-top: 22px; /* Mueve el icono un poco hacia abajo */
}

.large-logo {
    display: block;
    width: 130px; /* Ajusta el ancho de la imagen grande */
    height: auto; /* Ajusta la altura de la imagen grande */
    margin-left: 32px; /* Mueve la imagen un poco a la derecha */
    margin-top: 30px; /* Mueve la imagen un poco hacia abajo */
}

.small-logo {
    display: none;
    width: 50px; /* Ajusta el ancho de la imagen pequeña */
    height: auto; /* Ajusta la altura de la imagen pequeña */
    margin-right: 5px; /* Mueve la imagen un poco a la derecha */
    margin-top: 5px; /* Mueve la imagen un poco hacia abajo */
}

.large-logo {
    display: block;
}

.small-logo {
    display: none;
}

@media (max-width: 600px) {
    .large-logo {
        display: none;
    }

    .small-logo {
        display: block;
    }
}
/* Estilos del dropdown */
.select {
    display: none;
    position: relative;
    transition: 300ms;
    color: white;
    overflow: hidden;
}

.options {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 5px;
    background-color: #2a2f3b;
    transition: 300ms;
}

    .options input[type="radio"] {
        display: none;
    }

    .options label {
        font-size: 15px;
        margin-left: 21%;
        position: relative;
    }

        .options label::before {
            content: "\f0ca"; /* Código Unicode del icono de lista en Font Awesome */
            font-family: "Font Awesome 5 Free"; /* Nombre de la fuente */
            font-weight: 900; /* Peso de la fuente */
            position: absolute;
            left: -40px;
            top: 50%;
            transform: translateY(-50%);
        }

    .options label {
        display: inline-block;
        padding: 5px;
        background-color: #2a2f3b;
        color: white;
        border-radius: 5px;
        margin-bottom: 5px;
        cursor: pointer;
    }

        .options label:hover {
            background-color: #323741;
        }

/* Estilos de navegación */
.navigation {
    position: fixed;
    width: 300px;
    height: 100%;
    background: var(--blue);
    border-left: 10px solid var(--blue);
    transition: 0.5s;
    overflow: hidden;
}

    .navigation.active {
        width: 80px;
    }

    .navigation ul {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

        .navigation ul li {
            position: relative;
            width: 100%;
            list-style: none;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }

            .navigation ul li:hover,
            .navigation ul li.hovered {
                background-color: var(--white);
            }

            .navigation ul li:nth-child(1) {
                margin-bottom: 40px;
                pointer-events: none;
            }

            .navigation ul li a {
                position: relative;
                display: block;
                width: 100%;
                display: flex;
                text-decoration: none;
                color: var(--white);
            }

            .navigation ul li:hover a,
            .navigation ul li.hovered a {
                color: var(--blue);
            }

            .navigation ul li a .icon {
                position: relative;
                display: block;
                min-width: 60px;
                height: 60px;
                line-height: 75px;
                text-align: center;
            }

                .navigation ul li a .icon ion-icon {
                    font-size: 1.75rem;
                }

            .navigation ul li a .title {
                position: relative;
                display: block;
                padding: 0 10px;
                height: 60px;
                line-height: 60px;
                text-align: start;
                white-space: nowrap;
            }

            /* Estilos para mostrar el dropdown */
            .navigation ul li.show-dropdown .select {
                display: block;
                margin-top: 10px;
            }

            /* Ajuste de espacio cuando el dropdown está activo */
            .navigation ul li.show-dropdown + li {
                margin-top: 20px;
            }

            /* --------- curve outside ---------- */
            .navigation ul li:hover a::before,
            .navigation ul li.hovered a::before {
                content: "";
                position: absolute;
                right: 0;
                top: -50px;
                width: 50px;
                height: 50px;
                background-color: transparent;
                border-radius: 50%;
                box-shadow: 35px 35px 0 10px var(--white);
                pointer-events: none;
            }

            .navigation ul li:hover a::after,
            .navigation ul li.hovered a::after {
                content: "";
                position: absolute;
                right: 0;
                bottom: -50px;
                width: 50px;
                height: 50px;
                background-color: transparent;
                border-radius: 50%;
                box-shadow: 35px -35px 0 10px var(--white);
                pointer-events: none;
            }

/* ===================== Main ===================== */
.modal2 {
    display: none;
    position: fixed;
    z-index: 9;
    left: 5%; /* Centrado horizontal ajustado */
    top: 15%; /* Ajuste opcional para centrado vertical */
    width: 50%; /* Ancho completo */
    height: 40%; /* Altura completa */
    overflow: hidden;
    transform: translateX(50%); /* Ajuste para centrar más precisamente */
    border: solid 0.5px #282826; /* Borde del modal */
    border-radius: 10px;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto; /* Centrado horizontal del contenido */
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
}

/* Media query para pantallas de menos de 768px */
@media (max-width: 768px) {
    .modal2 {
        width: 80%; /* Aumentar el ancho para pantallas pequeñas */
        height: auto; /* Altura automática para ajustar el contenido */
        top: 10%; /* Ajustar la posición superior */
        left: 10%; /* Ajustar la posición izquierda */
        transform: translateX(0%); /* Ajuste para centrar en pantallas pequeñas */
    }

    .modal-content {
        padding: 10px; /* Reducir el padding para pantallas pequeñas */
    }
}

/* Media query para pantallas de menos de 480px */
@media (max-width: 480px) {
    .modal2 {
        width: 95%; /* Aumentar aún más el ancho para pantallas muy pequeñas */
        left: 2.5%; /* Centrar más precisamente en pantallas muy pequeñas */
        top: 5%; /* Reducir el espacio superior */
    }

    .modal-content {
        padding: 5px; /* Reducir aún más el padding para pantallas muy pequeñas */
    }
}

.input-group, .modal-actions {
    margin-bottom: 10px;
}

.input-row {
    display: flex;
    justify-content: space-between;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

    .checkbox-group input[type="checkbox"] {
        margin-right: 5px;
    }

.btn-left, .btn-right {
    float: left;
    margin-right: 10px; /* Space between buttons */
}

.btn-right {
    float: right;
}

.main {
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 100vh;
    background: var(--white);
    transition: 0.5s;
}

    .main.active {
        width: calc(100% - 80px);
        left: 80px;
    }

.topbar {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.toggle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
}

@media (max-width: 700px) {
    .nombre {
        display: none;
    }
}

.user {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    left: -130px;
}

    .user img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.campana {
    position: relative;
    left: 155px;
    top: -14px;
}


/* Cuando la pantalla es de 1500px o menos (típicamente tablets en modo paisaje), ajusta la posición left de .campana a 0px */
@media screen and (max-width: 1500px) {
    .campana {
        left: 0px;
    }
}

.fas.fa-bell {
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
}

.campana .fas.fa-bell {
    font-size: 1.5em;
}

.notification-dot {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    background-color: #F00;
    border-radius: 50%;
    display: block; /* Muestra el punto de notificación por defecto */
}

.modal {
    position: absolute;
    top: 30px;
    right: 0;
    width: 200px;
    height: 100px;
    background-color: #FFF;
    border: 1px solid #000;
    display: none; /* Oculta el modal por defecto */
    z-index: 9999; /* Asegura que el modal siempre esté en la parte superior */
    border-radius: 10px;
}

    .modal p {
        border-bottom: 1px solid #ddd; /* Agrega una línea divisoria entre las notificaciones */
        padding: 10px; /* Agrega un poco de espacio alrededor de las notificaciones */
        background-color: #f9f9f9; /* Cambia el color de fondo de las notificaciones */
        margin: 0; /* Elimina los márgenes predeterminados */
        border-radius: 10px;
        transition: background-color 0.3s; /* Agrega una transición suave al cambiar el color de fondo */
    }

        .modal p:hover {
            background-color: #e0e0e0; /* Cambia el color de fondo de las notificaciones al pasar el cursor por encima */
        }

        .modal p:last-child {
            border-bottom: none; /* Elimina la línea divisoria de la última notificación */
        }

    .modal .close {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        color: #aaa; /* Cambia el color del botón de cierre */
    }

        .modal .close:hover {
            color: #000; /* Cambia el color del botón de cierre cuando se pasa el cursor por encima */
        }

.nombre-usuario {
    position: absolute;
    right: 90px;
    top: 9px;
}

.titulo-usuario {
    position: absolute;
    right: 43px;
    top: 30px;
    font-size: 0.8em;
    opacity: 0.5; /* Hace el texto semi-transparente */
}
/* ======================= Cards ====================== */

.title {
    display: flex;
    align-items: center;
}

    .title i {
        margin-right: 10px; /* Ajusta el espacio entre el icono y el título */
        margin-left: 4%;
        margin-top: 11px;
        color: #FF6600; /* Cambia el color del icono a naranja */
        font-size: 1.3em; /* Ajusta el tamaño del icono */
        cursor: pointer;
    }

    .title h2 {
        padding-top: 10px;
        color: #FF6600;
        margin: 0; /* Elimina los márgenes por defecto del h2 para un mejor control */
    }



.cardBox {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.cardBox3 {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 40px;
}

.cardBox4 {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
}

.card-empleo {
    position: relative;
    background: #d4d7eb;
    padding: 10px;
    border-radius: 20px;
    display: flex; /* Cambia 'flex-direction' a 'flex' para orientar los elementos en filas */
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.profile-container {
    display: flex;
    flex-direction: column; /* Añade 'flex-direction: column' para orientar los elementos en columnas */
    align-items: flex-start;
    justify-content: center;
    margin-right: 50px; /* Añade un margen a la derecha para separar la foto del título y los botones */
    margin-top: -25px;
}

.title-button-container {
    display: flex;
    flex-direction: column; /* Añade 'flex-direction: column' para orientar los elementos en columnas */
    align-items: flex-start; /* Alinea los elementos al inicio del contenedor */
    margin-right: 50px;
}

.profile-picture {
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Hace que la foto de perfil sea circular */
}

.title-card {
    font-size: 20px;
    font-weight: bold;
}

.profile-container {
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* botones de paginación */
.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.button-3d {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    border-width: 0;
    padding: 0 8px;
    min-width: 4em;
    min-height: 4em;
    box-sizing: border-box;
    background: transparent;
    font: inherit;
    cursor: pointer;
    margin: 10px;
    border-radius: 20px;
}

.button-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    transform: translateY(0);
    color: #fff;
    background-image: linear-gradient(145deg, #FF6600, #FF9933);
    text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    transition: transform 0.3s, border-radius 0.3s, background 10s;
}

.button-3d:active .button-top {
    border-radius: 10px 10px 8px 8px / 8px;
    transform: translateY(2px);
    background-image: linear-gradient(145deg, #FF9933, #FF6600);
}

.button-bottom {
    position: absolute;
    z-index: 1;
    bottom: 4px;
    left: 4px;
    border-radius: 20px;
    padding-top: 6px;
    width: calc(100% - 8px);
    height: calc(100% - 10px);
    background-image: linear-gradient(145deg, #FF9933, #FF6600);
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.5);
    transition: border-radius 0.2s, padding-top 0.2s;
}

.button-base {
    position: absolute;
    z-index: 0;
    top: 4px;
    left: 0;
    border-radius: 20px;
    width: 100%;
    height: calc(100% - 4px);
    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 1px 0 rgba(255, 255, 255, 0.75), inset 0 2px 2px rgba(0, 0, 0, 0.25);
    transition: border-radius 0.2s, padding-top 0.2s;
}

.button-3d:active .button-bottom {
    border-radius: 10px 10px 8px 8px / 8px;
    padding-top: 0;
}

.button-3d:active .button-base {
    border-radius: 10px 10px 8px 8px / 8px;
}

.page-indicator {
    font-size: 1.2em;
    color: #FF6600;
    margin: 0 20px;
    display: flex;
    align-items: center;
}

.page-number {
    display: inline-block;
    padding: 5px 10px;
    margin-left: 5px;
    background-color: #FF6600;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.eye-button {
    background-color: #FF6600;
    color: white;
    border: none;
    margin-top: 5px;
    padding: 1px 10px;
    height: 81%;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 5px;
    box-sizing: border-box;
}

    .eye-button:hover {
        background-color: darkorange;
    }

    .eye-button i {
        font-size: 16px; /* Reduce el tamaño del ícono del ojo */
    }


.edit-button {
    background-color: #FF6600;
    color: white;
    border: none;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 10px;
    box-sizing: border-box;
}

    .edit-button:hover {
        background-color: darkorange;
    }

.cardBox2 {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 40px;
}

.subtitulo {
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: -20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    color: #FF6600;
}

.input div {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000; /* Color del texto */
}

    .checkbox-label input[type="checkbox"] {
        display: none; /* Oculta el checkbox predeterminado */
    }

    .checkbox-label .checkmark {
        display: inline-block;
        width: 20px; /* Tamaño del checkmark */
        height: 20px; /* Tamaño del checkmark */
        background: #282626;
        margin-right: 10px; /* Espacio entre el checkmark y el texto */
        position: relative;
        cursor: pointer;
    }

    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        content: "\2713"; /* Carácter de palomita */
        color: white; /* Color de la palomita */
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px; /* Tamaño de la palomita */
    }
/*Inputs */
.input2 {
    position: relative;
    padding-top: 0px;
}

.clear-icon {
    display: none;
    position: absolute;
    top: 70%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 20px;
    color: #ffffff;
    font-size: 1.5em;
}

/* Estilos ajustados para el textarea */
.input2 textarea {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    background-color: #282826;
    color: #fff;
    resize: vertical; /* Permite al usuario ajustar la altura del textarea */
}

    .input2 textarea:focus {
        border-color: #FF6600;
        box-shadow: 0 0 10px #FF6600;
    }

.Tnombre {
    position: relative;
    width: 100%;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    left: 10px;
}

.input {
    position: relative;
    padding-top: 0px;
}

.clear-icon {
    display: none;
    position: absolute;
    top: 70%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 20px;
    color: #ffffff;
    font-size: 1.5em;
}

.input input[type="text"] {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    background-color: #282826;
    color: #fff;
}

    .input input[type="text"]:focus {
        border-color: #FF6600;
        box-shadow: 0 0 10px #FF6600;
    }

.input input[type="text2"] {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    background-color: #282826;
    color: #fff;
}

    .input input[type="text2"]:focus {
        border-color: #FF6600;
        box-shadow: 0 0 10px #FF6600;
    }

.input select {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    background-color: #282826;
    color: #fff;
    appearance: none;
}

    .input select:focus {
        border-color: #FF6600;
        box-shadow: 0 0 10px #FF6600;
    }
/*------------------------------------------------- */
/*-----------------Inpus gris-----------------------*/
.input-gris div {
    display: flex;
    align-items: center;
}

.input-gris {
    position: relative;
    padding-top: 0px;
}

    .input-gris input[type="text"] {
        width: 100%;
        padding: 13px;
        border-radius: 10px;
        border: 1px solid #ccc;
        outline: none;
        transition: all 0.3s ease;
        background-color: #cbcbcb;
        color: #000000;
    }

#inputFecha {
    font-weight: bold;
}

#inputEstatus {
    font-weight: bold;
}

.input-gris input[type="text"]:focus {
    border-color: #FF6600;
    box-shadow: 0 0 10px #FF6600;
}

.select-container {
    position: relative;
    display: inline-block;
}

    .select-container select {
        -webkit-appearance: none; /* Remueve el estilo predeterminado de select en WebKit */
        -moz-appearance: none; /* Remueve el estilo predeterminado de select en Firefox */
        appearance: none; /* Remueve el estilo predeterminado de select */
        /* Asegúrate de que el select tenga un fondo que combine con el icono */
        background-color: #282826;
        color: rgb(255, 255, 255);
        padding-right: 30px; /* Espacio para el icono */
        /* Otros estilos para el select aquí (bordes, padding, etc.) */
    }

    .select-container i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: rgb(255, 255, 255);
        pointer-events: none;
    }


.boton-buscar .boton-atras {
    background-color: #fff;
    color: #000000;
    border: 2px solid #808080; /* Gris oscuro */
    transition: all 0.3s ease; /* Transición suave para el hover */
}

    .boton-buscar .boton-atras:hover {
        background-color: #f2f2f2;
    }

.boton-buscar {
    width: auto;
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


    .boton-buscar button {
        width: 100%;
        padding: 9px;
        border-radius: 10px;
        border: none;
        outline: none;
        background-color: #FF6600;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1em;
    }



        .boton-buscar button:hover {
            background-color: #FF3300;
        }


/* -----------------Boton de guardar----------------- */
.boton-buscar2 .boton-atras {
    background-color: #fff;
    color: #000000;
    border: 2px solid #808080; /* Gris oscuro */
    transition: all 0.3s ease; /* Transición suave para el hover */
}

    .boton-buscar2 .boton-atras:hover {
        background-color: #f2f2f2;
    }

.boton-buscar2 {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}


    .boton-buscar2 button {
        width: 25%;
        margin: 10px;
        padding: 9px;
        border-radius: 10px;
        border: none;
        outline: none;
        background-color: #FF6600;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1em;
    }



        .boton-buscar2 button:hover {
            background-color: #FF3300;
        }


.cardBox .card {
    position: relative;
    background: var(--white);
    padding: 5px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}


    .cardBox .card:hover {
        background: var(--blue);
    }

        .cardBox .card:hover .numbers,
        .cardBox .card:hover .cardName,
        .cardBox .card:hover .iconBx {
            color: var(--white);
        }

/* ================== Order Details List ============== */
.details {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-gap: 30px;
}

    .details .recentOrders {
        position: relative;
        display: grid;
        min-height: 500px;
        background: white;
        box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        overflow: hidden;
        border: 0.5px solid #282826;
        overflow-x: auto;
    }

    .details table {
        width: 98%;
        border-collapse: collapse;
        margin-top: 0px;
        background: white;
        box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        overflow: hidden;
        margin-left: 10px;
    }

.mini-titulo {
    padding-left: 20px;
    padding-top: 10px;
}

.details table thead {
    background-color: #282826;
    color: #fff;
    top: -20px;
    border-radius: 40px;
    text-align: center;
}

.details table tr td {
    border-right: 1px solid #ffffff; /* Agrega una línea a la derecha de cada td */
}

.details table tbody tr td {
    border-right: 1px solid #fff1d7;
}


.details table tr td:last-child {
    border-right: none; /* Elimina la línea a la derecha del último td */
    text-align: end;
}

.details table thead td {
    font-weight: 600;
    color: #fff;
    text-align: center;
    align-items: center;
    font-size: 14px;
}

.details .recentOrders table tr {
    color: var(--black1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .details .recentOrders table tr:last-child {
        border-bottom: none;
    }

.details .recentOrders table tbody tr:hover {
    background: #f2f2f2;
    color: var(--black1);
}

.details .recentOrders table tr td {
    padding: 10px;
}

    .details .recentOrders table tr td:last-child {
        text-align: end;
    }

    .details .recentOrders table tr td:nth-child(2) {
        text-align: end;
    }

    .details .recentOrders table tr td:nth-child(3) {
        text-align: center;
    }
/*------Icono de editar------*/
.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fas.fa-pencil-alt {
    padding: 6px;
    background-color: #FFF1d5;
    border: 2.5px solid #ffb01b;
    border-radius: 15px;
    font-size: 1.4em;
    color: #ffb01b;
}

.fa-solid.fa-trash-can {
    padding: 6px;
    background-color: #FFecec;
    border: 2.5px solid #ffc0c0;
    border-radius: 15px;
    font-size: 1.4em;
    color: #ed9d9d;
}

.fas.fa-exchange-alt {
    padding: 6px;
    background-color: #d5f1ff;
    border: 2.5px solid #b1e1ff;
    border-radius: 15px;
    font-size: 1.4em;
    color: #52afe9;
}
/*Estilo de la alerta */
#confirmModal {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1em;
    border: 1px solid #000;
    background-color: #fff;
    text-align: center;
    z-index: 1000;
    border-radius: 10px;
    width: 80%;
    height: auto;
    max-width: 380px;
}

    #confirmModal i {
        font-size: 3em;
        color: #ffab07; /* Cambia el color del ícono a verde */
        background-color: #fff1d7; /* Fondo de color */
        border-radius: 15%; /* Borde redondeado */
        padding: 9px;
    }

    #confirmModal p {
        margin: 1em 1em;
        margin-bottom: 20px;
    }

#cancelButton {
    background-color: #ffffff; /* Fondo del botón */
    border: 1px solid #cacaca; /* Borde del botón */
    color: black; /* Color del texto */
    border-radius: 10px; /* Borde redondeado */
    padding: 0.7em 1em;
    width: 40%;
    margin-right: 10px;
    font-size: medium;
}

#acceptButton {
    background-color: #ffab07; /* Fondo del botón */
    border: 1px solid #ffab07; /* Borde del botón */
    color: white; /* Color del texto */
    border-radius: 10px; /* Borde redondeado */
    padding: 0.7em 1em;
    width: 40%;
    margin-bottom: 20px;
}
/*Estilo de la alerta */

.alert {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1em;
    border: 1px solid #000;
    background-color: #fff;
    text-align: center;
    z-index: 1000;
    border-radius: 10px;
    padding: 1em;
    width: 80%;
    height: auto;
    max-width: 380px;
}

    .alert i {
        font-size: 2em;
        color: #008000; /* Cambia el color del ícono a verde */
    }

.fas.fa-check-circle {
    border-radius: 20%;
    padding: 10px;
    background-color: #00ee38; /* Cambia el color de fondo a un verde claro */
    color: #008000; /* Cambia el color del ícono a verde */
}

.alert p {
    margin: 1em 1em;
}

.alert button {
    padding: 0.7em 1em;
    border-radius: 10px;
    background-color: #008000;
    width: 90%;
    color: #fff;
    font-size: medium;
}

.alert .button-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-left: 50px;
}

.alert .icon {
    background-color: #d5ecd8; /* Cambia el color de fondo a rojo */
    border-radius: 10px; /* Hace que el icono sea redondo */
    padding: 10px; /* Agrega espacio alrededor del icono */
    color: #709c86;
}

.fa-solid.fa-circle-exclamation {
    color: #ff0303; /* Cambia el color del icono */
    background-color: #ffb7b7; /* Cambia el color de fondo */
    padding: 10px; /* Agrega un poco de espacio alrededor del icono */
    border-radius: 15%; /* Hace que el fondo sea circular */
    font-size: 2.7em;
}

.button-container-modal {
    text-align: center; /* Centra el botón dentro del contenedor */
    margin-right: 50px;
    padding: 0;
    margin-top: -40px;
    margin-bottom: -20px;
}

    .button-container-modal button {
        background-color: #ff0000; /* Color de fondo del botón */
        color: #ffffff; /* Color del texto del botón */
        border: none; /* Elimina el borde del botón */
        padding: 10px 20px; /* Añade relleno alrededor del texto dentro del botón */
        border-radius: 5px; /* Bordes redondeados del botón */
        cursor: pointer; /* Cambia el cursor a un puntero cuando se pasa sobre el botón */
        font-size: 16px; /* Tamaño del texto del botón */
    }

/* Estilos para pantallas de tabletas y móviles */
@media (max-width: 768px) {
    .alert {
        top: 50%;
        width: 85%; /* Aumenta el ancho del modal a 85% */
    }

        .alert .button-container {
            flex-direction: column; /* Cambia la dirección de los botones a columna */
            align-items: stretch; /* Asegura que los botones se estiren para llenar el contenedor */
        }
}
/* ====================== Responsive Design ========================== */
@media (max-width: 991px) {
    .navigation {
        left: -300px;
    }

        .navigation.active {
            width: 300px;
            left: 0;
        }

    .main {
        width: 100%;
        left: 0;
    }

        .main.active {
            left: 300px;
        }

    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }

    .cardBox2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .details {
        grid-template-columns: 1fr;
    }

    .recentOrders {
        overflow-x: auto;
    }

    .status.inProgress {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .cardBox {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardBox2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardHeader h2 {
        font-size: 20px;
    }

    .user {
        min-width: 40px;
    }

    .navigation {
        width: 100%;
        left: -100%;
        z-index: 1000;
    }

        .navigation.active {
            width: 100%;
            left: 0;
        }

    .toggle {
        z-index: 10001;
    }

    .main.active .toggle {
        color: #fff;
        position: fixed;
        right: 0;
        left: initial;
    }
}
