/* Estilos de perfil*/
.profile-content {
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contenedor-avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto;
}

.avatar-perfil-large {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-edit-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c4471b;
  color: white;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.btn-edit-avatar:hover {
  transform: scale(1.1);
}

.nombre-perfil-large {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.badge-premium {
  background: #f7a81b;
  color: #5c3a00;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  display: inline-block;
}

/* Tarjetas y Grid  */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-full {
  grid-column: span 2;
}

.grid-half {
  grid-column: span 1;
}

.p-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
  cursor: pointer;
}

.p-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.p-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.p-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.p-card-action {
  color: #b05c2a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.8rem;
  display: inline-block;
}

.p-card-action:hover {
  text-decoration: underline;
  color: #903008;
}

.p-card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fdf6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Botón de Salida */
.btn-cerrar-sesion {
  background: #e6e7e8;
  color: #ba2828;
  border: none;
  width: 100%;
  padding: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cerrar-sesion:hover {
  background: #fcdbdb;
  color: #a01717;
}

.footer-text {
  font-size: 0.7rem;
  color: #bcc0c4;
  letter-spacing: 2px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .grid-full,
  .grid-half {
    grid-column: span 1;
  }
}