*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    padding-top: 80px;
    overflow-x: hidden;
    background-color: #ededed;
}

.content {
    margin-left: 250px;
    padding: 2rem;
    background-color: #f5f5f5;
    color: #575962;
    font-family: sans-serif;
    font-size: 90%;
}

.content-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.btn-insert {
    padding: 5px;
    color: #575962;
}

.btn-delete {
    color: #FF646D;
}

.btn-update {
    color: #1D62F0;
}

.help-button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.help-button:hover {
  background-color: #0056b3;
}

.navbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1050; /* Asegura que esté encima de todo */
    height: 80px;
    background-color: #ffffff; /* o cualquier color sólido que uses */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* opcional: para separación */
}

.navbar-light .navbar-toggler {
    color: white;
    border-color: rgba(0, 0, 0, .1);
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 0.98rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: box-shadow .15s ease-in-out;
}

.navbar .tituloLogo {
    width: 250px;
}

.navbar-btn:hover {
    background-color: #ebebeb;
}

.sidebar {
    height: 90vh;
    padding: 15px;
    position: fixed;
    top: 80px;
    left: 0;
    width: 250px;
    background-color: #FFFFFF;
    color: #575962;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.sidebar h5 {
    margin-bottom: 10px;
    text-align: center;
}

.sidebar select,
.sidebar button {
    margin-bottom: 10px;
}

.sidebar a {
    color: #575962;
    font-family: sans-serif;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar .nav-link.active {
    color: #649FA5;
    background-color: #f9f9f9;
}

.sidebar .nav-link {
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar .fw-bold {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #575962;
}

.sidebar .badge {
    font-size: 0.75rem;
    background-color:#649FA5;
}

.table-crud {
    padding-top: 1rem;
}

table, th, td{
    color: #575962;
    font-size: 90%;
}

th, td {
    color: #575962;
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

td.text-end .btn {
    display: inline-block;
    margin-left: 4px;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    display: inline-block;
}

.btn-outline-dark:hover {
    background-color: #FF646D;
}