* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #eee;
}

body {
  padding: 0.25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  background-color: #dbdbdb
}

#app {
  width: 90vw;
  max-width: 1000px;
  margin: 0 auto 4rem;
  background-color: var(--bg-color);
  padding: 1rem;
}

header {
  display: flex;
  gap: 3rem;
  align-items: center;
}

#nuevo-perfil {
  cursor: pointer;
  font-size: 18px;
  text-decoration: underline;
}

h4 {
  margin-bottom: 0.75rem;
}

h5 {
  margin-bottom: 0.75rem;
}

.form {
  border: 1px solid #a5a5a5;
  border-radius: 4px;
  padding: 0.5rem;
  /* max-width: 540px; */
}

.form-header {
  display: flex;
  padding: .5rem;
  background-color: rgba(255, 154, 59, 0.158);
  margin-bottom: .25rem;
}

#nombre-perfil {
  font-weight: bold;
  color: coral;
}

.inputs-container {
  background-color: rgba(255, 154, 59, 0.158);
  padding: .5rem;
  margin-bottom: 1rem;
}

.fechas {
  display: flex;
  gap: 1rem;
}

.valores {
  display: flex;
  gap: 1rem;
}

.valores input {
  max-width: 124px;
}

label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

input {
  font-size: 20px;
  padding: 4px;
  outline: none;
  border: 1px solid black;
}

input:focus {
  border-color: coral;
}

input[type="number"] {
  max-width: 140px;
}

button {
  padding: 1rem;
  display: block;
  background-color: cyan;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

button:hover {
  background-color: rgb(21, 199, 199);
}

#detalle table {
  border-collapse: collapse;
  width: 100%;
}

#detalle th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: lightcoral;
}

#detalle td, #detalle th {
  border: 1px solid var(--bg-color);
  padding: 8px;
}

#detalle tr:nth-child(even) {
  background-color: #ddd;
}

#detalle tr:hover {
  background-color: rgb(182, 255, 255);
}

#detalle tr.footer {
  background-color: lightcoral;
}

#detalle .viaticos-container {
  margin-bottom: 1rem;
}

#horasExtraDisplay {
  font-size: 22px;
}

/* #detalle .ocurrenciasPorDia, */
#detalle .costoAcumuladoPorDia,
#detalle .horasAsignadasPorDia,
#detalle .totalHorasPorDia {
  font-size: 18px;
}

.display-none {
  display: none;
}

.Sábado, .Domingo {
  display: none !important;
}

.flex {
  display: flex;
  gap: 1rem;
}

.horas-por-dia {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fila-horas-dia {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* font-size: 14px; */
  margin-bottom: 4px;
}

.fila-horas-dia label {
  min-width: 42px;
  text-align: right;
  margin-bottom: 0;
}

.fila-horas-dia input {
  max-width: 46px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #a9a9a9;
}

#perfiles {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.perfil-container {
  cursor: pointer;
  padding: 0.5rem;
  border: 1px solid black;
}

.perfil-container.active {
  text-align: center;
  background-color: cyan;
}

.bold {
  font-weight: bold;
}