
:root {
    --primary-color: #156498;
    --secondary-color: #2ecc71;
    --text-color: #000000;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --border-color: #ddd;
    --highlight-color: #f5f7ef;
    --red-color: #e74c3c;
    --fuente-principal: 'Roboto', sans-serif;
    --section-title-size: 1rem;
    --header-bg: #f9f9f9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.section-title {
    position: absolute;
    top: -13px;
    left: 20px;
    background-color: var(--card-bg);
    padding: 0 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: var(--section-title-size);
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.section-title i {
    margin-right: 8px;
}

.form-label {
    display: block;
    margin-bottom: 1px;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.form-value {
    padding: 5px;
    color: var(--text-color);
    background-color: var(--highlight-color);
    border-radius: 6px;
    min-height: 5px;
       
}

.form-value.vacio {
    color: gray !important;;
}


.foto-frame {
    width: 150px;       /* Ajusta el tamaño del marco aquí */
    height: 200px;      /* Puedes poner 150px para hacerlo cuadrado */    
    border: 2px solid #ccd0d4;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.foto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-editar {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem; /* similar a Bootstrap */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .form-editar:disabled,
  .form-editar[readonly] {
    background-color: #ecefe9;
    opacity: 1;
    cursor: not-allowed;
  }
  
  .form-editar:focus {
    border-color: #80bdff;
    background-color: #fbfbf9;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
  }
  
  .label-editar {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #343a40;
  }
  
    /* body, .content-wrapper, .main-header, .main-sidebar, .content, .card, .table, .form-control, h1, h2, h3, h4, h5, h6, p, a, span, div, label, button {*/ 
  .body, .content-wrapper, .main-header, .main-sidebar, .content, .table, .form-control, .form-label, .form-editar,.label-editar, p, a, div, label, button {
    font-family: var(--fuente-principal) !important;
    font-size: 12px;
  }

  #sugerencias {
    border: 1px solid #ccc;
    background: #fff;
    display: none;
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}
.sugerencia-item {
  padding: 5px;
  cursor: pointer;
}

.sugerencia-item:hover,
.sugerencia-item.activa {
  background-color: #f0f0f0;
}
/* Reducir altura de las filas */
table.dataTable tbody td {
    padding-top: 3px !important;
    padding-bottom: 2px !important;
}

/* También para los encabezados */
table.dataTable thead th {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}
