/* public/css/home.css */

body {
  margin: 0;
  background-color: #fafff9;
  font-family: "Ubuntu", sans-serif;
}

.col-md-4 img { 
  max-width: 100%;
  height: auto;
}

.title {
  color: #630d0d;
  font-size: 50px;
  font-weight: 900;
}
form {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  box-shadow: 0px 17px 26px -8px rgba(151, 172, 193, 0.6);
}
.custom_table {
  background-color: #fff;
  box-shadow: 0px 2px 97px 7px rgba(151, 172, 193, 0.6);
  border-radius: 5px;
}
.container {
  margin-top: 20px;
  position: relative;
  z-index: 1; /* Esto está bien para que el contenido quede detrás del header/modal */
  padding-top: 20px;
  min-height: calc(100vh - 140px);
}

.checkboxa {
  width: 20px;
  height: 20px;
}

td {
  text-align: center;
}

tr {
  text-align: center;
}

.checkboxa:checked {
  accent-color: green;
}


  .checkbox {
    display: none;
  }

  .checkbox + label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
  }

  .checkbox:checked + label::before {
    content: "✓";
    color: white;
    font-size: 16px;
    position: absolute;
    top: 0;
    background-color: green;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  tbody, td, tfoot, th, tr {
    border-color: initial;
    border-style: solid;
    border-width: 0;
}


table tr:first-child {
  color: #fff;
  background-color: #f00;
}
.content .form-label {
  font-weight: bold;
}


.table {
  background-color: white;
  border-collapse: collapse;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table th, .table td {
  border: 1px solid #dee2e6;
  padding: 12px;
  vertical-align: middle;
}

.table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

#informacionObra .card-header {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

#informacionObra .list-group-item {
  font-size: 1rem; 
}

#informacionObra h2 {
  margin-bottom: 0; 
}

@media (max-width: 576px) {
  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-group .btn {
    width: 100%;
  }
}

.form-container {
  margin-top: 20px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.table-responsive {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
