body {
    background-color: #ffffff;
}
.header .logout-btn {
    background-color: white;
    color: #0056b3;
    border: none;
}
.icon-card {
    border: 2px solid #0056b3;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}
.icon-card:hover {
    transform: scale(1.05);
}
.card.img{
    width: 20px;
    height: 20px;
}
.footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 0px;
    font-size: 14px;
}
.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}
.card-hover:hover {
    background-color: #007bff; /* Azul Bootstrap */
    color: white;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
  }
  .dropdown-toggle::after {
    border-top-color: white !important; /* Cambia la flecha a blanco */
  }
  .fc-toolbar-title{
    text-transform: uppercase;
    color: #007bff;
  }
  .fc-button{
    color: #007bff;
  }
  .col-id { width: 120px; }
    .col-nombre { width: 200px; }
    .col-cargo { width: 100px; }
    .col-fecha { width: 100px; }
    .col-afiliaciones { width: 100px; }
    .col-salario { width: 100px; }
    .col-progreso,
    .col-docs,
    .col-btn1,
    .col-btn2 {
        width: 90px;
        text-align: center;
    }

 td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        vertical-align: middle;
    }

    table {
        table-layout: fixed;
    }
    .dis-none{

      visibility:hidden;
    }
    /* ── Dropdown navbar ── */
    .header {
        position: relative;
        z-index: 9999;
    }

    .dropdown-menu {
        z-index: 99999 !important;
    }
  /*---------------------------------------------------------------------*/

   /* .card {
      margin: 0 0.5em;
      box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
      border: none;
      border-radius: 0;
    }

    .carousel-inner {
      padding: 1em;
    }

    .carousel-control-prev,
    .carousel-control-next {
      background-color: #e1e1e1;
      width: 5vh;
      height: 5vh;
      border-radius: 50%;
      top: 50%;
      transform: translateY(-50%);
    }

    @media (min-width: 768px) {
      .card img {
        height: 11em;
      }
    }*/
    body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* ❌ Quita esto: overflow: hidden; */
}

.header,
.footer {
    background-color: #007bff;
    color: white;
    padding: 0;
    margin: 0;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1; /* ✅ Agrega esto */
}

.container-fluid {
    flex-grow: 1;
    display: flex;
    overflow: hidden; /* ✅ El overflow queda aquí, no en body */
    min-height: 0;    /* ✅ Necesario para que flex+overflow funcione bien */
}

        .sidebar {
            width: 250px;
            background: #e9ecef;
            padding: 10px;
            flex-shrink: 0;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .nav-link {
            flex-grow: 1;
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 5px;
            margin: 5px 0;
            transition: background 0.3s ease;
        }

        .nav-link:hover {
            background: #007bff;
            color: white;
        }

        .nav-link.active {
            background: #0056b3;
            color: white;
        }

        .content {
            flex-grow: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .btn-info-subtle {
            background-color: rgb(174, 221, 243);
        }

        .btn-info-subtle:hover {
            background-color: rgba(69, 210, 245, 0.7);
        }