/* General */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Arial, sans-serif; background: #f4f6f9; color: #333; }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.header .logo { height: 60px; margin-right: 15px; }

/* Container */
.container { max-width: 1100px; margin: 30px auto; padding: 20px; }

/* Card */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
h2 { margin-bottom: 20px; color: #1a73e8; }

/* Form */
fieldset {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}
legend { font-weight: bold; color: #1a73e8; }
label { display: block; margin: 10px 0 5px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.btn {
  background: #1a73e8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover { background: #155ab6; }

/* Tabla */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}
th { background: #1a73e8; color: white; }
tr:nth-child(even) { background: #f9f9f9; }

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: -260px;
  width: 260px; height: 100%;
  background: #1a73e8;
  color: white;
  padding: 20px;
  transition: left 0.3s;
  z-index: 1000;
}
.sidebar.active { left: 0; }
.sidebar h2 { margin: 10px 0 20px; }
.sidebar ul { list-style: none; }
.sidebar ul li { margin: 15px 0; }
.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 8px;
  border-radius: 6px;
  transition: 0.3s;
}
.sidebar ul li a:hover { background: rgba(255,255,255,0.2); }

/* Sidebar logo */
.logo-menu { display: flex; align-items: center; gap: 10px; }
.logo-small { height: 40px; }

/* Botón menú */
.menu-btn {
  position: fixed;
  top: 20px; left: 20px;
  background: #1a73e8;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1100;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 { font-size: 18px; }
  .header .logo { height: 40px; }
  table { font-size: 12px; }
  th, td { padding: 6px; }
}/* General */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Arial, sans-serif; background: #f4f6f9; color: #333; }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.header .logo { height: 60px; margin-right: 15px; }

/* Container */
.container { max-width: 1100px; margin: 30px auto; padding: 20px; }

/* Card */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
h2 { margin-bottom: 20px; color: #1a73e8; }

/* Form */
fieldset {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}
legend { font-weight: bold; color: #1a73e8; }
label { display: block; margin: 10px 0 5px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.btn {
  background: #1a73e8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover { background: #155ab6; }

/* Tabla */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}
th { background: #1a73e8; color: white; }
tr:nth-child(even) { background: #f9f9f9; }

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: -260px;
  width: 260px; height: 100%;
  background: #1a73e8;
  color: white;
  padding: 20px;
  transition: left 0.3s;
  z-index: 1000;
}
.sidebar.active { left: 0; }
.sidebar h2 { margin: 10px 0 20px; }
.sidebar ul { list-style: none; }
.sidebar ul li { margin: 15px 0; }
.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 8px;
  border-radius: 6px;
  transition: 0.3s;
}
.sidebar ul li a:hover { background: rgba(255,255,255,0.2); }

/* Sidebar logo */
.logo-menu { display: flex; align-items: center; gap: 10px; }
.logo-small { height: 40px; }

/* Botón menú */
.menu-btn {
  position: fixed;
  top: 20px; left: 20px;
  background: #1a73e8;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1100;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 { font-size: 18px; }
  .header .logo { height: 40px; }
  table { font-size: 12px; }
  th, td { padding: 6px; }
}
