body {
  background: #191a1c;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Panel de administración */
.admin-container {
  width: 648px;
  background: #212228;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.23);
  padding: 48px 50px 36px 50px;
  text-align: center;
  position: relative;
  top: 30px;
  transition: width 0.3s;
}

.admin-logo {
  height: 63px;
  width: auto;
  margin-bottom: 34px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.admin-title {
  font-size: 1.62rem;
  font-weight: 700;
  color: #e4e6eb;
  margin-bottom: 40px;
  text-align: center;
  margin-top: 0;
  letter-spacing: 0.2px;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 12px;
  background: transparent;
}

.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  color: #e7eaf3;
}

.admin-table th {
  font-weight: bold;
  background: #23232b;
  color: #b8cdf9;
  font-size: 1.04rem;
  border-bottom: 2px solid #35364a;
  text-align: left;
}

.admin-table td {
  background: none;
  font-size: 1.03rem;
  border-bottom: 1px solid #23232b;
  vertical-align: middle;
}

.btn-admin {
  background: linear-gradient(90deg, #2381f7 0%, #30b4fa 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  box-shadow: 0 2px 12px 0 rgba(50,80,240,0.10);
  transition: background .17s;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  min-width: 0;
}

.btn-admin:hover {
  background: linear-gradient(90deg, #379afc 0%, #48dbfb 100%);
}

.btn-logout {
  margin-top: 32px;
  padding: 10px 34px;
  background: transparent;
  border: 2px solid #2381f7;
  color: #fff;
  font-weight: 600;
  border-radius: 7px;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.btn-logout:hover {
  background: #2381f7;
  color: #fff;
}

@media (max-width: 900px) {
  .admin-container { width: 97vw; padding: 18px 4vw 22px 4vw; }
}

/* --- Formularios de login, registro y recuperación (compatibles con tu estilo) --- */
.container {
  background: #23232b;
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 #000a;
  padding: 50px 34px 38px 34px;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  gap: 18px;
}

.container img {
  width: 140px;
  margin-bottom: 18px;
  display: block;
}

.container h1 {
  color: #e4e6eb;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: 0.15px;
}

.container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.container input[type="text"],
.container input[type="password"],
.container input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 7px;
  border: none;
  background: #181c23 !important;
  color: #f2f2f2;
  font-size: 1.13rem;
  outline: none;
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: box-shadow 0.22s;
  box-shadow: none;
}

.container input:focus {
  background: #181c23 !important;
  box-shadow: 0 0 0 2px #1976d2a3;
}

.container input::placeholder {
  color: #aeb5be;
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 1;
}

.container button[type="submit"] {
  background: linear-gradient(90deg,#1976d2 0%,#0098ff 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1.18rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 #0053b35e;
  margin-top: 14px;
}

.container button[type="submit"]:hover {
  background: linear-gradient(90deg,#2186f2 0%,#3fbfff 100%);
}

.link {
  color: #7cb1f8;
  text-align: center;
  font-size: 1.04rem;
  text-decoration: underline;
  margin-top: 8px;
  margin-bottom: 0;
  cursor: pointer;
}

.mensaje-exito {
  background: #183e2b;
  color: #7fffa7;
  border-radius: 7px;
  padding: 10px 8px 10px 10px;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: center;
  border: 1px solid #176a42;
  width: 100%;
  font-size: 1.08rem;
}

@media (max-width: 500px) {
  .container {
    width: 97vw;
    padding: 20px 3vw;
  }
  .container img { width: 80px; }
}
