/* =========================
   RESET GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f2f2;
  color: #333;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: #333;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h2 {
  margin: 0;
  font-size: 18px;
}

.navbar div {
  display: flex;
  gap: 10px;
}

/* =========================
   BOTONES
========================= */
button {
  padding: 10px 14px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #555;
}

/* =========================
   INPUTS
========================= */
input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* =========================
   LOGIN
========================= */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-container h1 {
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* =========================
   MENU
========================= */
.menu-container {
  padding: 30px;
}

.menu-container h1 {
  margin-bottom: 20px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* =========================
   CARDS
========================= */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.card:hover {
  background: #eaeaea;
  transform: translateY(-2px);
}

.card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================
   CONTENIDO GENERAL
========================= */
.content {
  padding: 30px;
}

/* =========================
   ACCIONES
========================= */
.actions {
  margin-bottom: 20px;
}

/* =========================
   TABLAS
========================= */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table th, 
.table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* =========================
   UTILIDADES
========================= */
.hidden {
  display: none;
}