/* ======== Fondo general ======== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #071226, #0b1220);
  color: #e6f6f5;
  display: flex;
  min-height: 100vh;
}

/* ======== Sidebar ======== */
.sidebar {
  width: 250px;
  background: rgba(12, 20, 38, 0.7);
  backdrop-filter: blur(12px);
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.logo i {
  font-size: 1.8rem;
  color: #2563eb;
}

.logo h2 {
  font-size: 1.2rem;
  color: white;
}

.nav-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9bb0c6;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.nav-menu a.active {
  background: linear-gradient(135deg, #2563eb, #0ea5a4);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

/* ======== Contenido principal ======== */
.account-container {
  flex: 1;
  max-width: 900px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
}

/* ======== Títulos ======== */
.account-container h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2563eb;
  text-align: center;
}

.account-container h1 i {
  color: #0ea5a4;
  margin-right: 10px;
}

.subtitle {
  text-align: center;
  color: #9bb0c6;
  margin-bottom: 40px;
}

/* ======== Secciones ======== */
.account-section {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 25px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.account-section:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.account-section h2 {
  font-size: 1.2rem;
  color: #2563eb;
  margin-bottom: 10px;
}

.account-section i {
  margin-right: 10px;
  color: #0ea5a4;
}

.account-section p {
  color: #bfc7ce;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* ======== Botones ======== */
button {
  background: linear-gradient(135deg, #2563eb, #0ea5a4);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

button:hover {
  background: linear-gradient(135deg, #1e4fd0, #099b95);
  transform: scale(1.05);
}

/* ======== Responsive ======== */
@media (max-width: 900px) {
  body {
    flex-direction: column;
    align-items: center;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 15px;
    border: none;
    box-shadow: none;
  }

  .nav-menu {
    flex-direction: row;
    gap: 10px;
  }

  .account-container {
    margin-top: 30px;
    width: 90%;
  }
}
