/* css/admin_estilos.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #333;
  margin: 0;
  padding: 0 20px 40px 20px;
}

h1, h2 {
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 20px;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #2980b9;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  border-radius: 6px;
  overflow: hidden;
}

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

th {
  background-color: #2980b9;
  color: white;
  font-weight: 600;
}

tbody tr:hover {
  background-color: #f1f7fb;
}

form {
  background: white;
  padding: 20px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  border-radius: 6px;
  margin-bottom: 40px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

input[type="text"],
input[type="number"],
input[type="email"],
select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: #2980b9;
  outline: none;
}

button {
  background-color: #2980b9;
  color: white;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1f618d;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

form a {
  margin-left: 15px;
  color: #e74c3c;
  font-weight: 600;
}

form a:hover {
  color: #c0392b;
}

p {
  max-width: 600px;
}
button {
  padding: 8px 16px;
  margin: 5px;
  background-color: #2980b9;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background-color: #1f618d;
}
.form-group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.form-group label {
  width: 120px; /* ancho fijo para etiquetas */
  font-weight: bold;
}

.form-group input[type="text"] {
  flex: 1; /* para que el input ocupe el resto */
  padding: 6px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
