body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #fff0f5;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #e91e63;
  color: white;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
  margin: 0;
  font-size: 28px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav ul li a.active {
  text-decoration: none;
  color: #ffeb3b;
}

nav ul li a:hover {
  color: #ffeb3b;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
}

table {
  width: 85%;
  max-width: 1000px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin-top: 20px;
  font-size: 13px; 
}

thead {
  background-color: #e91e63;
  color: white;
}

thead tr:hover {
  background: none;
}

th, td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #f2f2f2;
}

tr:nth-child(even) {
  background-color: #fff6f9;
}

tbody tr:hover {
  background-color: #fce4ec;
  transition: background 0.3s ease;
}

th {
  font-size: 13px;
  text-transform: uppercase;
}

td {
  font-size: 13px;
  color: #444;
}
td a {
  display: inline-block;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 1px;
  font-size: 12px;
}

td a[href*="editar"] {
  background-color: #2196f3;
}

td a[href*="editar"]:hover {
  background-color: #1976d2;
}

td a[href*="borrar"] {
  background-color: #f44336;
}

td a[href*="borrar"]:hover {
  background-color: #d32f2f;
}
p {
  font-size: 15px;
  color: #444;
  text-align: center;
  margin-top: 25px;
}

a[href*="formulario"] {
  display: inline-block;
  background-color: #e91e63;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  font-size: 14px;
}

a[href*="formulario"]:hover {
  background-color: #c2185b;
}
footer {
  background-color: #e91e63;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  margin-top: auto;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}
