/* Estilos globales (para index.php) */
body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  text-align: center;
  border: 1px solid #ddd;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input {
  padding: 10px;
  width: 80%;
  margin: 5px 0;
}

button {
  background-color: #4267B2;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #365899;
}

input[type="password"] {
  padding: 10px;
  width: 80%;
  margin: 5px 0;
}

/* --- Estilos exclusivos para el dashboard --- */
.dashboard-body {
  background-color: #f4f6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.dashboard-container {
  text-align: center;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background-color: #ffffff;
  width: 420px;
}

.center-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  gap: 15px;
}

/* Botón principal (dashboard) */
.btn-primary {
  display: inline-block;
  width: 220px;
  text-align: center;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  border: none; /* importante para <button> */
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-danger {
  display: inline-block;
  width: 220px;
  text-align: center;
  padding: 12px 24px;
  background-color: #dc3545;
  color: white;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #a71d2a;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.success {
  color: #27ae60;
}

.error {
  color: #c0392b;
}

.note {
  font-style: italic;
  color: #7f8c8d;
}
.logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%; /* circular */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 15px;
}