header {
  position: fixed;
  background-color: #fff;
  border-bottom: 1px solid #001d3d32;
  left: 0;
  top: 0;
  width: 100%;
  padding: 10px 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
}

header .button-container {
  display: flex;
  background-color: #001d3d;
  color: #fff;
  width: 250px;
  height: 40px;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px;
}

header .button {
  outline: 0 !important;
  border: 0 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

header .button:hover {
  transform: translateY(-3px);
}

header .icon {
  font-size: 20px;
}

/* Body base */
body {
  background-color: #EBF4FF;
  margin: 0;
  padding: 0;
}

.bodyDashboard {
  margin-top: 3%;
}

.bodyDashboard h1, 
.bodyDashboard h2 {
  font-family: Anton;
  text-transform: uppercase;
  color: #001D3D;
}

.bodyDashboard a {
  font-family: Arial, Helvetica, sans-serif;
  color: #001D3D;
}

/* Sidebar - Común para todas las páginas */
.sidebarDashboard {
  padding: 1%;
  width: 15%;
  background-color: #fff;
  position: fixed;
  height: 100%;
  border-right: 1px solid #001d3d13;
  padding-left: 15%;
  left: 0;
  box-sizing: border-box;
}

.sidebarDashboard, 
.sidebarDashboard h2, 
.sidebarDashboard ul {
  font-family: Arial, Helvetica, sans-serif;
  color: #001D3D;
  list-style: none;
  padding-left: 0;
}

.sidebarDashboard ul li {
  margin-bottom: 1%;
}

.sidebarDashboard ul li a {
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  color: #001D3D;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.sidebarDashboard ul li a:hover {
  background-color: #EBF4FF;
}

.sidebarDashboard a {
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #001D3D;
}

.logolayout{
  height:5vh;
}

.mainSidebar {
  height: 70vh;
}

.footerSidebar {
  height: 25vh;
}

/* Main Content - Layout base */
.contentDashboard {
  margin-left: 5%;
  padding-left: 1%;
  padding-right: 5%;
  padding-top: 0.5%;
  padding-bottom: 5%;
  height: 100%;
}

/* Botones generales */
button {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #001D3D;
  border-radius: 30px;
  padding: 8px;
  padding-left: 3%;
  padding-right: 3%;
  margin-top: 8px;
  margin-bottom: 8px;
}

button:hover {
  background-color: #fff;
  color: #001D3D;
  border: 2px solid #001D3D;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 29, 61, 0.2);
}

/* Tablas comunes */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 29, 61, 0.1);
}

table thead {
  background-color: #001D3D;
  color: white;
}

table th,
table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #EBF4FF;
  font-size: 0.9rem;
}

table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
}

table tbody tr:hover {
  background-color: #f8f9fa;
}

table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

/* Contenedores con card style */
.card-container {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 29, 61, 0.1);
  border: 1px solid #001d3d20;
  margin-bottom: 2rem;
}

.card-container h2 {
  margin-bottom: 1.5rem;
  color: #001D3D;
  font-size: 1.6rem;
  text-align: center;
}

/* Selectores comunes */
select {
  padding: 8px 12px;
  border: 2px solid #001d3d30;
  border-radius: 8px;
  background-color: #fff;
  color: #001D3D;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: #001D3D;
  box-shadow: 0 0 0 3px rgba(0, 29, 61, 0.1);
}

/* Inputs comunes */
input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"] {
  padding: 8px 12px;
  border: 2px solid #001d3d30;
  border-radius: 8px;
  background-color: #fff;
  color: #001D3D;
  font-family: Arial, Helvetica, sans-serif;
}

input:focus {
  outline: none;
  border-color: #001D3D;
  box-shadow: 0 0 0 3px rgba(0, 29, 61, 0.1);
}

/* ========== RESPONSIVE DESIGN BASE ========== */
@media (max-width: 1024px) {
  .contentDashboard {
    margin-left: 18%;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .contentDashboard {
    margin-left: 0;
    padding: 1rem;
  }
  
  .sidebarDashboard {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  header .button-container {
    width: 180px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 2%;
  }
  
  .card-container {
    padding: 1rem;
  }
  
  button {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}