﻿textarea{
    width: 650px;
    height: 120px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size:smaller;
    min-height: 20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Asegúrate de que el modal tenga un índice más alto */

    margin: auto;
}

/*
.modal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 750px;
    height: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10; 
    display: block;
    left: 30%;
    
}
*/
.modal-noms {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 750px;
    height: 40%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10; /* Asegúrate de que el modal tenga un índice más alto */
    display: block;
    left: 30%;
}

.modal-empresas {

    height: 60%;

}

.modal input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;

}


.btn {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-success {
    background: green;
    color: white;
}

.btn-secondary {
    background: gray;
    color: white;
}

.btn-edit {
    background: #007bff;
    color: white;
}

/*-------------------------------MODAL PARA ELIMINAR REGISTRO----------------------------------------*/
.modal-delete {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;

    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh
}

.modal-inf-delete {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 320px;
    max-width: 90%;
    text-align: center;
}


    .modal h3 {
        margin-bottom: 20px;
        font-size: 18px;
        color: #333;
    }

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-cancelar,
.btn-confirmar {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn-cancelar {
    background-color: #e0e0e0;
    color: #333;
}

    .btn-cancelar:hover {
        background-color: #cfcfcf;
    }

.btn-confirmar {
    background-color: #e74c3c;
    color: white;
}

    .btn-confirmar:hover {
        background-color: #c0392b;
    }
