/* =========== Google Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");



/* ======================= 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-bene {
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px;
  
}
.card-empleo-bene{
    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-bene {
    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-bene {
    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-bene {
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Hace que la foto de perfil sea circular */
    
}

.title-card-bene{
    font-size: 20px;
    font-weight: bold;
}
.profile-container-bene {
    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;
}
.button-container-bene {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.eye-button-bene {
    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-bene:hover {
    background-color: darkorange;
}
.eye-button-bene i {
    font-size: 16px; /* Reduce el tamaño del ícono del ojo */
}


.edit-button-bene {
    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-bene:hover {
    background-color: darkorange;
}
.cardBox2-bene {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 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-bene div {
    display: flex;
    align-items: center;
}
.checkbox-label-bene {
    display: flex;
    align-items: center;
    font-size: 16px; 
    color: #000; /* Color del texto */
}

.checkbox-label-bene input[type="checkbox"] {
    display: none; /* Oculta el checkbox predeterminado */
}

.checkbox-label-bene .checkmark-bene {
    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-bene input[type="checkbox"]:checked + .checkmark-bene::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-bene {
  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-bene 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-bene input[type="text"]:focus {
  border-color: #FF6600;
  box-shadow: 0 0 10px #FF6600;
}
.input-bene 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-bene input[type="text2"]:focus {
  border-color: #FF6600;
  box-shadow: 0 0 10px #FF6600;
}
.input-bene 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-bene 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 {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.boton-buscar button {
        width: 25%;
        margin: 40px; 
        margin-left: 70%;
        padding: 9px;
        border-radius: 10px;
        border: none;
        outline: none;
        background-color: #FF6600;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1em;
}

/* Pantallas medianas (tablets, dispositivos con ancho de 768px a 991px) */
@media (max-width: 991px) {
    .boton-buscar button {
        margin-left: 65%; /* Disminuye el margin-left */
    }
}

/* Pantallas pequeñas (teléfonos en modo paisaje y tablets pequeñas, dispositivos con ancho de 576px a 767px) */
@media (max-width: 767px) {
    .boton-buscar button {
        margin-left: 60%; /* Disminuye aún más el margin-left */
    }
}

/* Pantallas extra pequeñas (teléfonos en modo retrato, dispositivos con ancho menor a 576px) */
@media (max-width: 575px) {
    .boton-buscar button {
        margin-left: 55%; /* Disminuye considerablemente el margin-left */
    }
}

.boton-buscar button:hover {
    background-color: #FF3300;
}

.cardBox-bene .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-bene .card:hover {
  background: var(--blue);
}
.cardBox-bene .card:hover .numbers,
.cardBox-bene .card:hover .cardName,
.cardBox-bene .card:hover .iconBx {
  color: var(--white);
}

/* ================== Order Details List ============== */
.details-bene {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-gap: 30px;
}

    .details-bene .recentOrders-bene {
        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;
        padding-top: 10px;
    }

    .details-bene 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;
        margin-bottom: 100px;
        height: 150px;
    }

.mini-titulo-bene {
    padding-left: 20px;
    padding-top: 10px;
}

.details-bene table thead {
    background-color: #282826;
    color: #fff;
    top: -20px;
    border-radius: 40px;
    text-align: center;
}

.details-bene table tr td {
    border-right: 1px solid #ffffff; /* Agrega una línea a la derecha de cada td */
}

.details-bene table tbody tr td {
    border-right: 1px solid #fff1d7;
}


.details-bene table tr td:last-child {
    border-right: none; /* Elimina la línea a la derecha del último td */
    text-align: end;
}

.details-bene table thead td {
    font-weight: 600;
    color: #fff;
    text-align: center;
    align-items: center;
    font-size: 14px;
}

.details-bene .recentOrders-bene table tr {
    color: var(--black1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .details-bene .recentOrders-bene table tr:last-child {
        border-bottom: none;
    }

.details-bene .recentOrders-bene table tbody tr:hover {
    background: #f2f2f2;
    color: var(--black1);
}

.details-bene .recentOrders-bene table tr td {
    padding: 10px;
}

    .details-bene .recentOrders-bene table tr td:last-child {
        text-align: end;
    }

    .details-bene .recentOrders-bene table tr td:nth-child(2) {
        text-align: end;
    }

    .details-bene .recentOrders-bene table tr td:nth-child(3) {
        text-align: center;
    }
/*------Icono de editar------*/
.icon-container-bene {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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;
}
/*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: #f00;
    }

.fas.fa-exclamation-triangle {
    border-radius: 20%;
    padding: 10px;
    background-color: #ffb7b7;
    color: #f00;
}

.alert p {
    margin: 1em 1em;
}

.alert button {
    padding: 0.7em 1em;
    border-radius: 10px;
    background-color: #F00;
    width: 90%;
    color: #fff;
    font-size: medium;
}

.alert .button-container-bene {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
}

    .alert .button-container-bene button:first-child {
        margin-right: 20px;
        background-color: transparent; /* Cambia el color de fondo a transparente */
        border: 1px solid #808080; /* Agrega un borde gris */
        color: #000;
    }

    .alert .button-container-bene button:last-child {
        background-color: #FFAA04; /* Cambia el color de fondo del segundo botón a verde */
        border: none; /* Elimina el borde del segundo botón */
    }

.alert .icon {
    background-color: #fff1d7; /* Cambia el color de fondo a rojo */
    border-radius: 10px; /* Hace que el icono sea redondo */
    padding: 10px; /* Agrega espacio alrededor del icono */
    color: #ffaa04;
}

/* 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-bene {
            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 */
        }

            .alert .button-container-bene button {
                margin-bottom: 10px; /* Añade margen debajo de los botones */
            }
}
/* ====================== 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-bene {
        grid-template-columns: repeat(2, 1fr);
    }

    .cardBox2-bene {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .details {
        grid-template-columns: 1fr;
    }

    .recentOrders-bene {
        overflow-x: auto;
    }

    .status.inProgress {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .cardBox-bene {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardBox2-bene {
        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;
    }
}
