body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

h1 {
    text-align: center;
    padding: 20px 0;
}

.table {
    border-collapse: collapse;
    /* width: 100%;
    margin: auto; */
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: none;
}

.table th {
    background-color: #f2f2f2;
    color: #333;
}

.create-new {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    color: #fff;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
}

.create-new:hover {
    background-color: #0056b3;
}


/* Edit */

body > div.editar{
    width: 80%;
    margin: auto;
    max-width: 800px;
}

body > div.editar > form{

    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
}

#empresas > div {
    display: flex;
    flex-direction: column;
}
#oficinas1 > div {
    display: flex;
    flex-direction: column;
}
#cargos > div {
    display: flex;
    flex-direction: column;
}


.acciones-form{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


/* New */

body > div.new{
    width: 80%;
    margin: auto;
    max-width: 800px;
}


/* Show */

body > div.show{
    width: 80%;
    margin: auto;
    max-width: 800px;
}


.table a.action-link,
.table .action-delete-btn {
    margin-right: 0;
}

.table a.action-link:hover {
    text-decoration: none;
}


/* Fix wrap in show tables */
.table td{
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.table td p{
  margin:0;
}
.table{
  table-layout: fixed;
  width:100%;
}
