/* =============================================================================================
                                        STYLES.CSS
==============================================================================================*/
/*
          1 - Variables globales
          2 - Admin.html  
          3 - Index.html
          4 - Login.html
          5 - Register.html
          6 - ForgotPassword.html
          7 - ResetPassword.html
          8 - Matches.html
              8.1 - Navbar y Menú Lateral
              8.2 - Dashboard Principal y Tarjetas
              8.3 - Chat
              8.4 - Amigos y Solicitudes
              8.5 - Perfil Público
              8.6 - Citas a Ciegas
              8.7 - Historias (Stories)
              8.8 - Mural de Confesiones
              8.9 - Crushes Secretos
              8.10 - Cartas de Amor (VIP)
              8.11 - Configuración de Cuenta
          9 - Verify.html
*/
:root {
  --primary: #ff4b72;
  --primary-hover: #e83f62;
  --primary-gradient: linear-gradient(135deg, #ff4b72 0%, #c026d3 100%);
  --secondary-gradient: linear-gradient(135deg, #9333ea 0%, #ff4b72 100%);
  --bg-color: #2d0036;
  --card-bg: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.25);
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --shadow-soft:
    0 10px 40px -3px rgba(194, 58, 122, 0.4),
    0 4px 6px -2px rgba(255, 75, 114, 0.2);
  --shadow-hover:
    0 20px 60px -5px rgba(194, 58, 122, 0.6),
    0 10px 20px -5px rgba(155, 53, 192, 0.4);
  --neon-pink:
    0 0 20px rgba(255, 75, 114, 0.6), 0 0 60px rgba(255, 75, 114, 0.3);
  --neon-purple:
    0 0 20px rgba(155, 53, 192, 0.6), 0 0 60px rgba(155, 53, 192, 0.3);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
}
body {
  background: linear-gradient(
    135deg,
    #b553d9 0%,
    #a63185 20%,
    #f06cae 45%,
    #ff8fa7 65%,
    #d470f5 85%,
    #b251f2 100%
  );
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientFloat 18s ease infinite;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem;
}
header {
  text-align: center;
  margin-bottom: 2rem;
}
header h1 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  padding-bottom: 1rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 210, 235, 0.95);
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(255, 75, 114, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  outline: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
select {
  color: rgba(255, 235, 245, 0.7);
}
textarea {
  resize: vertical;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
  color: rgba(255, 235, 245, 0.7);
}
input:focus,
select:focus,
textarea:focus {
  border-color: #ff4b72;
  box-shadow:
    0 0 0 4px rgba(255, 75, 114, 0.2),
    0 0 16px rgba(255, 75, 114, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
select option {
  background: #3a0050;
  color: #fff;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 0.85rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 180, 210, 0.2);
  color: rgba(255, 235, 245, 0.7);
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  transition: all 0.3s;
  line-height: 1.25;
  word-break: break-word;
}
/* .checkbox-label:hover {
  background: rgba(255, 75, 114, 0.15);
  border-color: rgba(255, 75, 114, 0.5);
} */
.checkbox-label input {
  width: auto;
  margin-right: 10px;
  accent-color: var(--primary);
  transform: scale(1.1);
}
.logout-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
}
.notif-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
  color: var(--text-main);
}
.notif-item:hover {
  background: #f8fafc;
}
.notif-item:last-child {
  border-bottom: none;
}
.match-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow:
    0 16px 40px rgba(255, 75, 114, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
  border-top: 5px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.match-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.match-avatar {
  width: 150px;
  height: 150px;
  background: #fff0f5;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.match-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  text-transform: capitalize;
}
.match-details {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.match-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}
.match-badge {
  display: inline-block;
  background: rgba(255, 75, 114, 0.1);
  color: var(--primary-hover);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 75, 114, 0.2);
}
.match-p {
  padding-bottom: 1rem;
}
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#filtroPanel {
  transform-origin: top;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0.9);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
.chat-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  max-width: 85%;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.my-msg {
  background: var(--primary-gradient);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.their-msg {
  background: #f1f5f9;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid #e2e8f0;
}
.confession-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.confession-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}
.heart-particle {
  position: absolute;
  width: 25px;
  height: 25px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff4b72"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>')
    no-repeat center/contain;
  animation: floatUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  pointer-events: none;
  z-index: 10000;
}
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1) rotate(0);
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-150px) scale(2) rotate(20deg);
    opacity: 0;
  }
}
@keyframes ringBell {
  0% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(-25deg);
  }
  30% {
    transform: rotate(25deg);
  }
  45% {
    transform: rotate(-15deg);
  }
  60% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  85% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0);
  }
}
.bell-ring {
  animation: ringBell 0.5s ease-in-out;
  display: inline-block;
  transform-origin: top center;
}
.vip-heart {
  position: absolute;
  font-size: 1.2rem;
  animation: floatHeart 4s ease-in-out infinite;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(1) rotate(-10deg);
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120px) scale(1.3) rotate(10deg);
    opacity: 0;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
  }
}
@keyframes gradientFloat {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 100%;
  }
}
@keyframes buttonPulse {
  0% {
    box-shadow: 0 4px 6px rgba(255, 75, 43, 0.2);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 10px 15px rgba(255, 75, 43, 0.4);
    transform: translateY(-2px);
  }
  100% {
    box-shadow: 0 4px 6px rgba(255, 75, 43, 0.2);
    transform: translateY(0);
  }
}
@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes vipCardPulse {
  0% {
    box-shadow:
      0 0 15px rgba(217, 70, 239, 0.4),
      0 0 30px rgba(217, 70, 239, 0.2);
    border-color: #d946ef;
  }
  100% {
    box-shadow:
      0 0 25px rgba(217, 70, 239, 0.7),
      0 0 45px rgba(217, 70, 239, 0.4);
    border-color: #f0abfc;
    transform: translateY(-1px);
  }
}
.vip-crush-card-anim {
  animation: vipCardPulse 2.5s infinite alternate ease-in-out;
}
@keyframes like-bounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.3);
  }
  60% {
    transform: scale(0.9);
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.animating-like {
  animation: like-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
body {
  padding-top: 5rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.stat-card h3 {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.stat-card .value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.data-table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.data-table td,
.data-table th {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.data-table th {
  background: #f8fafc;
  color: #4a5568;
  font-weight: 600;
}
.data-table tr:last-child td {
  border-bottom: none;
}
h2 {
  margin-bottom: 1rem;
  color: var(--text-main);
}
/* --- Contenedor de autenticación: usado por forgot-password y reset-password --- */
.auth-container {
  max-width: 420px;
  margin: 4rem auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow:
    0 16px 40px rgba(255, 75, 114, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.auth-container h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}
.auth-container label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-weight: 500;
  font-size: 0.95rem;
}
.auth-container input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  outline: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.auth-container input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}

/* --- Enlace de "Volver" al pie de los formularios de auth --- */
.back-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.back-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.btn-link {
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1.1rem;
  min-width: 180px;
  letter-spacing: 0.03em;
}
.btn-primary-link {
  background: linear-gradient(135deg, #ff4b72 0%, #c026d3 100%);
  color: #fff;
  box-shadow:
    0 8px 32px rgba(255, 75, 114, 0.55),
    0 4px 12px rgba(192, 38, 211, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn-primary-link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 16px 48px rgba(255, 75, 114, 0.7),
    0 8px 20px rgba(192, 38, 211, 0.5);
}
.btn-secondary-link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 180, 210, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.btn-secondary-link:hover {
  background: rgba(255, 75, 114, 0.2);
  border-color: rgba(255, 75, 114, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(255, 75, 114, 0.4);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
@keyframes subtleFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes floatHeartBg {
  0% {
    transform: translateY(0) scale(0.8) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1.5) rotate(360deg);
    opacity: 0;
  }
}
.floating-heart {
  position: fixed;
  bottom: -50px;
  font-size: 28px;
  animation: floatHeartBg 8s infinite linear;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}
.anim-heart {
  display: inline-block;
  animation: heartbeat 2s infinite;
  /* Anulamos el gradiente del h1 para que el emoji se vea normal */
  -webkit-text-fill-color: initial;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
}
#btnInstalarApp {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #e91e8c, #8b2fc9);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.45);
  transition: all 0.3s ease;
}
#btnInstalarApp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(233, 30, 140, 0.6);
}
#installHint {
  display: none;
  font-size: 0.82rem;
  color: #ddd;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}
.acercaMenu-wrapper {
  background: linear-gradient(135deg, #d568f0, #b15ce9);
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 200px;
  overflow: hidden;
  z-index: 100;
}
/* Prevent background scroll when modal is open */
body.modal-open-no-scroll {
  overflow: hidden !important;
  touch-action: none !important;
}

@media (max-width: 600px) {
  #confessionsModal,
  .confessionsModal-wrapper {
    padding: 0 !important;
    align-items: stretch !important;
    height: 100% !important;
    height: 100dvh !important;
    width: 100vw !important;
    z-index: 10005 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
  }
  #confessionsCard,
  .confessionsCard-wrapper {
    border-radius: 0 !important;
    min-height: 100% !important;
    min-height: 100dvh !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  #confessionsHeader,
  .confessionsHeader-wrapper {
    border-radius: 0 !important;
    padding: 1.2rem 1rem 0.9rem !important;
    flex-shrink: 0 !important;
  }
  #confessionsContent,
  .confessionsContent-wrapper {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 1rem 0.8rem 3.5rem !important;
  }
  .mural-neon-title {
    font-size: 1.35rem !important;
  }
  .mural-header-icon {
    font-size: 2rem !important;
  }
}
.bg-blanco {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  color: #4a5568 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.bg-blanco p {
  color: #4a5568 !important;
}
.bg-blanco strong {
  color: #2d3748 !important;
}
.bg-blanco span {
  color: #a0aec0 !important;
}
.epic-animation {
  position: relative;
  animation: pulse-glow 2s infinite alternate;
  z-index: 1;
}
.epic-animation::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    red,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    red
  );
  z-index: -1;
  border-radius: inherit;
  background-size: 400%;
  animation: glowing-border 20s linear infinite;
}
@keyframes glowing-border {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  }
  100% {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
  }
}
@keyframes moveGradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
#queEsModal > div {
  max-height: 85vh;
  overflow-y: auto;
}
.reaction-btn span {
  display: inline-block;
  min-width: 20px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0 5px;
  font-size: 0.82rem;
  font-weight: 700;
  vertical-align: middle;
}
#storiesContainer {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 30px 16px 14px 16px;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  align-items: flex-start;
  scrollbar-width: none;
}
#storiesContainer::-webkit-scrollbar {
  display: none;
}
/* --- MODAL DE COMENTARIOS REDISEÑADO NEÓN / GLASS --- */
#commentsModal,
.comments-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999 !important; /* Forced to appear above public profile modal (99990) */
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  #commentsModal,
  .comments-modal-backdrop {
    align-items: center;
    padding: 1.5rem;
  }
}

#commentsPanel,
.comments-panel-neon {
  background: linear-gradient(
    175deg,
    rgba(17, 24, 39, 0.98) 0%,
    rgba(15, 23, 42, 0.99) 50%,
    rgba(24, 12, 38, 0.99) 100%
  );
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 -15px 50px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(236, 72, 153, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: commentsSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

@media (min-width: 640px) {
  #commentsPanel,
  .comments-panel-neon {
    border-bottom: 1px solid rgba(236, 72, 153, 0.35);
    border-radius: 24px;
    animation: commentsPopCenter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes commentsSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes commentsPopCenter {
  from {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
#chatMessages {
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#blindDateSetupModal {
  display: none;
}
#blindDateSetupModal.open {
  display: flex;
}
.auth-container {
  max-width: 400px;
  margin: 4rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.auth-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}
.auth-container label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-weight: 500;
}
.back-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: #64748b;
  text-decoration: none;
}

/* --- Tarjeta principal--- */

.container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(
    145deg,
    #821c9c 0%,
    #741768 40%,
    #9e227e 70%,
    #791696 100%
  );
  border: 1.5px solid rgba(255, 150, 210, 0.3);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.2),
    0 40px 100px rgba(100, 0, 80, 0.7),
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
}

.dashboard-header h2 {
  font-size: 2.2rem;
  color: #ddd !important;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.5;
}

.card-form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #ff4b72, #c026d3);
  color: #fff;
  padding: 1rem;
  border: 2px solid rgba(255, 150, 210, 0.5);
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 1rem;
  box-shadow:
    0 8px 32px rgba(255, 75, 114, 0.55),
    0 4px 12px rgba(192, 38, 211, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(255, 75, 114, 0.65),
    0 8px 24px rgba(192, 38, 211, 0.45);
  border-color: rgba(255, 180, 210, 0.8);
}

.navbar {
  width: 100%;
  background: var(--primary-gradient);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 9999;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand img {
  height: 35px;
  max-height: 35px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- Hamburger Menu Styles --- */
.hamburger-container {
  position: relative;
}
.nav-btn-hamburger {
  font-size: 1.5rem !important;
  padding: 0 10px !important;
  background: transparent !important;
  border: none !important;
  color: white !important;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
.nav-btn-hamburger:focus,
.nav-btn-hamburger:focus-visible {
  outline: none !important;
}

.hamburgerMenu-wrapper {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 12px;
  min-width: 140px;
  z-index: 1000;
  gap: 8px;
}

.hamburgerMenu-wrapper .hamburger-link {
  color: #fff !important;
  text-align: left;
  padding: 8px 15px !important;
  border-radius: 12px !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

.hamburgerMenu-wrapper .hamburger-link:hover {
  transform: translateY(-2px);
}

.navbar select {
  width: auto;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-weight: 500;
  outline: 0;
  cursor: pointer;
}

.navbar select option {
  color: var(--text-main);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-direction: row !important;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap !important;
  }
  .nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    text-align: left;
    margin: 0;
  }
}

.chat-modal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(10, 8, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99990;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .chat-modal:not(#chatModal) {
    padding: 0.5rem !important;
  }
  .chat-modal:not(#chatModal) .card-form {
    margin: 0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .profile-tab-content {
    padding: 1rem 0.8rem 1.5rem !important;
  }
}

.text-center {
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.theme-picker-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.theme-picker-btn:hover {
  transform: scale(1.1);
}

.theme-picker-btn.selected {
  border: 2px solid #000;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.navbar {
  gap: 1rem;
}

.nav-controls {
  flex-wrap: nowrap;
  width: auto;
  padding: 15px 5px; /* Espacio extra para que no se corten las sombras */
  gap: 1.2rem;
}

.nav-controls::-webkit-scrollbar {
  display: none;
}

.nav-pill-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.nav-pill-btn:focus,
.nav-pill-btn:focus-visible,
.nav-pill-btn:active {
  outline: none !important;
}
.nav-pill-btn:hover {
  transform: translateY(-3px);
  color: #fff !important;
}

.nav-notif-container {
  position: relative;
  display: inline-flex;
}

/* Colores para cada botón del NavBar */
.nav-btn-notif {
  position: relative;
  background: #f97316 !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}
.nav-btn-notif:hover {
  background: #ea6d0a !important;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55) !important;
}
.nav-btn-notif:focus,
.nav-btn-notif:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.5),
    0 6px 20px rgba(249, 115, 22, 0.5) !important;
}

/* 🎭 Mural — azul cielo (como el fondo neon oscuro del mural) */
.nav-btn-mural {
  background: #0ea5e9 !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35) !important;
}
.nav-btn-mural:hover {
  background: #0284c7 !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.55) !important;
}

/* 🕵️ Cita a Ciegas — morado violeta */
.nav-btn-cita {
  background: #8b5cf6 !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35) !important;
}
.nav-btn-cita:hover {
  background: #7c3aed !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.55) !important;
}

/* 💖 Crushes — fondo oscuro espacial del modal */
.nav-btn-crushes {
  background: linear-gradient(165deg, #2d1b3d 0%, #1d0a2d 100%) !important;
  box-shadow: 0 4px 14px rgba(29, 10, 45, 0.4) !important;
  border: 1px solid rgba(255, 105, 180, 0.3) !important;
}
.nav-btn-crushes:hover {
  background: linear-gradient(165deg, #3d2b4d 0%, #2d1b3d 100%) !important;
  box-shadow: 0 6px 20px rgba(29, 10, 45, 0.6) !important;
}

/* 💬 Chats — magenta rosa (color del encabezado de la bandeja) */
.nav-btn-chats {
  background: #ec4899 !important;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35) !important;
}
.nav-btn-chats:hover {
  background: #db2777 !important;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.55) !important;
}

/* 👤 Mi Perfil — fondo rosa pastel del modal */
.nav-btn-perfil {
  background: linear-gradient(160deg, #f5123f 0%, #fd0841 100%) !important;
  color: #4a154b !important;
  box-shadow: 0 4px 14px rgba(255, 182, 193, 0.4) !important;
  font-weight: 700 !important;
}
.nav-btn-perfil:hover {
  background: linear-gradient(160deg, #ffffff 0%, #fff5f7 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 182, 193, 0.6) !important;
}

/* 👥 Amigos — gradiente rosa vibrante del modal */
.nav-btn-friends {
  background: linear-gradient(145deg, #ff7eb3 0%, #ff4b72 100%) !important;
  box-shadow: 0 4px 14px rgba(255, 75, 114, 0.35) !important;
}
.nav-btn-friends:hover {
  background: linear-gradient(145deg, #ff8ebf 0%, #ff5c80 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 75, 114, 0.55) !important;
}

/* ⚙️ Configuración — gris azulado */
.nav-btn-settings {
  background: #475569 !important;
  box-shadow: 0 4px 14px rgba(71, 85, 105, 0.3) !important;
}
.nav-btn-settings:hover {
  background: #334155 !important;
  box-shadow: 0 6px 20px rgba(71, 85, 105, 0.5) !important;
}

/* ☰ Botón hamburguesa */
.nav-btn-hamburger {
  background: #1e293b !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
.nav-btn-hamburger:hover {
  background: #0f172a !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 768px) {
  /* Navbar superior simplificada en móvil */
  .navbar {
    padding: 0.7rem 1rem !important;
    gap: 10px;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: nowrap !important;
  }
  .nav-brand {
    font-size: 1.2rem !important;
    margin: 0;
  }

  /* En móvil, nav-controls se muestra normal debajo del logo, sin flotar abajo */
  .nav-controls {
    flex-wrap: nowrap;
    width: auto;
    padding: 0 !important;
    gap: 0.5rem !important;
    justify-content: flex-end;
  }

  /* Botones del dock */
  .nav-pill-btn,
  .matches-like-btn {
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
  }

  body.matches-body {
    padding-bottom: 20px;
  }
}

.ui-image-style-90 {
  height: 35px;
  border-radius: 8px;
}

.loggedInUserName-wrapper {
  color: #b7af94;
  font-style: italic;
}

.toggleFiltroBtn-wrapper {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filtroArrow-wrapper {
  transition: transform 0.3s;
}

.filtroBadge-wrapper {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1px 8px;
  font-size: 0.8rem;
}

.genderFilterSelect-wrapper {
  appearance: none;
  background: linear-gradient(135deg, #ff4b72, #ff6b35);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 2.5rem 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 10px rgba(255, 75, 114, 0.4);
  outline: 0;
}

.filtroPanel-wrapper {
  display: none;
  position: absolute;
  top: 150px;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  background: rgba(30, 30, 40, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease;
  color: #fff;
}

.filtro-panel-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}

.filtro-panel-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.filtro-panel-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#carreraFilterGrid label {
  background: transparent !important;
  color: #fff !important;
  transition: background 0.2s ease;
}
#carreraFilterGrid label:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
#carreraFilterGrid span {
  color: #fff !important;
}

.matches-filter-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
.matches-filter-btn:hover {
  background: var(
    --primary-gradient,
    linear-gradient(135deg, #4361ee, #3a0ca3)
  );
  border-color: transparent;
  transform: translateY(-2px);
}

.filtro-panel-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.carreraFilterGrid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.d-none {
  display: none;
}

.btnRevealIdentity-wrapper {
  background: #eab308;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: none;
  box-shadow: none;
  margin-right: 1rem;
  width: auto;
  color: #000;
}

.d-none {
  display: none;
}

.d-none {
  display: none;
}

.emojiPicker-wrapper {
  display: none;
  padding: 0.8rem;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  font-size: 1.8rem;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.d-none {
  display: none;
}

.editProfileModal-wrapper,
#editProfileModal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: flex-start; /* Evita que el contenido superior se corte al desbordar */
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto !important;
  z-index: 99990 !important;
  background: rgba(8, 4, 18, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-sizing: border-box;
}

.editProfileModal-wrapper > .card-form {
  margin: 2rem auto; /* Evita que flexbox corte el contenido en pantallas pequeñas */
  width: 100%;
  max-width: 600px;
}

.btn-tab-info-wrapper {
  flex: 1;
  border: none;
  background: #f8fafc;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 30px;
  color: #1a202c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-tab-visits-wrapper {
  flex: 1;
  border: none;
  background: 0 0;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 30px;
  color: #64748b;
  transition: all 0.3s ease;
}

.vipProfileStatus-wrapper {
  display: none;
  margin: 0.3rem 1rem 0.7rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #7c2d12;
  font-weight: 700;
  text-align: center;
  border: 1px solid #f59e0b;
}

.tab-info-wrapper {
  display: block;
}

.miTarjetaContainer-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.miTarjetaPreview-wrapper {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 350px;
  gap: 0;
}

.editProfileFormContainer-wrapper {
  display: none;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.currentProfilePicPreview-wrapper {
  margin-bottom: 15px;
  text-align: center;
  display: none;
}

.currentProfilePic-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 3px solid #e2e8f0;
}

.viewCarrera-wrapper {
  background-color: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.strong-style-215 {
  display: block;
  color: #2d3748;
  margin-bottom: 5px;
}

.editFotoPublica-wrapper {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.w-100 {
  width: 100%;
}

.passwordChangeContainer-wrapper {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.currentPassword-wrapper {
  width: 100%;
  padding-right: 40px;
}

.confirmNewPassword-wrapper {
  width: 100%;
  padding-right: 40px;
}

.passwordChangeMessage-wrapper {
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}

.nav-link-style-227 {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.d-none {
  display: none;
}

.visitsListContainer-wrapper {
  min-height: 200px;
}

.d-none {
  display: none;
}

.d-none {
  display: none;
}

.d-none {
  display: none;
}

.d-none {
  display: none;
}

.pendingRequestsContainer-wrapper {
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  display: none;
}

.pendingBadge-wrapper {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 0.8rem;
}

.pendingRequestsList-wrapper {
  display: grid;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.viewUserModal-wrapper,
#viewUserModal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: flex-start; /* Changed from center to allow scrolling to top */
  justify-content: center;
  padding: 3rem 1rem; /* More top/bottom padding */
  overflow-y: auto;
  z-index: 99990 !important;
  background: rgba(8, 4, 18, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-sizing: border-box;
}

#viewUserModal .card-form {
  margin: auto; /* Ensure it stays centered if smaller than viewport */
}

.publicAvatarContainer-wrapper {
  margin: 0 auto 10px auto;
  position: relative;
  display: flex;
  justify-content: center;
}

.publicPhoto-wrapper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  cursor: pointer;
}

.publicEmoji-wrapper {
  font-size: 3.5rem;
}

.publicName-wrapper {
  margin-top: 5px;
  margin-bottom: 5px;
  color: var(--text-main);
  font-size: 1.6rem;
  font-weight: 800;
}

.publicDetails-wrapper {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.publicBio-wrapper {
  margin: 0;
  font-style: italic;
  color: #4a5568;
  line-height: 1.6;
}

.d-none {
  display: none;
}

.footer-style-293 {
  background: 0 0;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.d-none {
  display: none;
}

.neonThemeBtn-wrapper {
  background: #0b0f19;
  border: 2px solid #f0f;
  position: relative;
}

.neonLockIcon-wrapper {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.6rem;
  background: #ff4b72;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filterBtn-todos-wrapper {
  flex: 1;
  min-width: 95px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.4);
  transition: all 0.2s;
}

.filterBtn-mias-wrapper {
  flex: 1;
  min-width: 95px;
  background: #fdf2f8;
  color: #db2777;
  border: 1.5px solid rgba(236, 72, 153, 0.3);
  border-radius: 20px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.filterBtn-amigos-wrapper {
  flex: 1;
  min-width: 95px;
  background: #ecfdf5;
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.queEsModal-wrapper,
#queEsModal {
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200000 !important;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed !important;
  inset: 0;
}

.cartaAmorModal-wrapper,
#cartaAmorModal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: center;
  justify-content: center;
  z-index: 100010 !important;
  background: rgba(8, 4, 18, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 1rem 0.75rem !important;
  box-sizing: border-box;
  overflow-y: auto !important;
}

.carta-amor-card {
  width: 100%;
  max-width: 430px;
  max-height: 92dvh;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(
    165deg,
    rgba(26, 11, 48, 0.97) 0%,
    rgba(42, 14, 70, 0.97) 50%,
    rgba(20, 8, 38, 0.98) 100%
  ) !important;
  border-radius: 24px !important;
  position: relative;
  padding: 1.6rem 1.3rem 1.4rem !important;
  border: 1.5px solid rgba(255, 105, 180, 0.45) !important;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(255, 75, 114, 0.25),
    0 0 60px rgba(138, 43, 226, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  box-sizing: border-box;
  animation: cartaModalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 105, 180, 0.3) transparent;
}

.carta-amor-card::-webkit-scrollbar {
  width: 4px;
}
.carta-amor-card::-webkit-scrollbar-thumb {
  background: rgba(255, 105, 180, 0.3);
  border-radius: 10px;
}

@keyframes cartaModalPopIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Ambient glow orbs */
.carta-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
}

.carta-glow-orb-1 {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -30px;
  background: radial-gradient(circle, rgba(255, 75, 114, 0.5), transparent 70%);
}

.carta-glow-orb-2 {
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -30px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
}

/* Close Button */
.carta-close-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.carta-close-btn:hover {
  background: rgba(255, 75, 114, 0.25) !important;
  border-color: rgba(255, 105, 180, 0.6) !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.carta-step-container {
  position: relative;
  z-index: 2;
}

/* Header */
.carta-header-box {
  text-align: center;
  margin-bottom: 1.15rem;
}

.carta-icon-float {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: inline-block;
  filter: drop-shadow(0 0 14px rgba(255, 105, 180, 0.6));
  animation: cartaHeartPulse 2s infinite ease-in-out;
}

@keyframes cartaHeartPulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-4px);
  }
}

.carta-modal-title {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
  margin: 0 0 0.45rem 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 40%, #ffb6c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Single-row sleek glass badge */
.carta-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 105, 180, 0.12);
  border: 1px solid rgba(255, 105, 180, 0.35);
  color: #ff9fc7;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: 95%;
}

.carta-badge-pill strong {
  color: #ffffff;
  font-weight: 700;
}

.carta-pill-dot {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

/* Benefits Card */
.carta-benefits-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carta-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.carta-benefit-icon {
  font-size: 1.15rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.carta-benefit-text {
  color: #e2e8f0;
  font-size: 0.87rem;
  line-height: 1.4;
  font-weight: 400;
}

.carta-hl-gold {
  color: #fbbf24;
  font-weight: 700;
}

.carta-hl-pink {
  color: #f472b6;
  font-weight: 700;
}

.carta-hl-white {
  color: #ffffff;
  font-weight: 600;
}

.carta-benefit-note {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* Action button CTA */
.carta-action-row {
  display: flex;
  justify-content: center;
}

.carta-btn-cta {
  width: 100%;
  background: linear-gradient(
    135deg,
    #ff4b72 0%,
    #d946ef 50%,
    #f59e0b 100%
  ) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 13px 26px !important;
  border-radius: 35px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow:
    0 6px 22px rgba(255, 75, 114, 0.45),
    0 0 15px rgba(217, 70, 239, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: 0.2px !important;
  font-family: inherit !important;
}

.carta-btn-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 12px 32px rgba(255, 75, 114, 0.65),
    0 0 25px rgba(217, 70, 239, 0.45) !important;
}

.carta-btn-cta:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Paso 2: Formulario */
.carta-step2-title {
  color: #ffffff !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.4rem 0 !important;
}

.carta-step2-desc {
  color: #94a3b8 !important;
  font-size: 0.86rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.carta-form-group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.carta-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.carta-field-label {
  color: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carta-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1.5px solid rgba(255, 105, 180, 0.35) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

.carta-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.carta-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ff4b72 !important;
  box-shadow: 0 0 18px rgba(255, 75, 114, 0.45) !important;
}

.carta-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carta-btn-back {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
  padding: 12px 20px !important;
  border-radius: 30px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  white-space: nowrap;
}

.carta-btn-back:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  transform: translateX(-2px);
}

.carta-btn-submit {
  flex: 1;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%) !important;
  color: #1a0f00 !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 30px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  font-family: inherit !important;
}

.carta-btn-submit:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(255, 215, 0, 0.55) !important;
}

.carta-btn-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.carta-status-msg {
  text-align: center;
  color: #a78bfa;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0;
  min-height: 1.2rem;
}

/* =========================================================================
   DISEÑO NEÓN & OBSIDIAN GLASS — COMENTARIOS (MURAL, POSTS, HISTORIAS)
   ========================================================================= */

.comments-drag-handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
  margin: 10px auto 4px;
  opacity: 0.85;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
}

.comments-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-header-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.comments-neon-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f472b6, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.comments-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

.comments-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.1);
}

.comments-list-container {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: 48vh;
  max-height: 48dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comments-list-container::-webkit-scrollbar {
  width: 5px;
}

.comments-list-container::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.4);
}

.comments-list-container::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.35);
  border-radius: 4px;
}

.comments-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.65);
}

.comments-loading,
.comments-empty,
.comments-error {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.comments-empty {
  color: #c084fc;
  font-weight: 500;
}

.comments-error {
  color: #f87171;
}

/* --- TARJETA DE COMENTARIO --- */
.comment-card-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.comment-card-item.comment-is-reply {
  margin-left: 32px;
  position: relative;
  border-left: 2px solid rgba(139, 92, 246, 0.4);
  padding-left: 10px;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(236, 72, 153, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
  user-select: none;
}

.comment-avatar:not(.is-anon) {
  cursor: pointer;
}

.comment-avatar:not(.is-anon):hover {
  transform: scale(1.08);
}

.comment-content-wrap {
  flex: 1;
  min-width: 0;
}

.comment-bubble-neon {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px 16px 16px 16px;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.comment-bubble-neon:hover {
  border-color: rgba(236, 72, 153, 0.35);
  background: rgba(30, 41, 59, 0.9);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 15px rgba(236, 72, 153, 0.12);
}

.comment-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 4px;
  min-width: 0;
}

.comment-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  min-width: 0;
  word-break: break-word;
}

.comment-author-name.clickable {
  cursor: pointer;
  transition: color 0.2s ease;
}

.comment-author-name.clickable:hover {
  color: #f472b6;
  text-decoration: underline;
}

.anon-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-weight: 600;
  margin-left: 4px;
}

.comment-header-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: auto;
  flex-shrink: 0;
}

.comment-edited-badge {
  font-size: 0.68rem;
  color: #a78bfa;
  font-style: italic;
  font-weight: 500;
  opacity: 0.9;
}

.comment-timestamp {
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
}

.comment-message-text {
  margin: 0;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.comment-message-text a {
  color: #38bdf8;
  text-decoration: underline;
}

.comment-actions-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  margin-left: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.comment-actions-bar::-webkit-scrollbar {
  display: none;
}

.comment-action-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  height: 24px;
  box-sizing: border-box;
}

.comment-action-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.comment-fire-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  border-color: rgba(255, 107, 53, 0.4);
}

.comment-fire-btn.active {
  background: linear-gradient(135deg, #ff4b72, #ff6b35);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 75, 114, 0.5);
}

.comment-reply-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.4);
}

.comment-edit-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
}

.comment-delete-btn {
  padding: 3px 6px;
  font-size: 0.75rem;
}

.comment-delete-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* --- INDICADOR DE RESPUESTA --- */
.reply-indicator-neon {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    90deg,
    rgba(139, 92, 246, 0.22),
    rgba(236, 72, 153, 0.18)
  );
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-left: 4px solid #a855f7;
  padding: 8px 14px;
  border-radius: 12px;
  margin: 0 1.3rem 8px;
  backdrop-filter: blur(8px);
}

.reply-indicator-info {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.reply-icon {
  font-size: 1rem;
}

.reply-text {
  font-size: 0.82rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reply-cancel-btn {
  background: none;
  border: none;
  color: #f87171;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: transform 0.2s;
}

.reply-cancel-btn:hover {
  transform: scale(1.2);
}

/* --- DOCK DE ENTRADA Y ACCIONES --- */
.comments-input-dock {
  padding: 0.9rem 1.3rem 1.2rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comments-dock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-anon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.comment-anon-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(236, 72, 153, 0.6);
  background: rgba(30, 41, 59, 0.8);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin: 0;
}

.comment-anon-checkbox:checked {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  border-color: #ec4899;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.comment-anon-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.comment-anon-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s;
}

.comment-anon-toggle:hover .comment-anon-label {
  color: #ffffff;
}

.comment-emoji-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.comment-emoji-btn:hover {
  background: rgba(236, 72, 153, 0.25);
  border-color: #ec4899;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

.comment-emoji-btn.active {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.4),
    rgba(139, 92, 246, 0.4)
  );
  border-color: #ec4899;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
}

.comment-emoji-tray {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.95);
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: 14px;
  max-height: 120px;
  overflow-y: auto;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.4);
  animation: fadeInTray 0.2s ease;
}

@keyframes fadeInTray {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emoji-item {
  font-size: 1.35rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: all 0.18s ease;
  user-select: none;
}

.emoji-item:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.8));
}

.comments-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comments-text-input {
  flex: 1;
  padding: 0.85rem 1.15rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
}

.comments-text-input::placeholder {
  color: #64748b;
}

.comments-text-input:focus {
  border-color: #ec4899;
  background: rgba(30, 41, 59, 0.98);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35);
}

.comments-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #3b82f6 100%);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.comments-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.6);
  filter: brightness(1.1);
}

.comments-send-btn:active {
  transform: scale(0.96);
}

.comments-send-btn .send-icon {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.comments-send-btn:hover .send-icon {
  transform: translateX(3px) translateY(-2px);
}

/* --- MODAL EDITAR COMENTARIO --- */
#editCommentModal,
.edit-comment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 25000 !important;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  padding-top: max(20px, 8vh);
  overflow-y: auto;
  box-sizing: border-box;
}

.edit-comment-panel-neon {
  background: linear-gradient(
    175deg,
    rgba(17, 24, 39, 0.98) 0%,
    rgba(15, 23, 42, 0.99) 50%,
    rgba(24, 12, 38, 0.99) 100%
  );
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 1.2rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(236, 72, 153, 0.2);
  animation: commentsPopCenter 0.25s ease;
  box-sizing: border-box;
}

.edit-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.edit-comment-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f472b6, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.edit-comment-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  outline: none;
  resize: none;
  box-sizing: border-box;
  margin-bottom: 0.85rem;
  transition: all 0.25s ease;
  line-height: 1.45;
}

.edit-comment-textarea:focus {
  border-color: #ec4899;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35);
}

.edit-comment-actions-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.edit-comment-emoji-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  padding: 0;
}

.edit-comment-emoji-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.edit-cancel-btn {
  flex: 1;
  min-width: 0;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.edit-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.chat-header-action-icon {
  transform: translate(1px, -1px);
}

.edit-save-btn {
  flex: 1.4;
  min-width: 0;
  height: 42px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.edit-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.w-100 {
  width: 100%;
}

.w-100 {
  width: 100%;
}
/*==============================================================================================
                            ADMIN.HTML — Panel de Administración
    Uso: admin.html únicamente
==============================================================================================*/

/* --- Contenedor del nav del admin (limita el ancho máximo) --- */
.admin-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Logo en el navbar del admin --- */
.admin-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}
.admin-nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 0;
}

/* --- Botón de ayuda en el navbar del admin (actualmente comentado en HTML) --- */
.admin-nav-help-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color 0.2s;
}
.admin-nav-help-btn:hover {
  color: #fff;
}

/* --- Sección hero: tablas de intereses y distribución por carrera --- */
.admin-hero-section {
  background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.35);
}
.admin-hero-content {
  max-width: 700px;
}

/* --- Grid de estadísticas dentro del hero --- */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

/* --- Título de sección principal (ej. "💘 Citas a Ciegas") --- */
.admin-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--primary);
}

/* --- Barra de filtros del admin --- */
.admin-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.admin-filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(255, 75, 114, 0.3);
}

/* --- Contenedor de tabla con sombra suave --- */
.admin-table-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.admin-table-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.admin-table-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.admin-table-container {
  overflow-x: auto;
}
.admin-table-actions-cell {
  white-space: nowrap;
}

/* Etiqueta descriptiva de la stat card */
.admin-stat-label {
  font-size: 0.88rem;
  display: block;
  opacity: 0.75;
  font-weight: 500;
  margin-top: 0.2rem;
}
.admin-stat-note,
.admin-stat-sublabel {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Mejoras visuales de la stat-card global para admin */
.admin-body .stat-card {
  border-left: 4px solid var(--primary);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.admin-body .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 75, 114, 0.15);
}

/* Mejoras de la tabla de datos para admin */
.admin-body .data-table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.8);
}
.admin-body .data-table tr:hover td {
  background: rgba(255, 75, 114, 0.04);
  transition: background 0.2s;
}

/* --- Modal de ayuda del admin (actualmente comentado en HTML) --- */
.admin-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.admin-help-input-email,
.admin-help-input-name {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s;
}
.admin-help-input-email:focus,
.admin-help-input-name:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
.admin-help-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s;
}
.admin-help-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
.admin-help-submit {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.admin-help-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 75, 114, 0.5);
}
.admin-help-response {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: #38a169;
  display: none;
  font-weight: 500;
}

.admin-stat-active,
.admin-stat-matches,
.admin-stat-reports,
.admin-stat-users {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-btn-admin {
  background: linear-gradient(
    135deg,
    rgba(244, 63, 94, 0.85),
    rgba(225, 29, 72, 0.85)
  ) !important;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.35) !important;
}
.nav-btn-admin:hover {
  box-shadow:
    0 8px 24px rgba(244, 63, 94, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

.admin-page-body {
  padding: 0 !important;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-container {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  flex: 1 0 auto;
  background: linear-gradient(
    145deg,
    #821c9c 0%,
    #741768 40%,
    #9e227e 70%,
    #791696 100%
  );
  border: 1.5px solid rgba(255, 150, 210, 0.3);
  border-radius: 20px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.admin-logout-btn {
  background: linear-gradient(
    135deg,
    rgba(244, 63, 94, 0.85),
    rgba(225, 29, 72, 0.85)
  ) !important;
  border-radius: 20px;
  border: 2px solid #e05aab;
  padding: 0.5rem 1rem;
  color: #ddd;
}
.admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-tables-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  color: #333;
}

.admin-table-col {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-table-title {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.text-white {
  color: #fff !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
}

@media (max-width: 768px) {
  .admin-navbar {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 1rem !important;
  }
}

/*==============================================================================================
                                        INDEX.html
==============================================================================================*/
/*==============================================================================================
                            INDEX.HTML — Landing Page Principal
    Uso: index.html únicamente
==============================================================================================*/

/* --- Cuerpo de la página de inicio --- */
.index-body {
  position: relative;
  overflow-x: hidden;
  /* El fondo animado del body base ya aplica aquí */
}

/* --- Corazones flotantes decorativos en el fondo --- */
.floating-heart-1 {
  left: 8%;
  animation-duration: 9s;
  animation-delay: 0s;
  font-size: 22px;
  opacity: 0.55;
}
.floating-heart-2 {
  left: 22%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: 36px;
  opacity: 0.45;
}
.floating-heart-3 {
  left: 40%;
  animation-duration: 8s;
  animation-delay: 4s;
  font-size: 20px;
  opacity: 0.5;
}
.floating-heart-4 {
  left: 65%;
  animation-duration: 10s;
  animation-delay: 1s;
  font-size: 32px;
  opacity: 0.4;
}
.floating-heart-5 {
  left: 82%;
  animation-duration: 11s;
  animation-delay: 3s;
  font-size: 24px;
  opacity: 0.5;
}
.floating-heart-6 {
  left: 52%;
  animation-duration: 7s;
  animation-delay: 6s;
  font-size: 18px;
  opacity: 0.45;
}

/* --- Tarjeta principal (diseño sólido, misma línea que login y register) --- */
.index-glass-card {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 95%;
  margin: 8vh auto 4rem;
  background: linear-gradient(
    145deg,
    #821c9c 0%,
    #741768 40%,
    #9e227e 70%,
    #791696 100%
  );
  border: 1.5px solid rgba(255, 150, 210, 0.3);
  border-radius: 36px;
  padding: 3.5rem 3rem 2.5rem;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.2),
    0 40px 100px rgba(100, 0, 80, 0.7),
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* --- Wrapper del logo --- */
.index-logo-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
}

/* --- Logo de la app --- */
.index-logo {
  height: 96px;
  border-radius: 24px;
  box-shadow:
    0 0 30px rgba(255, 75, 114, 0.7),
    0 0 60px rgba(155, 53, 192, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 2px solid rgba(255, 180, 210, 0.4);
}
.index-logo:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow:
    0 0 40px rgba(255, 75, 114, 0.9),
    0 0 80px rgba(155, 53, 192, 0.6),
    0 12px 30px rgba(0, 0, 0, 0.5);
}

/* --- Encabezado hero: título, subtítulo y descripción --- */
.index-header {
  margin-bottom: 0;
}
.index-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffb3cb 40%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  line-height: 1.15;
  text-shadow: none;
  filter: drop-shadow(0 4px 16px rgba(255, 75, 114, 0.5));
  letter-spacing: -0.5px;
}
.index-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 220, 235, 0.9);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.index-description {
  font-size: 1.05rem;
  color: rgba(255, 200, 220, 0.85);
  margin-bottom: 0;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* --- Contenedor de botones de acción principales --- */
.index-buttons-container {
  margin-top: 2.5rem;
}

/* Botón Login */
.index-login-btn {
  background: linear-gradient(135deg, #ff4b72, #c026d3) !important;
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ddd !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
}
.index-login-btn:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow:
    0 16px 48px rgba(255, 75, 114, 0.7),
    0 8px 20px rgba(192, 38, 211, 0.5) !important;
}

/* Botón Crear Cuenta */
.index-register-btn {
  /*background: rgba(255, 255, 255, 0.08) !important;*/
  background: linear-gradient(135deg, #ff4b72, #c026d3) !important;
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  color: #ddd !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.index-register-btn:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow:
    0 16px 48px rgba(255, 75, 114, 0.7),
    0 8px 20px rgba(192, 38, 211, 0.5) !important;
}

/* --- Sección de acciones secundarias (PWA, Ayuda, Acerca de) --- */
.index-actions-container {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 150, 190, 0.25);
}

/* Contenedor del botón de instalación PWA */
.index-pwa-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

/* --- Botón de ayuda --- */
.index-help-btn {
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  border-radius: 30px;
  padding: 0.75rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 6px 24px rgba(230, 100, 170, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.index-help-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(230, 100, 170, 0.65);
}

/* --- Contenedor del menú "Acerca de" --- */
.index-about-container {
  position: relative;
}

/* Botón para abrir el dropdown "Acerca de" */
.index-about-btn {
  /*background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(20, 184, 166, 0.2));*/
  background: linear-gradient(135deg, #9a2b85, #a94697);
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  border-radius: 30px;
  padding: 0.6rem 1.8rem;
  /*color: rgba(103, 232, 249, 0.95);*/
  color: #ddd;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.index-about-btn:hover {
  background: linear-gradient(135deg, #660f56, #7a216a);
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  color: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Botón de información dentro del dropdown */
.index-info-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  background: 0 0;
  border: none;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  cursor: pointer;
  color: #2d3748;
  font-weight: 500;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.index-info-btn:hover,
.index-rules-btn:hover {
  background: #fc9efd;
}

/* Botón de reglamento dentro del dropdown */
.index-rules-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  background: 0 0;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #2d3748;
  font-weight: 500;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.2s;
}

/* --- Modal de información "Acerca de" --- */
.index-about-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 0, 54, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Contenido del modal "Acerca de" */
.index-modal-content {
  background: linear-gradient(
    160deg,
    rgba(60, 5, 75, 0.97) 0%,
    rgba(15, 0, 35, 0.99) 100%
  );
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 520px;
  width: 92%;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.25),
    0 30px 80px rgba(180, 0, 100, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: left;
  overflow: hidden;
}
/* Brillo decorativo en la esquina superior */
.index-modal-content::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 114, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.index-modal-content::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 130px;
  height: 130px;
  background: radial-gradient(
    circle,
    rgba(155, 53, 192, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.index-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 75, 114, 0.2);
  border: 1px solid rgba(255, 75, 114, 0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffb3cb;
  transition: background 0.2s;
}
.index-modal-close:hover {
  background: rgba(255, 75, 114, 0.4);
}
.index-modal-title {
  color: #ffb3cb;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.index-modal-text-1 {
  color: rgba(255, 210, 230, 0.85);
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}
.index-modal-text-2 {
  color: rgba(255, 210, 230, 0.85);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* --- Modal de reglamento --- */
.index-rules-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 0, 54, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Contenido del modal de reglamento */
.index-rules-content {
  background: linear-gradient(
    160deg,
    rgba(60, 5, 75, 0.97) 0%,
    rgba(15, 0, 35, 0.99) 100%
  );
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 520px;
  width: 92%;
  max-height: 82vh;
  overflow-y: auto;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.25),
    0 30px 80px rgba(180, 0, 100, 0.55);
  position: relative;
  text-align: left;
}
.index-rules-content::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 114, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.index-rules-content::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 130px;
  height: 130px;
  background: radial-gradient(
    circle,
    rgba(155, 53, 192, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.index-rules-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 75, 114, 0.2);
  border: 1px solid rgba(255, 75, 114, 0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffb3cb;
  transition: background 0.2s;
}
.index-rules-close:hover {
  background: rgba(255, 75, 114, 0.4);
}
.index-rules-title {
  color: #ffb3cb;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.index-rules-list {
  color: rgba(255, 210, 230, 0.85);
  line-height: 1.7;
  font-size: 0.97rem;
  padding-left: 1.4rem;
}
/* Márgenes para items de la lista de reglas */
.index-rules-item-1,
.index-rules-item-2,
.index-rules-item-3,
.index-rules-item-4 {
  margin-bottom: 0.75rem;
}

/* --- Modal de ayuda de la landing page --- */
.index-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 0, 54, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Contenido del modal de ayuda */
.index-help-content {
  background: linear-gradient(
    160deg,
    rgba(80, 10, 80, 0.95) 0%,
    rgba(20, 0, 40, 0.98) 100%
  );
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 470px;
  width: 92%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.3),
    0 30px 80px rgba(180, 0, 100, 0.5);
  position: relative;
  border-top: 3px solid transparent;
  background-clip: padding-box;
}
.index-help-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 75, 114, 0.2);
  border: 1px solid rgba(255, 75, 114, 0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffb3cb;
  transition: background 0.2s;
}
.index-help-close:hover {
  background: rgba(255, 75, 114, 0.4);
}
.index-help-icon {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}
.index-help-title {
  color: #ffb3cb;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.index-help-text {
  color: rgba(255, 210, 230, 0.85);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.index-help-form {
  text-align: left;
}

/* Inputs del modal de ayuda (index) */
.index-help-input-name,
.index-help-input-email {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 75, 114, 0.3);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.index-help-input-name::placeholder,
.index-help-input-email::placeholder {
  color: rgba(255, 180, 210, 0.6);
}
.index-help-input-name:focus,
.index-help-input-email:focus {
  border-color: #ff4b72;
  box-shadow:
    0 0 0 3px rgba(255, 75, 114, 0.25),
    0 0 12px rgba(255, 75, 114, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* Textarea del modal de ayuda (index) */
.index-help-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 75, 114, 0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.index-help-textarea::placeholder {
  color: rgba(255, 180, 210, 0.6);
}
.index-help-textarea:focus {
  border-color: #ff4b72;
  box-shadow:
    0 0 0 3px rgba(255, 75, 114, 0.25),
    0 0 12px rgba(255, 75, 114, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* Botón de enviar ayuda (index) */
.index-help-submit {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
  font-family: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.index-help-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 75, 114, 0.5);
}

/* Mensaje de respuesta del formulario de ayuda */
.index-help-response {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: #38a169;
  display: none;
  font-weight: 500;
}

/* --- Footer de la landing page --- */
.index-footer {
  background: 0 0;
  text-align: center;
  padding: 6rem 1rem 2.5rem;
}
.index-footer-text {
  /*color: rgba(255, 180, 210, 0.7);*/
  color: #eeea;
  font-size: 0.82rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --- Responsive para pantallas pequeñas en index --- */
@media (max-width: 600px) {
  .index-glass-card {
    margin: 4vh auto 3rem;
    padding: 2.2rem 1.5rem 2rem;
    border-radius: 24px;
  }
  .index-title {
    font-size: 2rem;
  }
  .index-logo {
    height: 70px;
  }
}

/*==============================================================================================
                            LOGIN.HTML — Inicio de Sesión
    Uso: login.html únicamente
==============================================================================================*/

/* --- Body de login: centra la tarjeta verticalmente --- */
.login-page-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

/* --- Tarjeta principal de login (diseño sólido unificado) --- */
.login-card {
  background: linear-gradient(
    145deg,
    #821c9c 0%,
    #741768 40%,
    #9e227e 70%,
    #791696 100%
  );
  border: 1.5px solid rgba(255, 150, 210, 0.3);
  border-radius: 32px;
  padding: 2.8rem 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.2),
    0 40px 100px rgba(100, 0, 80, 0.7),
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* --- Header dentro de la tarjeta de login --- */
.login-page-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

/* --- Contenedor del logo --- */
.login-logo-container {
  text-align: center;
  margin-bottom: 1rem;
}

/* --- Logo de la app --- */
.login-logo {
  height: 90px;
  border-radius: 22px;
  box-shadow:
    0 0 30px rgba(255, 75, 114, 0.7),
    0 0 60px rgba(155, 53, 192, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 2px solid rgba(255, 180, 210, 0.4);
}
.login-logo:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 40px rgba(255, 75, 114, 0.9),
    0 0 80px rgba(155, 53, 192, 0.6);
}

/* --- Título de la página de login --- */
.login-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffb3cb 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 3px 10px rgba(255, 75, 114, 0.4));
}

/* --- Subtítulo / descripción del login --- */
.login-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 200, 220, 0.8);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- Campo de contraseña con botón de visibilidad --- */
.login-password-container {
  position: relative;
}
.login-password-input {
  padding-right: 3rem;
  width: 100%;
  box-sizing: border-box;
}

/* --- Botón para mostrar/ocultar contraseña --- */
.login-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #a0aec0;
  padding: 0;
  line-height: 1;
  transition:
    color 0.2s,
    transform 0.2s;
}
.login-password-toggle:hover {
  color: var(--primary);
}

/* --- Enlace de "¿Olvidaste tu contraseña?" --- */
.login-forgot-container {
  text-align: right;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.login-forgot-link {
  font-size: 0.9rem;
  color: #ffb3cb;
  text-decoration: none;
  font-weight: 600;
  transition:
    opacity 0.2s,
    text-shadow 0.2s;
  text-shadow: 0 0 8px rgba(255, 75, 114, 0.4);
}
.login-forgot-link:hover {
  opacity: 0.9;
  text-shadow: 0 0 16px #ffb3cb;
  text-decoration: underline;
}

/* --- Enlace de registro (debajo del formulario) --- */
.login-register-container {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.login-register-link {
  font-size: 0.9rem;
  color: #ffb3cb;
  text-decoration: none;
  font-weight: 600;
  transition:
    opacity 0.2s,
    text-shadow 0.2s;
  text-shadow: 0 0 8px rgba(255, 75, 114, 0.4);
  cursor: pointer;
}
.login-register-link:hover {
  opacity: 0.9;
  text-shadow: 0 0 16px #ffb3cb;
  text-decoration: underline;
}

/* --- Footer de la página de login --- */
.login-footer {
  background: 0 0;
  text-align: center;
  padding: 4rem 1rem 2rem;
}
.login-help-btn {
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6);
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow:
    0 6px 24px rgba(174, 109, 171, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.01em;
}
.login-help-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(224, 90, 171, 0.6);
  border-color: rgba(255, 180, 210, 0.9);
}
.login-footer-text {
  /*color: rgba(255, 180, 210, 0.7);*/
  color: #eeea;
  font-size: 0.82rem;
  margin-top: 0.8rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --- Modal de ayuda del login --- */
.login-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 0, 54, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* --- Contenido del modal de ayuda --- */
.login-help-content {
  background: linear-gradient(
    160deg,
    rgba(80, 10, 80, 0.95) 0%,
    rgba(20, 0, 40, 0.98) 100%
  );
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.3),
    0 30px 80px rgba(180, 0, 100, 0.5);
  position: relative;
}
.login-help-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 75, 114, 0.2);
  border: 1px solid rgba(255, 75, 114, 0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffb3cb;
  transition: background 0.2s;
}
.login-help-close:hover {
  background: rgba(255, 75, 114, 0.4);
}
.login-help-icon {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}
.login-help-title {
  color: #ffb3cb;
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
  font-weight: 700;
}
.login-help-text {
  color: rgba(255, 210, 230, 0.85);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.login-help-form {
  text-align: left;
}

/*==============================================================================================
                            REGISTER.HTML — Registro de Usuario
    Uso: register.html únicamente
==============================================================================================*/

/* --- Logo en el formulario de registro --- */
.register-logo-container {
  text-align: center;
  margin-bottom: 1.2rem;
}
.register-logo {
  width: 78px;
  height: 78px;
  /*1border-radius: 50%;*/
  box-shadow:
    0 8px 22px rgba(255, 75, 114, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.register-logo:hover {
  transform: scale(1.07);
}
.register-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffb3cb 40%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  line-height: 1.15;
  text-shadow: none;
  filter: drop-shadow(0 4px 16px rgba(255, 75, 114, 0.5));
  letter-spacing: -0.5px;
}
.register-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #ffb3cb;
  line-height: 1.15;
  text-shadow: none;
  filter: drop-shadow(0 4px 16px rgba(255, 75, 114, 0.5));
  letter-spacing: -0.5px;
}
/* --- Grid de semestres (radio buttons estilizados) --- */
.register-semester-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}
.register-semester-label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 150, 190, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 235, 245, 0.7);
}
/* .register-semester-label:hover {
  border-color: rgba(255, 75, 114, 0.7);
  background: rgba(255, 75, 114, 0.15);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 75, 114, 0.3);
} */
/* Semestre seleccionado */
.register-semester-label:has(input:checked) {
  background: linear-gradient(135deg, #ff4b72, #c026d3);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 4px 16px rgba(255, 75, 114, 0.5),
    0 2px 6px rgba(192, 38, 211, 0.3);
  transform: scale(1.06);
}

/* Ocultar el radio nativo para que se vea como botón */
.register-semester-label input[type="radio"] {
  display: none;
}
.register-semester-num {
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Grid de carreras con 2 columnas --- */
.register-career-grid {
  columns: 2;
  gap: 0.4rem;
}

/* --- Inputs de contraseña con botón de visibilidad --- */
.register-confirm-password-container,
.register-password-container {
  position: relative;
  display: flex;
  align-items: center;
}
.register-confirm-password-input,
.register-password-input {
  flex: 1;
  padding-right: 3rem;
}
.register-confirm-password-toggle,
.register-password-toggle {
  position: absolute;
  right: 0.75rem;
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #a0aec0;
  transition: color 0.2s;
}
.register-confirm-password-toggle:hover,
.register-password-toggle:hover {
  color: var(--primary);
}

/* --- Contador de caracteres de la bio --- */
.register-bio-counter-label {
  font-size: 0.75rem;
  color: rgba(255, 210, 235, 0.95);
}
.register-bio-counter {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 210, 235, 0.95);
  margin-top: 0.25rem;
}

/* --- Checkbox labels para carreras e intereses --- */
.checkbox-label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255, 235, 245, 0.7);
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 180, 210, 0.2);
  transition: all 0.2s ease;
  gap: 0.4rem;
  line-height: 1.25;
  word-break: break-word;
}
/* .checkbox-label:hover {
  background: rgba(255, 75, 114, 0.15);
  border-color: rgba(255, 75, 114, 0.5);
} */
/* Ocultar checkboxes nativos para que parezcan botones modernos */
.checkbox-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  justify-content: center;
  text-align: center;
}

.checkbox-label:has(input:checked) {
  color: #fff;
  font-weight: 700;
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 114, 0.85),
    rgba(192, 38, 211, 0.85)
  );
  box-shadow: 0 4px 12px rgba(255, 75, 114, 0.35);
  transform: scale(1.03);
}

/* --- Botón flotante de ayuda (esquina inferior derecha) --- */
.register-help-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6);
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow:
    0 6px 24px rgba(174, 109, 171, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 100;
  font-family: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.01em;
}

.register-back-login-link {
  font-size: 0.9rem;
  color: #ffb3cb;
  text-decoration: none;
  font-weight: 600;
  transition:
    opacity 0.2s,
    text-shadow 0.2s;
  text-shadow: 0 0 8px rgba(255, 75, 114, 0.4);
  cursor: pointer;
}
.register-back-login-link:hover {
  opacity: 0.9;
  text-shadow: 0 0 16px #ffb3cb;
  text-decoration: underline;
}

.register-back-home-link {
  font-size: 0.9rem;
  color: #ffb3cb;
  text-decoration: none;
  font-weight: 600;
  transition:
    opacity 0.2s,
    text-shadow 0.2s;
  text-shadow: 0 0 8px rgba(255, 75, 114, 0.4);
  cursor: pointer;
  padding: auto;
}
.register-back-home-link:hover {
  opacity: 0.9;
  text-shadow: 0 0 16px #ffb3cb;
  text-decoration: underline;
}

.register-help-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(224, 90, 171, 0.6);
  border-color: rgba(255, 180, 210, 0.9);
}

/* --- Modal de ayuda del registro --- */
.register-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 0, 54, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.register-help-content {
  background: linear-gradient(
    160deg,
    rgba(80, 10, 80, 0.95) 0%,
    rgba(20, 0, 40, 0.98) 100%
  );
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 75, 114, 0.3),
    0 30px 80px rgba(180, 0, 100, 0.5);
  position: relative;
}
.register-help-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 75, 114, 0.2);
  border: 1px solid rgba(255, 75, 114, 0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffb3cb;
  transition: background 0.2s;
}
.register-help-close:hover {
  background: rgba(255, 75, 114, 0.4);
}
.register-help-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.register-help-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffb3cb;
  margin-bottom: 0.5rem;
}
.register-help-text {
  color: rgba(255, 210, 230, 0.85);
  font-size: 0.97rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
/* Inputs de la ayuda del registro */
.register-help-input-email,
.register-help-input-name {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 75, 114, 0.3);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.register-help-input-email::placeholder,
.register-help-input-name::placeholder {
  color: rgba(255, 180, 210, 0.55);
}
.register-help-input-email:focus,
.register-help-input-name:focus {
  border-color: #ff4b72;
  box-shadow:
    0 0 0 3px rgba(255, 75, 114, 0.25),
    0 0 12px rgba(255, 75, 114, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.register-help-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 75, 114, 0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.register-help-textarea::placeholder {
  color: rgba(255, 180, 210, 0.55);
}
.register-help-textarea:focus {
  border-color: #ff4b72;
  box-shadow:
    0 0 0 3px rgba(255, 75, 114, 0.25),
    0 0 12px rgba(255, 75, 114, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
/* Botón de envío del formulario de ayuda (registro) */
.register-help-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff4b72, #c026d3);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow:
    0 6px 24px rgba(255, 75, 114, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.register-help-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 75, 114, 0.65);
}
.register-help-response {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: #6ee7b7;
  display: none;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(110, 231, 183, 0.4);
}

/* --- Enlace de vuelta al inicio (debajo del formulario) --- */
.register-back-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.register-back-home-link {
  font-size: 0.85rem;
}

/*==============================================================================================
                            FORGOT-PASSWORD.HTML — Recuperar Contraseña
    Uso: forgot-password.html únicamente
==============================================================================================*/

/* --- Logo en el navbar de forgot-password --- */
.forgot-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}
.forgot-nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 0;
}

/* --- Mensaje de validación en tiempo real del campo correo --- */
.forgot-email-check-msg {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.4rem;
  min-height: 1.1rem;
  transition: color 0.2s;
}
.forgot-email-check-msg.checking {
  color: rgba(255, 255, 255, 0.6);
}
.forgot-email-check-msg.valid {
  color: #4ade80;
}
.forgot-email-check-msg.invalid {
  color: #f87171;
}

/* --- Botón de ayuda en la barra de navegación --- */
.forgot-nav-help-btn {
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6);
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  box-shadow:
    0 4px 16px rgba(174, 109, 171, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.01em;
}
.forgot-nav-help-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(224, 90, 171, 0.55);
  border-color: rgba(255, 180, 210, 0.9);
}

/* --- Texto de introducción / descripción del formulario --- */
.forgot-intro-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.forgot-submit-btn {
  background: linear-gradient(135deg, #ff4b72, #c026d3) !important;
  border: 2px solid rgba(255, 180, 210, 0.6) !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ddd !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
  width: 100%;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  /*margin-top: 0.5rem;*/
}
.forgot-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

/* --- Modal de ayuda del forgot-password --- */
.forgot-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.forgot-help-content {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  position: relative;
  border-top: 4px solid var(--primary);
}
.forgot-help-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  transition: background 0.2s;
}
.forgot-help-close-btn:hover {
  background: #e2e8f0;
}
/* Icono y título del modal forgot-password */
.forgot-help-icon {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}
.forgot-help-title {
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.forgot-help-text {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
/* Inputs del modal de ayuda (forgot) */
.forgot-help-input-email,
.forgot-help-input-name {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s;
}
.forgot-help-input-email:focus,
.forgot-help-input-name:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
.forgot-help-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s;
}
.forgot-help-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
/* Botón de envío del modal de ayuda (forgot) */
.forgot-help-submit {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
  font-family: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.forgot-help-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 75, 114, 0.5);
}
.forgot-help-response {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: #38a169;
  display: none;
  font-weight: 500;
}

/*==============================================================================================
                            RESET-PASSWORD.HTML — Restablecer Contraseña
    Uso: reset-password.html únicamente
==============================================================================================*/

/* --- Logo en el navbar de reset-password --- */
.reset-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}
.reset-nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* --- Botón de ayuda en el navbar de reset-password --- */
.reset-nav-help-btn {
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6);
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  box-shadow:
    0 4px 16px rgba(174, 109, 171, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.01em;
}
.reset-nav-help-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(224, 90, 171, 0.55);
  border-color: rgba(255, 180, 210, 0.9);
}

/* --- Campos de nueva contraseña y confirmación --- */
.reset-confirm-password-container,
.reset-password-container {
  position: relative;
}
.reset-confirm-password-input,
.reset-new-password-input {
  width: 100%;
  padding-right: 3.2rem;
  box-sizing: border-box;
}

/* --- Botones de mostrar/ocultar contraseña (ojo) --- */
.reset-toggle-confirm-pass-btn,
.reset-toggle-new-pass-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  color: #a0aec0;
  transition: color 0.2s;
}
.reset-toggle-confirm-pass-btn:hover,
.reset-toggle-new-pass-btn:hover {
  color: var(--primary);
}

/* --- Botón de submit (restablecer contraseña) --- */
.reset-submit-btn {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 0.5rem;
}
.reset-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 75, 114, 0.55);
}

/* --- Modal de ayuda del reset-password --- */
.reset-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.reset-help-content {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  position: relative;
  border-top: 4px solid var(--primary);
}
.reset-help-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  transition: background 0.2s;
}
.reset-help-close:hover {
  background: #e2e8f0;
}
/* Icono y título del modal reset-password */
.reset-help-icon {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}
.reset-help-title {
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.reset-help-text {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
/* Inputs del modal de ayuda (reset) */
.reset-help-input-email,
.reset-help-input-name {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s;
}
.reset-help-input-email:focus,
.reset-help-input-name:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
.reset-help-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s;
}
.reset-help-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.12);
}
/* Botón de envío del modal de ayuda (reset) */
.reset-help-submit {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
  font-family: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.reset-help-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 75, 114, 0.5);
}
.reset-help-response {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: #38a169;
  display: none;
  font-weight: 500;
}

/* =============================================================================================
                                        MATCHES.HTML
==============================================================================================*/

/* --- MIGRATED MATCHES CLASSES --- */

.matches-body {
  padding: 0;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.matches-body .container {
  flex: 1 0 auto;
}

.matches-container {
  max-width: 1100px;
  margin-top: 2rem;
  padding: 0 1.5rem;
  position: relative;
}

body.chat-modal-open .navbar,
body.chat-modal-open #notifModal {
  display: none !important;
}

#chatModal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
  z-index: 100000 !important;
  display: none;
  flex-direction: column !important;
  background: var(--bg-color, #f8fafc);
  overflow: hidden !important;
}

#chatModal.vip-mode-active {
  background: #0d001f !important;
}

/* --- Header del Chat --- */
#chatModal .chat-header {
  position: relative !important;
  z-index: 25 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  min-height: 62px !important;
  max-height: 70px !important;
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  border-radius: 0 0 20px 20px !important;
}

#chatModal.vip-mode-active .chat-header {
  background: linear-gradient(135deg, #ff4b72, #8a2be2) !important;
  box-shadow: 0 4px 25px rgba(255, 75, 114, 0.45) !important;
  border: 1px solid rgba(255, 75, 114, 0.35) !important;
  border-top: none !important;
}

/* Botón Volver / Cerrar */
#chatModal .close-chat {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

#chatModal .close-chat:hover,
#chatModal .close-chat:active {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.06) !important;
}

/* Contenedor central del Usuario */
#chatModal .chat-user-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 4px !important;
  cursor: pointer !important;
}

#chatModal .chatUserName-wrapper,
#chatModal #chatUserName {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#chatModal .chat-user-status,
#chatModal #chatSubtitle {
  margin: 2px 0 0 0 !important;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.status-online-dot {
  color: #48bb78 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  animation: pulseOnline 2s infinite ease-in-out;
}

@keyframes pulseOnline {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.vip-badge-chip {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1e293b;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}

/* Acciones del Header */
#chatModal .chatHeaderActions-wrapper,
#chatModal #chatHeaderActions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.chat-zumbido-btn {
  background: linear-gradient(135deg, #ffd700, #ff9800) !important;
  color: #1e1b4b !important;
  border: none !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  animation: pulseGlow 2s infinite ease-in-out !important;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.5),
      0 0 20px rgba(255, 105, 180, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 18px rgba(255, 215, 0, 0.8),
      0 0 28px rgba(255, 105, 180, 0.6);
    transform: scale(1.04);
  }
}

.chat-zumbido-btn:active {
  transform: scale(0.96) !important;
}

.chat-menu-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.chat-menu-btn:hover,
.chat-menu-btn:active {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.06) !important;
}

/* --- Mensajes del Chat --- */
#chatModal .chat-messages {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 14px 18px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #f8fafc;
  position: relative !important;
  z-index: 5 !important;
  box-sizing: border-box !important;
}

#chatModal.vip-mode-active .chat-messages,
#chatModal .chat-messages.vip-mode {
  background: linear-gradient(
    165deg,
    #0d001f 0%,
    #1a0033 50%,
    #0d0022 100%
  ) !important;
}

#chatModal.vip-mode-active .chat-messages::before,
#chatModal .chat-messages.vip-mode::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(255, 75, 114, 0.12) 0,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(138, 43, 226, 0.12) 0,
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

#chatModal .chat-messages.vip-mode p.no-messages {
  color: #a78bfa;
}

#chatModal .chat-messages.vip-mode .their-msg {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

#chatModal .chat-messages.vip-mode .my-msg {
  background: linear-gradient(135deg, #ff4b72, #8a2be2) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 75, 114, 0.45) !important;
  border: none !important;
}

/* --- Barra Inferior de Entrada --- */
#chatModal .chat-input-area,
#chatModal #chatInputArea {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 20 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
  border-radius: 22px 22px 0 0 !important;
}

#chatModal.vip-mode-active .chat-input-area,
#chatModal.vip-mode-active #chatInputArea {
  background: rgba(18, 10, 34, 0.96) !important;
  border: 1px solid rgba(255, 105, 180, 0.35) !important;
  border-bottom: none !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.45) !important;
  border-radius: 22px 22px 0 0 !important;
}

/* Botones de acción (Emoji y Adjuntar) */
#chatModal .chat-action-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 50% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

#chatModal .chat-action-btn.emoji-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
}

#chatModal .chat-action-btn.attach-btn {
  background: #fee2e2 !important;
  color: #ff4b72 !important;
}

#chatModal.vip-mode-active .chat-action-btn.emoji-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

#chatModal.vip-mode-active .chat-action-btn.attach-btn {
  background: rgba(255, 105, 180, 0.2) !important;
  color: #ff69b4 !important;
}

#chatModal .chat-action-btn:hover,
#chatModal .chat-action-btn:active {
  transform: scale(1.08) !important;
}

/* Campo de Texto */
#chatModal .chat-input-field,
#chatModal #chatInput {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 40px !important;
  border-radius: 20px !important;
  padding: 0 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  font-size: 0.92rem !important;
  outline: none !important;
  background: #f8fafc !important;
  color: #1e293b !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
}

#chatModal .chat-input-field:focus,
#chatModal #chatInput:focus {
  border-color: #ff4b72 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.18) !important;
}

#chatModal.vip-mode-active .chat-input-field,
#chatModal.vip-mode-active #chatInput {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 105, 180, 0.35) !important;
  color: #ffffff !important;
}

#chatModal.vip-mode-active .chat-input-field:focus,
#chatModal.vip-mode-active #chatInput:focus {
  border-color: #ff69b4 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.3) !important;
}

#chatModal.vip-mode-active .chat-input-field::placeholder,
#chatModal.vip-mode-active #chatInput::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Botón Enviar */
#chatModal .chat-send-btn,
#chatModal #btnSendChatMessage {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #ff4b72, #ff758c) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  box-shadow: 0 3px 12px rgba(255, 75, 114, 0.35) !important;
  transition: all 0.2s ease !important;
}

#chatModal.vip-mode-active .chat-send-btn,
#chatModal.vip-mode-active #btnSendChatMessage {
  background: linear-gradient(135deg, #ff4b72, #8a2be2) !important;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.45) !important;
}

#chatModal .chat-send-btn:hover,
#chatModal .chat-send-btn:active {
  transform: scale(1.08) !important;
  box-shadow: 0 5px 16px rgba(255, 75, 114, 0.5) !important;
}

#chatModal .chat-send-btn svg {
  margin-left: 2px;
}

/* Selector de Emojis */
#chatModal #emojiPicker,
#chatModal .emojiPicker-wrapper {
  display: none;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px 16px 0 0 !important;
  font-size: 1.6rem;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 22;
  box-sizing: border-box !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

#chatModal.vip-mode-active #emojiPicker,
#chatModal.vip-mode-active .emojiPicker-wrapper {
  background: rgba(20, 10, 36, 0.95);
  border-color: rgba(255, 105, 180, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

#chatModal #emojiPicker span {
  cursor: pointer;
  transition: transform 0.15s ease;
  user-select: none;
}

#chatModal #emojiPicker span:hover,
#chatModal #emojiPicker span:active {
  transform: scale(1.3);
}

@media (max-width: 768px) {
  #chatModal .chat-header {
    max-width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
  }
  #chatModal .chat-messages {
    max-width: 100% !important;
    padding: 10px 12px !important;
  }
  #chatModal .chat-input-area,
  #chatModal #chatInputArea {
    max-width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  #chatModal #emojiPicker,
  #chatModal .emojiPicker-wrapper {
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}

.mural-gradient-bg {
  background: linear-gradient(-45deg, #f1f5f9, #e2e8f0, #dbeafe, #f8fafc);
  background-size: 400% 400%;
  animation: moveGradient 15s ease infinite;
}

.post-emoji-picker {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.chat-messages {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  min-height: 0;
}

.notifBadge-wrapper {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #ffffff;
  border-radius: 12px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  border: 2px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
  pointer-events: none;
  line-height: 1.2;
}

.notifModal-wrapper {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  width: 340px;
  max-width: calc(100vw - 28px);
  z-index: 10020;
  padding: 0;
  border-radius: 20px;
  background: linear-gradient(
    175deg,
    rgba(17, 24, 39, 0.97) 0%,
    rgba(15, 23, 42, 0.99) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(236, 72, 153, 0.2);
  overflow: hidden;
  animation: notifPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 600px) {
  .notifModal-wrapper {
    position: fixed !important;
    top: 72px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 28px) !important;
    max-width: 380px !important;
    z-index: 20050 !important;
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.85),
      0 0 35px rgba(236, 72, 153, 0.3) !important;
  }
}

@keyframes notifPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notif-modal-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notif-modal-close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.notif-modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.notif-modal-title {
  font-size: 0.98rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f472b6, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-modal-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.notifList-wrapper {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.notifList-wrapper::-webkit-scrollbar {
  width: 5px;
}
.notifList-wrapper::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.3);
  border-radius: 4px;
}

.notif-empty-state {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
}

.notif-item {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: rgba(236, 72, 153, 0.12);
}

.notif-item-icon {
  font-size: 1.2rem;
  line-height: 1.2;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.4));
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
}

.notif-item-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  word-break: break-word;
}

.notif-dismiss-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-dismiss-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
}

.chatNavBadge-wrapper {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.friendReqBadge-wrapper {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.searchMatchesInput-wrapper {
  padding: 0.6rem 1rem;
  border-radius: 25px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  font-family: inherit;
  flex-grow: 1;
  max-width: 300px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.friendFilterSelect-wrapper {
  appearance: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 2.5rem 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
  outline: 0;
}

.toastNotification-wrapper {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90% !important;
  max-width: 440px !important;
  min-width: 280px !important;
  background: rgba(22, 16, 42, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 105, 180, 0.45) !important;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(255, 105, 180, 0.35) !important;
  z-index: 100005 !important;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box !important;
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition: all 0.25s ease !important;
}

.toastNotification-wrapper:hover {
  transform: translateX(-50%) scale(1.02) !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(255, 105, 180, 0.5) !important;
}

.toastNotification-wrapper.toast-vip-crush {
  background: linear-gradient(
    135deg,
    rgba(38, 12, 54, 0.96),
    rgba(75, 18, 88, 0.96)
  ) !important;
  border: 1.5px solid rgba(255, 105, 180, 0.85) !important;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(255, 105, 180, 0.55) !important;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -25px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.toast-content-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.toast-icon-pulse {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: iconBounce 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.toast-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.toast-heading {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ff77a9;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-vip-crush .toast-heading {
  color: #f472b6;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.6);
}

.toast-sender {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-arrow-btn {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.toastNotification-wrapper:hover .toast-arrow-btn {
  transform: translateX(3px);
  color: #fff;
}

/* =========================================================================
   MÓDULO: CITAS A CIEGAS (ESTILOS Y MODALES)
   ========================================================================= */
.blindDateSetupModal-wrapper,
#blindDateSetupModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  box-sizing: border-box;
}

.blindDateSetupModal-wrapper.open,
#blindDateSetupModal.open {
  display: flex !important;
}

.blind-date-card {
  position: relative;
  background: linear-gradient(145deg, #1e1b4b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(236, 72, 153, 0.25);
  color: #fff;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes modalPopIn {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.blind-date-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blind-date-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  color: white;
  transform: rotate(90deg);
}

.blind-date-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.blind-date-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 0.8rem 0;
  background: linear-gradient(135deg, #ff4b72, #ff8c4b, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blind-date-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

.blindDateStatus-wrapper {
  display: none;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  color: #93c5fd;
  font-weight: 600;
  animation: fadeIn 0.3s ease;
}

.blind-date-status-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blindDateSpinner-wrapper {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(59, 130, 246, 0.25);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.blind-date-action-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 25px rgba(255, 75, 114, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.blind-date-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 75, 114, 0.6);
}

.blind-date-action-btn:active {
  transform: translateY(0);
}

.blind-date-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.8rem;
  margin-bottom: 0;
}

.blind-date-cancel-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 30px;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.blind-date-cancel-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* =========================================================================
   MÓDULO: CHAT DE CITAS A CIEGAS (MOBILE-FIRST PREMIUM, DEGRADADOS Y CONTROLES)
   ========================================================================= */
.blindDateModal-wrapper,
#blindDateModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #090d16;
  z-index: 10000;
  flex-direction: column;
  box-sizing: border-box;
}

.blindDateModal-wrapper.open,
#blindDateModal.open {
  display: flex !important;
}

/* Cabecera del chat de citas (Mobile-First Compacta) */
.blind-chat-header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Título central */
.blind-chat-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.blind-chat-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.blind-chat-subtitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 1px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.blind-chat-online-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* Botón Revelar (Izquierda) */
.blind-btn-reveal {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  border: none;
  border-radius: 20px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.blind-btn-reveal:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
}

.blind-btn-reveal:active:not(:disabled) {
  transform: translateY(0);
}

.blind-btn-reveal.revealed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35) !important;
  cursor: default;
}

/* Botón Salir (Derecha) */
.blind-btn-leave {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  border: none;
  border-radius: 20px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.blind-btn-leave:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.55);
}

.blind-btn-leave:active {
  transform: translateY(0);
}

/* Área de Mensajes */
.blindDateMessages-wrapper {
  flex: 1;
  background: radial-gradient(circle at 50% 15%, #181537 0%, #090d16 100%);
  color: #fff;
  overflow-y: auto;
  padding: 1rem 0.8rem;
  box-sizing: border-box;
}

/* Tarjeta de Bienvenida a la Cita (Match Secreto) */
.blind-welcome-card {
  background: linear-gradient(
    145deg,
    rgba(30, 27, 75, 0.75),
    rgba(15, 23, 42, 0.88)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.3rem 1.1rem;
  margin: 8px auto 16px auto;
  max-width: 92%;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(236, 72, 153, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: blindCardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes blindCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.blind-welcome-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.6rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blind-welcome-avatar {
  font-size: 2.1rem;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.blind-welcome-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 75, 114, 0.45) 0%,
    rgba(255, 75, 114, 0) 70%
  );
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.blind-welcome-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.35rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #ff4b72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.2px;
}

.blind-welcome-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
}

.blind-welcome-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.blind-welcome-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 12px;
}

/* Selector de Emojis */
.blindEmojiPicker-wrapper {
  display: none;
  padding: 0.8rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.6rem;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.blindEmojiPicker-wrapper span {
  transition: transform 0.15s ease;
}

.blindEmojiPicker-wrapper span:hover {
  transform: scale(1.3);
}

/* Barra de Entrada de Mensajes (Bottom Bar Mobile-First) */
.blind-chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px)) 0.8rem;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blind-chat-input-pill {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 0 4px 0 10px;
  transition: all 0.2s ease;
  min-width: 0;
}

.blind-chat-input-pill:focus-within {
  border-color: #ff4b72;
  box-shadow: 0 0 12px rgba(255, 75, 114, 0.35);
  background: rgba(30, 41, 59, 1);
}

.blind-btn-emoji-inside {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem 0.3rem 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.blind-btn-emoji-inside:hover {
  transform: scale(1.15);
}

.blindMessageInput-field,
.blindMessageInput-wrapper {
  flex: 1;
  background: transparent;
  color: #fff;
  border: none;
  padding: 0.65rem 0.6rem;
  font-size: 0.92rem;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

.blindMessageInput-field::placeholder,
.blindMessageInput-wrapper::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
}

/* Botón Enviar Circular Compacto */
.blind-btn-send-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4b72 0%, #ff8c4b 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(255, 75, 114, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.blind-btn-send-circle:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 75, 114, 0.65);
}

.blind-btn-send-circle:active {
  transform: scale(0.95);
}

.chatUserName-wrapper {
  flex-grow: 1;
  text-align: center;
  margin-right: 8px;
  font-size: 1.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatHeaderActions-wrapper {
  display: flex;
  align-items: center;
}

.chatMenuDropdown-wrapper,
.chat-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(18, 14, 34, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 105, 180, 0.35) !important;
  border-radius: 16px !important;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 105, 180, 0.2) !important;
  z-index: 1000 !important;
  min-width: 210px !important;
  overflow: hidden;
  padding: 6px !important;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-dropdown-item {
  width: 100% !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: none !important;
  color: #f1f5f9 !important;
  text-align: left !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.chat-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(3px) !important;
}

.chat-dropdown-item.chat-item-zumbido {
  color: #ffd700 !important;
}

.chat-dropdown-item.chat-item-zumbido:hover {
  background: rgba(255, 215, 0, 0.15) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3) !important;
}

.chat-dropdown-item.chat-item-carta {
  color: #ff9fc7 !important;
}

.chat-dropdown-item.chat-item-carta:hover {
  background: rgba(255, 105, 180, 0.15) !important;
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.3) !important;
}

.chat-dropdown-item.btnBlockChat-wrapper,
.chat-dropdown-item.chat-item-block {
  color: #f87171 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 4px !important;
  padding-top: 10px !important;
  border-radius: 8px !important;
}

.chat-dropdown-item.btnBlockChat-wrapper:hover,
.chat-dropdown-item.chat-item-block:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
}

.chatInput-wrapper {
  flex-grow: 1;
}

.btn-tab-posts-wrapper {
  flex: 1;
  border: none;
  background: 0 0;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 30px;
  color: #64748b;
  transition: all 0.3s ease;
}

.dashboard-header-info {
  color: #d4d2c2 !important;
}
.btn-tab-friends-wrapper {
  flex: 1;
  border: none;
  background: 0 0;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 30px;
  color: #64748b;
  transition: all 0.3s ease;
}

.friendsTabBadge-wrapper {
  display: none;
  background: #e53e3e;
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.78rem;
  margin-left: 4px;
}

.newPostContent-wrapper {
  width: 100%;
  resize: none;
  padding: 10px;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
}

.btnPublicarPost-wrapper {
  width: auto;
  padding: 0.5rem 1.2rem;
  margin: 0;
}

.myPostsList-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tabFriendsCount-wrapper {
  background: #e2e8f0;
  color: #475569;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 8px;
}

.searchFriendsInput-wrapper {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  font-family: inherit;
  flex-grow: 1;
  max-width: 250px;
}

.myFriendsList-wrapper {
  display: grid;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.publicChatButtonContainer-wrapper {
  margin-bottom: 12px;
  display: none;
}

.tabPublicPostsBtn-wrapper {
  flex: 1;
  border: none;
  background: #f8fafc;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 30px;
  color: #1a202c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tabPublicFriendsBtn-wrapper {
  flex: 1;
  border: none;
  background: 0 0;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 30px;
  color: #64748b;
  transition: all 0.3s ease;
}

.tab-public-posts-wrapper {
  display: block;
}

.publicPostsList-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.searchPublicFriendsInput-wrapper {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  font-family: inherit;
  flex-grow: 1;
  max-width: 250px;
}

.publicFriendsList-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editPostModal-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.editPostContent-wrapper {
  width: 100%;
  resize: none;
  padding: 10px;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  font-family: inherit;
}

.confessionsModal-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow: hidden !important;
  z-index: 10005 !important;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: contain !important;
}

.confessionsCard-wrapper {
  width: 100%;
  max-width: 780px;
  height: 90vh;
  max-height: 850px;
  margin: auto;
  background: #e2e8f0;
  border-radius: 20px;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden !important;
}

.confessionsHeader-wrapper {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #170b28 100%);
  padding: 1.4rem 1.5rem 1.1rem;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(236, 72, 153, 0.4);
  flex-shrink: 0 !important;
}

.confessionsContent-wrapper {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  padding: 1.2rem 1.2rem 3rem !important;
}

#confessionsContent::-webkit-scrollbar {
  width: 6px;
}
#confessionsContent::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
#confessionsContent::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.4);
  border-radius: 4px;
}
#confessionsContent::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.8);
}

.btnToggleConfessionForm-wrapper {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
  background-size: 200% auto;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.confessionFormArrow-wrapper {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.confessionFormChevron-wrapper {
  margin-left: auto;
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.confessionFormContainer-wrapper {
  display: block;
}

.newConfessionText-wrapper {
  width: 100%;
  padding: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  resize: none;
  font-family: inherit;
  margin-bottom: 0.25rem;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.5;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.newConfessionText-wrapper:focus,
#newConfessionText:focus {
  border-color: #ff4b72;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.2);
}

.confessionEmojiPicker-wrapper {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.confessionFileName-wrapper {
  font-size: 0.8rem;
  color: #718096;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.confessionAnon-wrapper {
  accent-color: #764ba2;
  width: 18px;
  height: 18px;
}

.confessionSpotted-wrapper {
  accent-color: #f56565;
  width: 18px;
  height: 18px;
}

.btnCancelConfession-wrapper {
  background: #e2e8f0;
  color: #4a5568;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  display: none;
}

.btnPostConfession-wrapper {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  padding: 0.6rem 1.5rem;
  margin: 0;
}

.confessionsList-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 620px;
  margin: 0 auto;
}

.crushesModal-wrapper {
  display: none;
  align-items: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.7);
}

.crushesList-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.allChatsModal-wrapper,
#allChatsModal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: center;
  justify-content: center;
  z-index: 99995 !important;
  background: rgba(30, 10, 25, 0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 1rem 0.8rem;
  box-sizing: border-box;
  overflow-y: auto;
}

/* ==========================================================================
   MODAL BANDEJA DE CHATS — DISEÑO VIBRANTE ROSA & MORADO CLARO CON GRADIENTES
   ========================================================================== */
.all-chats-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(150deg, #f3bcdb 0%, #f189ee 35%, #f3bcdb 100%);
  border-radius: 26px;
  border: 2px solid #c084fc;
  box-shadow:
    0 25px 60px -15px rgba(147, 51, 234, 0.3),
    0 0 35px rgba(244, 114, 182, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-height: 85dvh;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.all-chats-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(65px);
  opacity: 0.55;
  z-index: 0;
}
.all-chats-glow-1 {
  top: -70px;
  left: -50px;
  background: radial-gradient(circle, #d8b4fe, transparent 70%);
}
.all-chats-glow-2 {
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, #fbcfe8, transparent 70%);
}

.all-chats-header {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.6rem 1.1rem;
  background: linear-gradient(135deg, #ff4b72 0%, #e91e8c 60%, #c026d3 100%);
  box-shadow: 0 4px 20px rgba(255, 75, 114, 0.35);
  text-align: center;
}

.all-chats-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.all-chats-close-btn:hover {
  background: #ffffff;
  color: #e11d48;
  border-color: #f43f5e;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.25);
}

.all-chats-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3px;
}

.all-chats-icon {
  font-size: 1.5rem;
}

.all-chats-header-title h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.all-chats-subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.all-chats-body {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.4rem 1.4rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  box-sizing: border-box;
  width: 100%;
}

.all-chats-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 12px 0;
  padding: 0;
  box-sizing: border-box;
}

.all-chats-search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  pointer-events: none;
  color: #8b5cf6;
  opacity: 0.85;
}

.all-chats-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
  border: 2px solid #c084fc;
  border-radius: 16px;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.08);
  box-sizing: border-box;
}

.all-chats-search-input::placeholder {
  color: #6b7280;
}

.all-chats-search-input:focus {
  background: #ffffff;
  border-color: #9333ea;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.3);
}

.all-chats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-height: calc(85vh - 190px);
  max-height: calc(85dvh - 190px);
}

.all-chats-list::-webkit-scrollbar {
  width: 5px;
}
.all-chats-list::-webkit-scrollbar-track {
  background: rgba(216, 180, 254, 0.2);
  border-radius: 10px;
}
.all-chats-list::-webkit-scrollbar-thumb {
  background: #c084fc;
  border-radius: 10px;
}
.all-chats-list::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* Items de conversación en Rosa y Morado Claro con Gradientes */
.all-chats-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, #fdf2f8 0%, #ede9fe 50%, #fae8ff 100%);
  border: 2px solid #d8b4fe;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.08);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.all-chats-item:hover {
  background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 50%, #f5d0fe 100%);
  border-color: #a855f7;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.2);
}

/* Usuario VIP (Sutil dorado-rosa) */
.all-chats-item.is-vip-user {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fdf2f8 0%, #fef3c7 50%, #fae8ff 100%);
}
.all-chats-item.is-vip-user:hover {
  background: linear-gradient(135deg, #fce7f3 0%, #fde68a 50%, #f5d0fe 100%);
  border-color: #d97706;
}

/* Usuario Crush (Morado vibrante suave) */
.all-chats-item.is-crush-user {
  border-color: #c084fc;
  background: linear-gradient(135deg, #fae8ff 0%, #e9d5ff 50%, #f5d0fe 100%);
}
.all-chats-item.is-crush-user:hover {
  background: linear-gradient(135deg, #f5d0fe 0%, #ddd6fe 50%, #f0abfc 100%);
  border-color: #9333ea;
}

/* Mensajes no leídos */
.all-chats-item.has-unread {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #fae8ff 100%);
  border-color: #f43f5e;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.18);
}

.all-chats-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.all-chats-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.all-chats-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c084fc;
  display: block;
}

.all-chats-avatar.is-vip-avatar {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

.all-chats-avatar.is-crush-avatar,
.all-chats-avatar-placeholder.is-crush-avatar {
  border-color: #9333ea;
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
}

.all-chats-avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #e9d5ff);
  border: 2px solid #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.all-chats-avatar-placeholder.is-vip-avatar {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

.all-chats-details {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.all-chats-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  width: 100%;
  margin-bottom: 2px;
}

.all-chats-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.all-chats-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.all-chats-name.is-crush-name {
  color: #7c3aed;
}

.all-chats-vip-star {
  font-size: 0.95rem;
  flex-shrink: 0;
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.4));
  cursor: default;
}

.all-chats-unread-badge {
  background: linear-gradient(135deg, #ff4b72, #ff758c);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 75, 114, 0.35);
  animation: pulseBadge 1.8s infinite;
  flex-shrink: 0;
}

.all-chats-sub-row {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.all-chats-career {
  color: #1e293b;
  font-weight: 600;
}

.all-chats-crush-label.purple {
  color: #7c3aed;
  font-weight: 700;
}

.all-chats-last-msg {
  color: #1e293b;
  font-weight: 600;
}

.all-chats-unread-msg {
  color: #e11d48;
  font-weight: 700;
}

/* Botón de acción para Chatear */
.all-chats-action-btn {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 12px rgba(168, 85, 247, 0.3);
  transition: all 0.2s ease;
}

.all-chats-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 18px rgba(168, 85, 247, 0.5);
  filter: brightness(1.05);
}

.all-chats-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
}
.all-chats-empty .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}
.all-chats-empty p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}
.all-chats-empty .empty-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

@keyframes pulseBadge {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.85);
  }
}

.allChatsList-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crushAnimationContainer-wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  overflow: hidden;
}

.storyUploadModal-wrapper {
  display: none;
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 25, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 20005 !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.story-upload-card {
  background: linear-gradient(145deg, #18122b 0%, #251b37 40%, #111827 100%);
  border: 1.5px solid rgba(244, 114, 182, 0.45);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(236, 72, 153, 0.3),
    inset 0 0 25px rgba(168, 85, 247, 0.15);
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.6rem 1.8rem;
  position: relative;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.story-upload-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.story-upload-close-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.7);
}

.story-upload-header {
  text-align: center;
  margin-top: 2px;
}

.story-upload-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 12px rgba(244, 114, 182, 0.7));
}

.story-upload-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 4px;
  background: linear-gradient(135deg, #f472b6, #ec4899, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
}

.story-upload-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  font-weight: 400;
}

.story-textarea-wrapper {
  position: relative;
  width: 100%;
}

.story-textarea {
  width: 100%;
  resize: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.story-textarea:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ec4899;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.45);
}

.story-textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.story-char-counter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 0 4px;
}

.story-emoji-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fdf2f8;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-emoji-btn:hover {
  background: rgba(236, 72, 153, 0.3);
  border-color: #ec4899;
  transform: translateY(-1px);
}

.story-char-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a5b4fc;
  transition: color 0.2s;
}

.story-char-count.warning {
  color: #f59e0b;
}

.story-char-count.limit {
  color: #ef4444;
  font-weight: 800;
}

.storyEmojiPicker-wrapper {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
  background: rgba(30, 27, 75, 0.95);
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.story-emoji-item {
  cursor: pointer;
  transition: transform 0.15s ease;
  user-select: none;
}

.story-emoji-item:hover {
  transform: scale(1.35) rotate(6deg);
}

.story-media-upload-container {
  width: 100%;
}

.story-file-hidden {
  display: none;
}

.story-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(236, 72, 153, 0.45);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.story-upload-label:hover {
  background: rgba(236, 72, 153, 0.15);
  border-color: #ec4899;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.3);
  transform: translateY(-2px);
}

.story-upload-icon-label {
  font-size: 1.8rem;
  margin-bottom: 2px;
}

.story-upload-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fdf2f8;
}

.story-upload-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.story-selected-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(236, 72, 153, 0.25);
  border: 1px solid rgba(236, 72, 153, 0.5);
  border-radius: 12px;
  padding: 6px 12px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #fff;
}

.story-badge-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 85%;
}

.story-badge-remove {
  background: #ef4444;
  border: none;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  font-weight: bold;
  transition: transform 0.2s;
}

.story-badge-remove:hover {
  transform: scale(1.15);
}

.story-preview-container {
  width: 100%;
}

.storyPreviewImg-wrapper,
.storyPreviewVid-wrapper {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
  display: none;
  margin-top: 4px;
  border: 2px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.story-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.story-submit-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.65);
  filter: brightness(1.12);
}

.story-submit-btn:active {
  transform: translateY(1px);
}

.story-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================================================================
   STORY VIEWER (Instagram Style with Modern Aesthetics)
   ========================================================================= */
.storyViewModal-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 30000;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.story-viewer-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

@media (min-width: 601px) {
  .story-viewer-frame {
    border-radius: 24px;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.story-progress-bar-container {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  z-index: 30;
  overflow: hidden;
}

.storyProgressBar-wrapper {
  height: 100%;
  background: linear-gradient(90deg, #ff4b72, #f43f5e, #fbbf24);
  width: 0%;
  border-radius: 4px;
  transition: width 0.1s linear;
}

.story-header-bar {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: auto;
}

.story-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.storyUserAvatar-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff4b72;
  display: none;
  flex-shrink: 0;
}

.storyUserEmoji-wrapper {
  font-size: 2rem;
  display: none;
  flex-shrink: 0;
}

.story-user-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.storyUserName-wrapper {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.storyTimeAgo-wrapper {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.story-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.story-add-more-header-btn {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.35),
    rgba(168, 85, 247, 0.45)
  );
  color: #fff;
  border: 1px solid rgba(236, 72, 153, 0.6);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  display: none;
}

.story-add-more-header-btn:hover {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  transform: scale(1.05);
}

.story-pause-header-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.story-pause-header-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.story-sound-header-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.story-sound-header-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.story-close-btn {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.story-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
}

.story-media-stage {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 8px 74px 8px;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.storyMainImg-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 5;
  display: none;
  pointer-events: none;
  border-radius: 12px;
}

.storyMainVid-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 5;
  display: none;
  pointer-events: none;
  border-radius: 12px;
}

.story-pause-indicator {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 28;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.storyMainText-wrapper {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
  display: none;
  z-index: 25;
  box-sizing: border-box;
}

/* Cuando se superpone sobre una foto o video */
.storyMainText-wrapper.story-caption-overlay {
  position: absolute;
  bottom: 74px;
  left: 14px;
  right: 14px;
  margin: 0 auto;
  width: auto;
  max-width: 360px;
  max-height: 75px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 0.9rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* Cuando es solo texto sin foto ni video */
.storyMainText-wrapper.story-text-only {
  position: relative;
  margin: auto;
  left: auto;
  right: auto;
  width: calc(100% - 32px);
  max-width: 380px;
  padding: 26px 20px;
  font-size: 1.35rem;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 114, 0.35),
    rgba(168, 85, 247, 0.35)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.story-nav-tap-area {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 15;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}

.story-nav-left {
  left: 0;
  width: 40%;
}

.story-nav-right {
  right: 0;
  width: 60%;
}

.story-footer-actions {
  position: absolute;
  bottom: 14px;
  bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 30;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .story-media-stage {
    padding: 70px 6px 68px 6px;
  }

  .storyMainText-wrapper.story-caption-overlay {
    bottom: 66px;
    max-height: 70px;
    font-size: 0.85rem;
  }

  .story-footer-actions {
    bottom: 12px;
    bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 6px));
    gap: 8px;
  }
}

.storyReactionBtn-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 65, 108, 0.55),
    rgba(255, 120, 50, 0.55)
  );
  color: #fff;
  border: 1.5px solid rgba(255, 140, 80, 0.7);
  border-radius: 26px;
  padding: 0.52rem 1.05rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 16px rgba(255, 75, 43, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.storyReactionBtn-wrapper:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 65, 108, 0.75),
    rgba(255, 120, 50, 0.8)
  );
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 80, 40, 0.55);
}

.storyReactionBtn-wrapper.active {
  background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
  border-color: #ffa07a !important;
  box-shadow:
    0 0 25px rgba(255, 65, 108, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.06);
}

.storyCommentBtn-wrapper {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.5),
    rgba(236, 72, 153, 0.55)
  );
  color: #ffffff;
  border: 1.5px solid rgba(236, 72, 153, 0.7);
  border-radius: 26px;
  padding: 0.52rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 16px rgba(168, 85, 247, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.storyCommentBtn-wrapper:hover {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.75),
    rgba(236, 72, 153, 0.8)
  );
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.55);
}

.match-ui-inline-text-style-238 {
  cursor: pointer;
}
.match-ui-h2-style-160 {
  color: #f8fafc;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.match-ui-div-style-328 {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.match-ui-label-style-148 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-form-input-style-16 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-220 {
  position: absolute;
  right: 10px;
  top: 32px;
  cursor: pointer;
  font-size: 1.2rem;
}
.match-ui-inline-text-style-411 {
  cursor: pointer;
}
.match-ui-label-style-146 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-form-input-style-4 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-label-style-140 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-162 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.match-ui-label-style-337 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.match-ui-inline-text-style-406 {
  cursor: pointer;
}
.match-ui-div-style-327 {
  background: #fff;
  border-color: #000;
}
.match-ui-inline-text-style-131 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-label-style-144 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-inline-text-style-237 {
  cursor: pointer;
}
.match-ui-inline-text-style-239 {
  cursor: pointer;
}
.match-ui-inline-text-style-123 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-301 {
  margin-bottom: 1rem;
}
.match-ui-inline-text-style-408 {
  cursor: pointer;
}
.match-ui-inline-text-style-391 {
  cursor: pointer;
}
.match-ui-inline-text-style-108 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #fff;
  font-size: 0.8rem;
}
.match-ui-inline-text-style-388 {
  cursor: pointer;
}
.match-ui-div-style-440 {
  position: absolute;
  bottom: -60px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.match-ui-inline-text-style-405 {
  cursor: pointer;
}
.match-ui-form-input-style-3 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-form-input-style-5 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-form-input-style-14 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-125 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-244 {
  cursor: pointer;
}
.match-ui-inline-text-style-412 {
  cursor: pointer;
}
.match-ui-div-style-366 {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 75, 114, 0.3);
}
.match-ui-inline-text-style-192 {
  cursor: pointer;
}
.match-ui-div-style-302 {
  background: #f0f9ff;
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid #e0f2fe;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.match-ui-label-style-120 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-359 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 114, 0.25) 0,
    transparent 70%
  );
  pointer-events: none;
}
.match-ui-option-style-112 {
  color: #2d3748;
  background: #fff;
}
.match-ui-inline-text-style-155 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-171 {
  cursor: pointer;
}
.match-ui-div-style-333 {
  background: #1a1a1a;
  border-color: #555;
}
.match-ui-label-style-122 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-label-style-214 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.match-ui-div-style-255 {
  background: linear-gradient(135deg, #ff9a9e, #fecfef);
}
.match-ui-h2-style-298 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f8fafc, #94a3b8);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.match-ui-inline-text-style-318 {
  cursor: pointer;
}
.match-ui-div-style-324 {
  margin-bottom: 1rem;
  background: #fab7da;
  backdrop-filter: blur(10px);
  border: 2px solid #8b8888;
  border-radius: 10px;
  padding: 1rem;
}
.match-ui-h3-style-267 {
  color: #2d3748;
  margin: 0;
}
.match-ui-inline-text-style-409 {
  cursor: pointer;
}
.match-ui-inline-text-style-431 {
  cursor: pointer;
}
.match-ui-option-style-107 {
  color: #2d3748;
  background: #fff;
}
.match-ui-div-style-331 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.match-ui-inline-text-style-309 {
  cursor: pointer;
}
.match-ui-div-style-352 {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  position: relative;
  max-height: 80vh;
  display: block;
  overflow-y: auto;
}
.match-ui-div-style-379 {
  display: flex;
  gap: 0.8rem;
}
.match-ui-div-style-400 {
  display: flex;
  gap: 8px;
}
.match-ui-div-style-419 {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.match-ui-div-style-257 {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}
.match-ui-div-style-363 {
  font-size: 3rem;
  margin-bottom: 0.3rem;
}
.match-ui-inline-text-style-188 {
  cursor: pointer;
}
.match-ui-inline-text-style-149 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-label-style-118 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-435 {
  position: absolute;
  top: 20px;
  width: 100%;
  max-width: 400px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  display: flex;
}
.match-ui-inline-text-style-151 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-334 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.match-ui-div-style-336 {
  display: flex;
  gap: 15px;
  align-items: center;
}
.match-ui-option-style-105 {
  color: #2d3748;
  background: #fff;
}
.match-ui-inline-text-style-190 {
  cursor: pointer;
}
.match-ui-form-input-style-2 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-305 {
  cursor: pointer;
}
.match-ui-div-style-199 {
  width: 100%;
  max-width: 800px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  position: relative;
  display: block;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.match-ui-form-input-style-19 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-242 {
  cursor: pointer;
}
.match-ui-label-style-323 {
  cursor: pointer;
  background: #e2e8f0;
  color: #4a5568;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
}
.match-ui-label-style-152 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-inline-text-style-177 {
  cursor: pointer;
}
.match-ui-inline-text-style-313 {
  cursor: pointer;
}
.match-ui-inline-text-style-306 {
  cursor: pointer;
}
.match-ui-div-style-344 {
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 75, 114, 0.3);
  background: linear-gradient(135deg, #330014, #4a0030);
  color: #fff;
  text-align: center;
  border-radius: 16px 16px 0 0;
  position: relative;
}
.match-ui-div-style-414 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.match-ui-form-input-style-13 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-271 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.match-ui-inline-text-style-390 {
  cursor: pointer;
}
.match-ui-div-style-283 {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.match-ui-inline-text-style-211 {
  color: #e53e3e;
}
.match-ui-h3-style-403 {
  margin-top: 0;
  color: #2d3748;
  margin-bottom: 1rem;
}
.match-ui-label-style-377 {
  color: #e0c0ff;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.match-ui-inline-text-style-119 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-253 {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.match-ui-div-style-212 {
  text-align: right;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}
.match-ui-inline-text-style-235 {
  cursor: pointer;
}
.match-ui-inline-text-style-430 {
  cursor: pointer;
}
.match-ui-inline-text-style-429 {
  cursor: pointer;
}
.match-ui-div-style-251 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.match-ui-form-input-style-18 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-340 {
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
}
.match-ui-inline-text-style-129 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-425 {
  cursor: pointer;
}
.match-ui-inline-text-style-240 {
  cursor: pointer;
}
.match-ui-div-style-92 {
  position: relative;
}
.match-ui-inline-text-style-393 {
  cursor: pointer;
}
.match-ui-inline-text-style-234 {
  cursor: pointer;
}
.match-ui-inline-text-style-127 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-381 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.match-ui-inline-text-style-392 {
  cursor: pointer;
}
.match-ui-inline-text-style-176 {
  cursor: pointer;
}
.match-ui-inline-text-style-245 {
  cursor: pointer;
}
.match-ui-div-style-436 {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-200px);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.match-ui-div-style-183 {
  position: relative;
}
.match-ui-inline-text-style-135 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-357 {
  padding: 1rem;
  background: #f8fafc;
}
.match-ui-div-style-213 {
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}
.match-ui-div-style-200 {
  height: 140px;
  background: linear-gradient(
    135deg,
    gold 0,
    #fdb931 30%,
    #e2e8f0 70%,
    silver 100%
  );
  border-radius: 20px 20px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.match-ui-div-style-353 {
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: #fff;
  border-radius: 12px 12px 0 0;
  text-align: center;
}
.match-ui-div-style-358 {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(160deg, #0d001f 0, #2a0050 60%, #1a0035 100%);
  border-radius: 20px;
  position: relative;
  padding: 2rem 2rem 1.5rem;
  border: 2px solid #ff4b72;
  box-shadow:
    0 0 50px rgba(255, 75, 114, 0.5),
    0 0 100px rgba(138, 43, 226, 0.3);
  overflow: hidden;
}
.match-ui-inline-text-style-423 {
  cursor: pointer;
}
.match-ui-div-style-91 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.match-ui-inline-text-style-137 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-223 {
  position: relative;
}
.match-ui-h2-style-202 {
  color: #1a202c;
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
  margin: 0;
  position: relative;
  z-index: 2;
}
.match-ui-inline-text-style-248 {
  cursor: pointer;
}
.match-ui-div-style-276 {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.match-ui-h3-style-231 {
  color: #2d3748;
  margin-bottom: 1rem;
  text-align: center;
}
.match-ui-div-style-262 {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.match-ui-h2-style-421 {
  margin-bottom: 1rem;
  color: #2d3748;
}
.match-ui-inline-text-style-319 {
  cursor: pointer;
}
.match-ui-h2-style-355 {
  margin-bottom: 0.3rem;
  font-size: 1.5rem;
}
.match-ui-inline-text-style-389 {
  cursor: pointer;
}
.match-ui-inline-text-style-310 {
  cursor: pointer;
}
.match-ui-option-style-106 {
  color: #2d3748;
  background: #fff;
}
.match-ui-div-style-342 {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.match-ui-inline-text-style-396 {
  cursor: pointer;
}
.match-ui-form-input-style-10 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-145 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-254 {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}
.match-ui-inline-text-style-143 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-256 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.match-ui-inline-text-style-224 {
  position: absolute;
  right: 10px;
  top: 32px;
  cursor: pointer;
  font-size: 1.2rem;
}
.match-ui-div-style-273 {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  margin-top: 1.5rem;
}
.match-ui-div-style-439 {
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}
.match-ui-h3-style-265 {
  color: #2d3748;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.match-ui-form-input-style-12 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-h3-style-206 {
  color: #2d3748;
  margin-bottom: 0;
}
.match-ui-inline-text-style-189 {
  cursor: pointer;
}
.match-ui-inline-text-style-236 {
  cursor: pointer;
}
.match-ui-label-style-136 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-inline-text-style-169 {
  cursor: pointer;
}
.match-ui-h2-style-345 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  text-shadow: 0 0 20px rgba(255, 75, 114, 0.8);
}
.match-ui-inline-text-style-243 {
  cursor: pointer;
}
.match-ui-h3-style-94 {
  color: var(--text-main);
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}
.match-ui-option-style-110 {
  color: #2d3748;
  background: #fff;
}
.match-ui-label-style-154 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-269 {
  height: 120px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 16px 16px 0 0;
  position: relative;
}
.match-ui-div-style-270 {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  background: #fff;
  margin-top: -60px;
}
.match-ui-h2-style-285 {
  margin-bottom: 1rem;
  color: #2d3748;
}
.match-ui-label-style-138 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-h3-style-167 {
  flex-grow: 1;
  text-align: center;
  margin-right: 8px;
}
.match-ui-div-style-219 {
  position: relative;
}
.match-ui-div-style-258 {
  background: #1a1a1a;
  border-color: #555;
}
.match-ui-inline-text-style-404 {
  cursor: pointer;
}
.match-ui-option-style-111 {
  color: #2d3748;
  background: #fff;
}
.match-ui-inline-text-style-121 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-141 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-147 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-191 {
  cursor: pointer;
}
.match-ui-inline-text-style-210 {
  color: #e53e3e;
}
.match-ui-div-style-329 {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}
.match-ui-div-style-201 {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}
.match-ui-inline-text-style-427 {
  cursor: pointer;
}
.match-ui-inline-text-style-426 {
  cursor: pointer;
}
.match-ui-div-style-221 {
  position: relative;
}
.match-ui-div-style-233 {
  text-align: right;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
  margin-bottom: 8px;
}
.match-ui-form-input-style-15 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-341 {
  font-size: 0.85rem;
  color: #f56565;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f56565;
  font-weight: 700;
  cursor: help;
  margin-left: 2px;
}
.match-ui-div-style-360 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.25) 0,
    transparent 70%
  );
  pointer-events: none;
}
.match-ui-div-style-349 {
  color: #ff9fc7;
}
.match-ui-inline-text-style-397 {
  cursor: pointer;
}
.match-ui-div-style-281 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 10px;
}
.match-ui-div-style-416 {
  display: flex;
  gap: 10px;
}
.match-ui-div-style-266 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
  flex-wrap: wrap;
}
.match-ui-inline-text-style-407 {
  cursor: pointer;
}
.match-ui-inline-text-style-308 {
  cursor: pointer;
}
.match-ui-inline-text-style-312 {
  cursor: pointer;
}
.match-ui-div-style-286 {
  text-align: right;
  margin-top: 1rem;
}
.match-ui-inline-text-style-428 {
  cursor: pointer;
}
.match-ui-form-input-style-17 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-232 {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}
.match-ui-div-style-438 {
  position: absolute;
  left: 0;
  top: 0;
  width: 15%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}
.match-ui-inline-text-style-317 {
  cursor: pointer;
}
.match-ui-inline-text-style-113 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #fff;
  font-size: 0.8rem;
}
.match-ui-h3-style-282 {
  margin: 0;
  color: #2d3748;
}
.match-ui-div-style-432 {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.match-ui-div-style-303 {
  position: relative;
}
.match-ui-inline-text-style-187 {
  cursor: pointer;
}
.match-ui-inline-text-style-170 {
  cursor: pointer;
}
.match-ui-inline-text-style-311 {
  cursor: pointer;
}
.match-ui-h3-style-374 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}
.match-ui-inline-text-style-394 {
  cursor: pointer;
}
.match-ui-div-style-402 {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.match-ui-div-style-292 {
  text-align: left;
}
.match-ui-div-style-350 {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.25s ease;
}
.match-ui-div-style-205 {
  padding: 1.5rem 2rem 2rem;
}
.match-ui-div-style-279 {
  padding: 1.5rem 1rem;
  background: #f8fafc;
}
.match-ui-label-style-339 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.match-ui-div-style-252 {
  background: #fff;
  border-color: #000;
}
.match-ui-inline-text-style-139 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-form-input-style-20 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-326 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.match-ui-inline-text-style-174 {
  cursor: pointer;
}
.match-ui-inline-text-style-185 {
  cursor: pointer;
}
.match-ui-label-style-130 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-296 {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 6s infinite;
}
.match-ui-inline-text-style-172 {
  cursor: pointer;
}
.match-ui-div-style-332 {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}
.match-ui-label-style-124 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-inline-text-style-168 {
  cursor: pointer;
}
.match-ui-label-style-128 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-inline-text-style-173 {
  cursor: pointer;
}
.match-ui-div-style-384 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.match-ui-label-style-126 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-89 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-ui-label-style-134 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-343 {
  width: 100%;
  max-width: 600px;
  margin: auto;
  border-radius: 16px;
  position: relative;
  display: block;
  background: linear-gradient(160deg, #0d001f, #1a0035, #0a0015);
  border: 1.5px solid #ff4b72;
  box-shadow:
    0 0 60px rgba(255, 75, 114, 0.4),
    0 0 120px rgba(138, 43, 226, 0.2);
}
.match-ui-inline-text-style-178 {
  cursor: pointer;
}
.match-ui-div-style-330 {
  background: linear-gradient(135deg, #ff9a9e, #fecfef);
}
.match-ui-div-style-297 {
  font-size: 2.8rem;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.match-ui-div-style-204 {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}
.match-ui-inline-text-style-216 {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 400;
}
.match-ui-div-style-437 {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: 75vh;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.match-ui-h2-style-364 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.match-ui-form-input-style-6 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-inline-text-style-398 {
  cursor: pointer;
}
.match-ui-inline-text-style-413 {
  cursor: pointer;
}
.match-ui-div-style-259 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.match-ui-inline-text-style-314 {
  cursor: pointer;
}
.match-ui-inline-text-style-153 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-inline-text-style-320 {
  cursor: pointer;
}
.match-ui-inline-text-style-410 {
  cursor: pointer;
}
.match-ui-form-input-style-8 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-h2-style-290 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.match-ui-inline-text-style-194 {
  cursor: pointer;
}
.match-ui-div-style-195 {
  align-items: center;
}
.match-ui-div-style-228 {
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid #fee2e2;
}
.match-ui-div-style-287 {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}
.match-ui-div-style-261 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.match-ui-label-style-150 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-166 {
  background: linear-gradient(135deg, #0f172a, #334155);
}
.match-ui-div-style-373 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}
.match-ui-form-input-style-9 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-203 {
  background: #fff;
  position: relative;
  z-index: 5;
  margin-top: -10px;
  border-radius: 20px 20px 0 0;
  padding-top: 1rem;
}
.match-ui-label-style-378 {
  color: #e0c0ff;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.match-ui-div-style-383 {
  text-align: center;
  color: #a0aec0;
  padding: 1rem;
}
.match-ui-div-style-385 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-ui-label-style-386 {
  font-size: 0.85rem;
  color: #718096;
  cursor: pointer;
}
.match-ui-div-style-274 {
  margin-top: 1.5rem;
  border-top: 1px dashed #cbd5e1;
  padding-top: 1rem;
}
.match-ui-div-style-268 {
  width: 100%;
  max-width: 700px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  position: relative;
  display: block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.match-ui-inline-text-style-307 {
  cursor: pointer;
}
.match-ui-div-style-321 {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.match-ui-inline-text-style-186 {
  cursor: pointer;
}
.match-ui-div-style-362 {
  text-align: center;
  margin-bottom: 1.2rem;
}
.match-ui-inline-text-style-175 {
  cursor: pointer;
}
.match-ui-div-style-304 {
  text-align: right;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.match-ui-inline-text-style-193 {
  cursor: pointer;
}
.match-ui-inline-text-style-133 {
  font-size: 0.88rem;
  color: #2d3748;
}
.match-ui-div-style-180 {
  background: #0f172a;
  border-top: 1px solid #334155;
}
.match-ui-inline-text-style-338 {
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
}
.match-ui-option-style-104 {
  color: #2d3748;
  background: #fff;
}
.match-ui-label-style-142 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-376 {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.match-ui-inline-text-style-395 {
  cursor: pointer;
}
.match-ui-inline-text-style-424 {
  cursor: pointer;
}
.match-ui-inline-text-style-241 {
  cursor: pointer;
}
.match-ui-div-style-348 {
  padding: 1.5rem;
  background: 0 0;
}
.match-ui-inline-text-style-246 {
  cursor: pointer;
}
.match-ui-h3-style-280 {
  margin-bottom: 1rem;
  color: #2d3748;
  text-align: center;
}
.match-ui-form-input-style-7 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-249 {
  margin-bottom: 0.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.6rem;
}
.match-ui-inline-text-style-315 {
  cursor: pointer;
}
.match-ui-div-style-335 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.match-ui-inline-text-style-222 {
  position: absolute;
  right: 10px;
  top: 32px;
  cursor: pointer;
  font-size: 1.2rem;
}
.match-ui-inline-text-style-247 {
  cursor: pointer;
}
.match-ui-div-style-372 {
  text-align: center;
  margin-bottom: 1.2rem;
}
.match-ui-div-style-289 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}
.match-ui-label-style-132 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.match-ui-div-style-272 {
  margin: 1rem auto;
  padding: 1.2rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  width: 95%;
}
.match-ui-label-style-264 {
  cursor: pointer;
  background: #e2e8f0;
  color: #4a5568;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.match-ui-inline-text-style-316 {
  cursor: pointer;
}
.match-ui-div-style-217 {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}
.match-ui-inline-text-style-179 {
  cursor: pointer;
}
.match-ui-form-input-style-11 {
  accent-color: #ff4b72;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.match-ui-div-style-260 {
  background: #0b0f19;
  border: 2px solid #f0f;
}

.matches-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.matches-nav-left,
.matches-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .matches-nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .matches-nav-left,
  .matches-nav-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .searchMatchesInput-wrapper,
  .toggleFiltroBtn-wrapper,
  .genderFilterSelect-wrapper,
  .friendFilterSelect-wrapper {
    width: 100% !important;
    margin: 0 !important;
    text-align: center;
    box-sizing: border-box;
  }
}
.matches-sidebar {
  flex-shrink: 0;
}
.matches-content-area {
  flex: 1;
  min-width: 0;
}
.matches-tab-content {
  display: none;
}
.matches-tab-content.active {
  display: block;
}
.matches-tab-panel {
  padding: 1rem 0;
}
.matches-profile-card {
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.matches-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.matches-nav-tab-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: background 0.15s;
}
.matches-nav-tab-btn.active,
.matches-nav-tab-btn:hover {
  background: rgba(255, 75, 114, 0.1);
  color: var(--primary);
}
.matches-like-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s;
}
.matches-like-btn:hover {
  transform: scale(1.05);
}
.matches-dislike-btn {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s;
}
.matches-dislike-btn:hover {
  background: #e2e8f0;
}
.matches-chat-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.15s;
}
.matches-chat-btn:hover {
  transform: scale(1.05);
}
.matches-block-btn,
.matches-report-btn {
  background: 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s;
}
.matches-block-btn:hover,
.matches-report-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}
.matches-chat-bubble {
  text-align: center;
  padding: 10px 0.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}
.matches-send-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.matches-attach-btn,
.matches-emoji-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.3rem;
}
.matches-close-chat-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: #64748b;
}
.matches-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.matches-modal-overlay.open {
  display: flex;
}
.matches-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.matches-modal-action-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  cursor: pointer;
}
.matches-modal-secondary-btn {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  cursor: pointer;
}
.matches-mural-post {
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}
.matches-mural-post-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  cursor: pointer;
}
.matches-notification-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-hover);
  z-index: 9998;
  max-width: 340px;
}
.matches-notification-close-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  color: #64748b;
}
.matches-notification-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.matches-profile-edit-btn {
  background: 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.4rem 1rem;
}
.matches-profile-save-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.4rem 1rem;
}
.matches-profile-cancel-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.4rem 1rem;
}
.matches-upload-photo-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  padding: 0.6rem 1.5rem;
}
.matches-delete-account-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.4rem 1rem;
}
.matches-letter-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.matches-letter-send-btn {
  background: linear-gradient(135deg, #ff4b72, #ff8c4b);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  cursor: pointer;
}
.matches-gift-btn,
.matches-vip-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.matches-unlock-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.matches-blind-date-card {
  background: linear-gradient(135deg, #0b0f19, #1a0040);
  border-radius: 16px;
  padding: 1.5rem;
  color: #fff;
}
.matches-blind-date-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.matches-blind-reveal-btn {
  background: #eab308;
  color: #000;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.matches-blind-send-btn {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.matches-friend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border-radius: 12px;
}
.matches-friend-accept-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
}
.matches-friend-reject-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
}
.matches-friend-request-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
}
.matches-back-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.matches-help-btn {
  background: linear-gradient(135deg, #ae6dab, #e05aab);
  color: #ddd;
  border: 2px solid rgba(255, 180, 210, 0.6);
  border-radius: 30px;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(174, 109, 171, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.matches-help-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(224, 90, 171, 0.55);
}
.matches-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.matches-emoji-picker {
  display: none;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.matches-help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.matches-help-input-email,
.matches-help-input-name {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.matches-help-textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  resize: vertical;
}
.matches-help-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff4b72, #ff6b35);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.matches-help-response {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #38a169;
  display: none;
}

.matches-admin-link-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.25);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.matches-admin-link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 75, 114, 0.4);
  color: #fff;
}

/* --- Unified Search Bar --- */
.unified-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
}
.unified-search-bar:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 8px;
  padding-left: 10px;
}
.search-icon {
  font-size: 1.2rem;
  opacity: 0.7;
}
.unified-search-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.unified-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.unified-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.unified-filter-btn {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}
.unified-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
}
.filter-text {
  display: inline;
}

.unified-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  transition: all 0.2s ease;
}
.unified-select-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
}
.unified-select-wrapper:nth-child(3) {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.unified-select-wrapper:nth-child(3):hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}

.unified-select-icon {
  font-size: 1.2rem;
  pointer-events: none;
}

.unified-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  --webkit-appearance: none;
}

@media (max-width: 600px) {
  .unified-search-bar {
    border-radius: 50px;
    padding: 8px 12px;
    gap: 8px;
  }
  .search-input-wrapper {
    padding-left: 5px;
  }
  .unified-filters {
    width: auto;
  }
  .filter-text {
    display: none;
  }
  .unified-filter-btn {
    padding: 8px;
    border-radius: 50%;
  }
}

.match-ui-div-style-92 {
  position: relative;
}

#hamburgerMenu {
  display: none;
}

#advancedFiltersMenu {
  display: none;
}

#toggleAdvancedFiltersBtn {
  padding: 8px;
  border-radius: 50%;
}

.mb-1-5 {
  margin-bottom: 1.5rem;
}

.advancedFiltersMenu-wrapper {
  position: absolute;
  right: 0;
  top: 110%;
  z-index: 1000;
  width: 250px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(30, 30, 40, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filter-dropdown-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-dropdown-row label {
  color: #ddd;
  font-size: 0.85rem;
  padding-left: 5px;
  text-align: left;
}

.filter-select-container {
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
}
.filter-select-container:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.filter-select-container select {
  width: 100%;
  text-align: left;
  padding: 10px 30px 10px 10px;
  border-radius: 12px;
  color: white;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.filter-select-container select option {
  background: #1e1e28;
  color: white;
}

.filter-select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: white;
  opacity: 0.7;
}

.advanced-filters-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 5px;
  text-align: center;
}

.advanced-filters-header h3 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.advanced-filter-btn {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  position: relative;
}
.advanced-filter-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.bg-gradient-1 {
  background: linear-gradient(135deg, #ff758c, #f72585) !important;
}
.bg-gradient-2 {
  background: linear-gradient(135deg, #f72585 0%, #7209b7 100%) !important;
}

.bg-gradient-3 {
  background: linear-gradient(135deg, #7209b7 0%, #4cc9f0 100%) !important;
}

#newConfessionText::placeholder {
  color: #9ca3af;
  opacity: 1; /* override any default opacity */
}

/* MURAL REFACTOR CLASSES (No Inline Styles) */
.mural-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.mural-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.mural-info-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}
.mural-info-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mural-subtitle {
  color: #e5e7eb;
  font-weight: 500;
}

.mural-toolbar-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mural-toolbar-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.mural-toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mural-color-label {
  margin-bottom: 8px;
  color: #1e293b;
}

.mural-color-picker-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mural-color-input {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.mural-color-preset {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.mural-color-preset-white {
  background: #ffffff;
  border: 1px solid #ccc;
}
.mural-color-preset-dark {
  background: #1e293b;
  border: 1px solid #000;
}
.mural-color-preset-pink {
  background: #ec4899;
  border: none;
}
.mural-color-preset-purple {
  background: #8b5cf6;
  border: none;
}

.mural-actions-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mural-cancel-btn {
  background: transparent;
  color: #e5e7eb;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s;
}
.mural-cancel-btn:hover {
  color: #fff;
}

.mural-publish-btn {
  margin: 0;
  background: linear-gradient(135deg, #f00b51, #7366ff) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(240, 11, 81, 0.5) !important;
}

.mural-color-container-margin {
  margin-top: 15px;
}

/* INFO MODAL REFACTOR (Que Es) */
.info-modal-container {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  padding: 3rem 2rem 2rem 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: auto;
}

.info-modal-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.info-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.info-modal-title {
  color: #fff;
  margin: 0 0 0.3rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #f00b51, #7366ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.info-modal-title.crush-title {
  background: linear-gradient(135deg, #ff4b72, #ff7e5f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-modal-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.info-modal-text {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}

.info-modal-list {
  color: #cbd5e1;
  line-height: 1.9;
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: justify;
}
.info-modal-list li {
  margin-bottom: 0.3rem;
}

.info-modal-footer {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  font-style: italic;
}

.info-modal-vip-box {
  background: linear-gradient(
    135deg,
    rgba(255, 240, 250, 0.1),
    rgba(253, 244, 255, 0.1)
  );
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(233, 213, 255, 0.2);
  margin-top: 1rem;
}
.vip-box-title {
  margin: 0;
  font-size: 0.88rem;
  color: #c4b5fd;
  font-weight: 600;
}
.vip-box-text {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* MURAL ADD BTN & TOOLBAR FIXES */
.mural-add-btn {
  background: linear-gradient(135deg, #f00b51, #7366ff) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(240, 11, 81, 0.4) !important;
  transition: transform 0.2s;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  width: 100%;
}
.mural-add-btn:hover {
  transform: scale(1.02);
}

.mural-toolbar-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin: 0;
  height: 38px;
  line-height: 1.5;
  justify-content: center;
}
.mural-toolbar-btn:hover {
  background: #f1f5f9 !important;
}

.mural-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.mural-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 2px;
}
.mural-color-input {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #000000;
  padding: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* NEW CONFESSION MODAL CONTAINER */
.new-confession-modal-box {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.25s ease;
  margin: auto;
}

.newConfessionModal-wrapper,
#newConfessionModal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: center;
  justify-content: center;
  z-index: 100020 !important;
  background: rgba(8, 4, 18, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 1rem 0.8rem;
  box-sizing: border-box;
  overflow-y: auto;
}

/* SPOTTED MODAL FIXES */
.spotted-btn {
  background: linear-gradient(135deg, #f00b51, #7366ff) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: 100% !important;
  box-shadow: 0 4px 15px rgba(240, 11, 81, 0.4) !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}
.spotted-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(240, 11, 81, 0.6) !important;
}

/* NEW CONFESSION MODAL STYLES */
.new-confession-close-btn {
  color: #64748b;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
}
.new-confession-title {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.new-confession-form-container {
  display: block;
  width: 100%;
}

/* ==========================================================================
   NEON MURAL HEADER & SPARKLES / DESTELLOS DE LUZ
   ========================================================================== */
.confessionsHeader-wrapper.neon-header {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(236, 72, 153, 0.4) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(139, 92, 246, 0.45) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(6, 182, 212, 0.25) 0%,
      transparent 60%
    ),
    linear-gradient(145deg, #090c15 0%, #0f172a 45%, #180a29 100%) !important;
  padding: 1.4rem 1.2rem 1.1rem !important;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(236, 72, 153, 0.5) !important;
  box-shadow:
    inset 0 -2px 20px rgba(236, 72, 153, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.5);
  transition:
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    min-height 0.3s ease !important;
}

/* Estado compacto del encabezado al hacer scroll en el Mural */
.confessionsHeader-wrapper.neon-header.mural-header-compact {
  padding: 0.65rem 3rem 0.65rem 1rem !important;
  min-height: 48px !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(236, 72, 153, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.confessionsHeader-wrapper.neon-header.mural-header-compact .mural-header-icon,
.confessionsHeader-wrapper.neon-header.mural-header-compact .mural-info-wrapper,
.confessionsHeader-wrapper.neon-header.mural-header-compact .mural-subtitle,
.confessionsHeader-wrapper.neon-header.mural-header-compact .neon-subtitle,
.confessionsHeader-wrapper.neon-header.mural-header-compact .neon-sparkle {
  display: none !important;
}

.confessionsHeader-wrapper.neon-header.mural-header-compact .mural-neon-title {
  font-size: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
  text-align: center !important;
}

.confessionsHeader-wrapper.neon-header.mural-header-compact .neon-close-btn,
.confessionsHeader-wrapper.neon-header.mural-header-compact .mural-close-btn {
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 12px !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .confessionsHeader-wrapper.neon-header.mural-header-compact {
    padding: 0.55rem 2.8rem 0.55rem 0.8rem !important;
  }
  .confessionsHeader-wrapper.neon-header.mural-header-compact
    .mural-neon-title {
    font-size: 1.05rem !important;
  }
}

/* Glowing Neon Background Orbs */
.neon-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(25px);
  z-index: 1;
}
.neon-orb-1 {
  width: 130px;
  height: 130px;
  top: -25px;
  left: -20px;
  background: rgba(236, 72, 153, 0.35);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.neon-orb-2 {
  width: 140px;
  height: 140px;
  bottom: -35px;
  right: -25px;
  background: rgba(139, 92, 246, 0.35);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, 10px) scale(1.12);
  }
  100% {
    transform: translate(-10px, 12px) scale(0.92);
  }
}

/* Destellos de Luz (Sparkles) */
.neon-sparkle {
  position: absolute;
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
  text-shadow:
    0 0 8px #ffffff,
    0 0 16px #f472b6,
    0 0 25px #ec4899;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}
.sparkle-1 {
  top: 15%;
  left: 14%;
  animation-delay: 0s;
  font-size: 1.2rem;
}
.sparkle-2 {
  top: 20%;
  right: 18%;
  animation-delay: 0.8s;
  font-size: 0.9rem;
}
.sparkle-3 {
  bottom: 20%;
  left: 12%;
  animation-delay: 1.5s;
  font-size: 1rem;
}
.sparkle-4 {
  bottom: 22%;
  right: 14%;
  animation-delay: 2.2s;
  font-size: 1.25rem;
}
.sparkle-5 {
  top: 38%;
  left: 50%;
  animation-delay: 1.1s;
  font-size: 0.85rem;
}

@keyframes sparkleTwinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(45deg);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.95));
  }
}

.mural-header-icon {
  font-size: 2.2rem;
  margin-bottom: 0.15rem;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.6));
}

.mural-neon-title {
  margin: 0.15rem 0 0.35rem 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow:
    0 0 10px rgba(244, 63, 94, 0.8),
    0 0 20px rgba(236, 72, 153, 0.6),
    0 0 30px rgba(168, 85, 247, 0.4);
  position: relative;
  z-index: 3;
  letter-spacing: 0.3px;
}

.mural-info-wrapper {
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 3;
}

.neon-info-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(244, 114, 182, 0.5) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.3) !important;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease !important;
  cursor: pointer;
}
.neon-info-btn:hover {
  background: rgba(236, 72, 153, 0.3) !important;
  border-color: rgba(244, 114, 182, 0.9) !important;
  transform: scale(1.05);
}

.neon-subtitle {
  color: #f1f5f9 !important;
  font-weight: 500;
  font-size: 0.85rem;
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin: 0.2rem 0 0 0;
}

.neon-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.neon-close-btn:hover {
  background: rgba(236, 72, 153, 0.5) !important;
  border-color: rgba(236, 72, 153, 0.9) !important;
  transform: scale(1.1);
}

/* Compact Add Publication Button */
.mural-add-btn-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btnToggleConfessionForm-wrapper.mural-add-btn-compact {
  width: auto !important;
  min-width: 210px;
  max-width: 280px;
  padding: 0.65rem 1.6rem !important;
  font-size: 0.95rem !important;
}
.btnToggleConfessionForm-wrapper.mural-add-btn-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.6);
}
.btnToggleConfessionForm-wrapper.mural-add-btn-compact:active {
  transform: translateY(0);
}

/* Mural Filter Buttons */
.mural-filter-container {
  display: flex;
  gap: 10px;
  margin-bottom: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mural-filter-btn {
  flex: 1;
  min-width: 95px;
  max-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. TODAS (Azul Eléctrico / Indigo) */
.filter-btn-todos {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #4f46e5 !important;
  border: 1.5px solid rgba(99, 102, 241, 0.28) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.filter-btn-todos:hover {
  background: rgba(99, 102, 241, 0.22) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
}
.filter-btn-todos.active {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.45) !important;
  transform: translateY(-1px);
}

/* 2. MIS POSTS (Rosa Neón / Fucsia) */
.filter-btn-mias {
  background: rgba(236, 72, 153, 0.12) !important;
  color: #db2777 !important;
  border: 1.5px solid rgba(236, 72, 153, 0.28) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.filter-btn-mias:hover {
  background: rgba(236, 72, 153, 0.22) !important;
  border-color: rgba(236, 72, 153, 0.5) !important;
}
.filter-btn-mias.active {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.45) !important;
  transform: translateY(-1px);
}

/* 3. MIS AMIGOS (Esmeralda / Menta / Verde Neón) */
.filter-btn-amigos {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #059669 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.28) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.filter-btn-amigos:hover {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}
.filter-btn-amigos.active {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.45) !important;
  transform: translateY(-1px);
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  box-sizing: border-box;
  opacity: 0;
  animation: customOverlayFadeIn 0.22s ease forwards;
}

@keyframes customOverlayFadeIn {
  to {
    opacity: 1;
  }
}

.custom-modal-card {
  position: relative;
  background: linear-gradient(145deg, #181d30 0%, #0d1222 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  max-width: 440px;
  width: 100%;
  padding: 1.8rem 1.6rem 1.4rem 1.6rem;
  text-align: center;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(255, 75, 114, 0.12);
  box-sizing: border-box;
  transform: scale(0.92) translateY(12px);
  animation: customModalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes customModalPopIn {
  to {
    transform: scale(1) translateY(0);
  }
}

.custom-modal-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.2rem;
}

.custom-modal-icon-aura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.65;
  animation: auraPulse 2.5s infinite alternate ease-in-out;
}

@keyframes auraPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.25);
    opacity: 0.85;
  }
}

/* Temas del Icono según Tipo */
.custom-modal-type-crush .custom-modal-icon-wrap {
  background: rgba(255, 75, 114, 0.15);
  border: 1px solid rgba(255, 75, 114, 0.35);
}
.custom-modal-type-crush .custom-modal-icon-aura {
  background: radial-gradient(circle, #ff4b72 0%, #a855f7 100%);
}

.custom-modal-type-danger .custom-modal-icon-wrap {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.custom-modal-type-danger .custom-modal-icon-aura {
  background: radial-gradient(circle, #ef4444 0%, #b91c1c 100%);
}

.custom-modal-type-warning .custom-modal-icon-wrap {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.custom-modal-type-warning .custom-modal-icon-aura {
  background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
}

.custom-modal-type-success .custom-modal-icon-wrap {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.custom-modal-type-success .custom-modal-icon-aura {
  background: radial-gradient(circle, #10b981 0%, #059669 100%);
}

.custom-modal-type-info .custom-modal-icon-wrap {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.custom-modal-type-info .custom-modal-icon-aura {
  background: radial-gradient(circle, #3b82f6 0%, #6366f1 100%);
}

.custom-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.custom-modal-message {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
  word-break: break-word;
}

.custom-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.custom-modal-btn {
  flex: 1;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  outline: none;
  box-sizing: border-box;
}

.custom-modal-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.custom-modal-btn:active {
  transform: translateY(0);
}

.custom-modal-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.custom-modal-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.custom-modal-btn-confirm {
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Colores de Botón de Confirmación por Tipo */
.custom-modal-type-crush .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #ff4b72 0%, #a855f7 100%);
  box-shadow: 0 4px 16px rgba(255, 75, 114, 0.4);
}
.custom-modal-type-danger .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}
.custom-modal-type-warning .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}
.custom-modal-type-success .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}
.custom-modal-type-info .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

@media (max-width: 480px) {
  .custom-modal-card {
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    border-radius: 22px;
  }
  .custom-modal-title {
    font-size: 1.2rem;
  }
  .custom-modal-message {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
  }
  .custom-modal-btn {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }
}

.blind-partner-left-card {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.16),
    rgba(15, 23, 42, 0.92)
  ) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  border-radius: 20px !important;
  padding: 22px 18px !important;
  margin: 20px 10px !important;
  text-align: center !important;
  box-shadow:
    0 12px 30px -5px rgba(239, 68, 68, 0.25),
    0 0 20px rgba(239, 68, 68, 0.1) inset !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.blind-partner-left-icon {
  font-size: 2.5rem !important;
  margin-bottom: 8px !important;
  display: inline-block !important;
  animation: floatAnimation 2.5s ease-in-out infinite !important;
}

.blind-partner-left-title {
  color: #fca5a5 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.2px !important;
}

.blind-partner-left-desc {
  color: #cbd5e1 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin: 0 0 16px 0 !important;
}

.blind-btn-exit-after {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.blind-btn-exit-after:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6) !important;
}

.blind-btn-exit-after:active {
  transform: scale(0.97) !important;
}

.crushes-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  z-index: 3500;
  background: rgba(10, 3, 20, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.crushes-modal-card {
  width: 100%;
  max-width: 540px;
  margin: auto;
  background: linear-gradient(165deg, #1d0a2d 0%, #150622 45%, #0e0218 100%);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 105, 180, 0.4);
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(255, 75, 114, 0.28),
    0 0 100px rgba(138, 43, 226, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
}

/* Header del Modal Crushes */
.crushes-modal-header {
  padding: 2.2rem 2rem 1.4rem;
  text-align: center;
  position: relative;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 75, 114, 0.28) 0%,
    rgba(138, 43, 226, 0.15) 55%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Botón Cerrar Flotante */
.crushes-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.crushes-close-btn:hover {
  background: rgba(255, 75, 114, 0.35);
  color: #fff;
  border-color: rgba(255, 75, 114, 0.7);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(255, 75, 114, 0.5);
}

/* Badge arriba del título */
.crushes-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 105, 180, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.35);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 12px rgba(255, 105, 180, 0.2);
}

.crushes-badge-icon {
  font-size: 0.95rem;
  animation: pulseCrushBadge 1.8s infinite ease-in-out;
}

.crushes-badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ff9ebb;
}

@keyframes pulseCrushBadge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.22);
  }
}

/* Título */
.crushes-modal-title {
  margin: 0 0 0.6rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #ffc0cb 40%, #ff758c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255, 105, 180, 0.4));
}

/* Botón ¿Qué es? */
.crushes-que-es-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.crushes-que-es-btn:hover {
  background: rgba(255, 105, 180, 0.25);
  border-color: rgba(255, 105, 180, 0.5);
  color: #fff;
  transform: translateY(-1.5px);
  box-shadow: 0 5px 16px rgba(255, 105, 180, 0.35);
}

/* Subtítulo */
.crushes-modal-subtitle {
  color: rgba(241, 245, 249, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 390px;
  font-weight: 400;
}

/* Body / List container */
.crushes-modal-body {
  padding: 1.5rem;
  max-height: 56vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 105, 180, 0.35) transparent;
}

.crushes-modal-body::-webkit-scrollbar {
  width: 6px;
}

.crushes-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 105, 180, 0.35);
  border-radius: 10px;
}

.crushes-list-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Tarjeta individual de crush con Box Shadows multicapa */
.crush-user-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(255, 75, 114, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.crush-user-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 105, 180, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(255, 75, 114, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Fila Superior de la Tarjeta */
.crush-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Avatar con Glow */
.crush-card-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.crush-card-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff4b72;
  box-shadow:
    0 0 16px rgba(255, 75, 114, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.3);
  display: block;
}

.crush-card-avatar-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 114, 0.25),
    rgba(138, 43, 226, 0.25)
  );
  border: 2px solid #ff4b72;
  box-shadow: 0 0 16px rgba(255, 75, 114, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.crush-card-match-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  border: 2px solid #1a0c28;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Información del Usuario */
.crush-card-info {
  flex: 1;
  min-width: 0;
}

.crush-card-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crush-card-carrera {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón Eliminar Crush con Box Shadow en hover */
.crush-card-delete-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.crush-card-delete-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: rgba(239, 68, 68, 0.65);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
}

/* Fila de Botones de Acción con Box Shadows */
.crush-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
}

.crush-btn-profile {
  background: rgba(255, 255, 255, 0.09);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.crush-btn-profile:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.crush-btn-chat {
  background: linear-gradient(135deg, #ff416c, #8a2be2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 6px 20px rgba(255, 65, 108, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.crush-btn-chat:hover {
  background: linear-gradient(135deg, #ff527b, #9d4edd);
  transform: translateY(-1.5px);
  box-shadow:
    0 8px 26px rgba(255, 65, 108, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Estado Vacío */
.crushes-empty-state {
  text-align: center;
  padding: 2.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(255, 105, 180, 0.3);
  border-radius: 22px;
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.25);
}

.crushes-empty-icon {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 4px 14px rgba(255, 75, 114, 0.4));
  display: inline-block;
  animation: pulseCrushBadge 2s infinite ease-in-out;
}

.crushes-empty-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.crushes-empty-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

/* Estado de Carga */
.crushes-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 3.5rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
}

.crushes-loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 105, 180, 0.2);
  border-top-color: #ff4b72;
  border-radius: 50%;
  animation: spinCrushSpinner 0.8s linear infinite;
  box-shadow: 0 0 18px rgba(255, 75, 114, 0.35);
}

@keyframes spinCrushSpinner {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .crushes-modal-card {
    border-radius: 20px;
  }
  .crushes-modal-header {
    padding: 1.8rem 1.2rem 1.2rem;
  }
  .crushes-modal-title {
    font-size: 1.5rem;
  }
  .crushes-modal-body {
    padding: 1rem;
  }
}

/* --- Menú Hamburguesa Divider & Logout --- */
.hamburger-menu-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  margin: 6px 0;
}

.hamburger-logout-btn {
  color: #ff6b6b !important;
  border: 1px solid rgba(255, 107, 107, 0.2) !important;
  background: rgba(255, 107, 107, 0.08) !important;
  transition: all 0.25s ease !important;
}

.hamburger-logout-btn:hover {
  background: rgba(255, 107, 107, 0.2) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.25) !important;
}

/* --- Modal Mi Perfil Rediseñado (Paleta Rosa Suave & Elegante) --- */
.profile-modal-card {
  max-width: 580px !important;
  width: 92% !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(
    160deg,
    #fff5f7 0%,
    #ffeef2 45%,
    #fff0f5 100%
  ) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1.5px solid rgba(255, 182, 193, 0.7) !important;
  border-radius: 26px !important;
  box-shadow:
    0 20px 50px -10px rgba(255, 75, 114, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  overflow: hidden !important;
  padding: 0 !important;
  color: #1e293b !important;
}

.profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 50%, #9f1239 100%);
  border-bottom: 1px solid rgba(159, 18, 57, 0.4);
}

.modal-header-spacer {
  width: 32px;
}

.profile-modal-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.profile-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

.profile-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(180deg, #fecdd3 0%, #fda4af 100%);
  border-bottom: 1.5px solid #fb7185;
}

.profile-tabs {
  display: flex;
  gap: 8px;
}

.profile-tabs .tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid #fb7185;
  background: #ffffff;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.profile-tabs .tab-btn:hover {
  background: #ffe4e6;
  border-color: #e11d48;
  color: #be123c;
  transform: translateY(-1px);
}

.profile-tabs .tab-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow:
    0 4px 14px rgba(225, 29, 72, 0.4),
    0 2px 6px rgba(244, 63, 94, 0.3);
}

.vip-profile-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: 12px;
}

.profile-tab-content {
  padding: 1.4rem;
  overflow-y: auto;
  max-height: calc(90vh - 160px);
}

.profile-tab-content::-webkit-scrollbar {
  width: 6px;
}
.profile-tab-content::-webkit-scrollbar-thumb {
  background: rgba(255, 182, 193, 0.5);
  border-radius: 10px;
}

.profile-preview-title {
  color: #334155 !important;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.2rem 0;
  text-align: center;
}

/* Hero Section */
.profile-hero-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 114, 0.08) 0%,
    rgba(255, 140, 0, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  margin-bottom: 1.4rem;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-pic-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #ff4b72;
  box-shadow: 0 0 16px rgba(255, 75, 114, 0.35);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-pic-fallback {
  font-size: 2.4rem;
}

.profile-avatar-edit-label {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ff4b72, #ff8c00);
  color: white;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #12121c;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.profile-avatar-edit-label:hover {
  transform: scale(1.08);
}

.profile-hero-meta {
  flex: 1;
  min-width: 0;
}

.profile-hero-title {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-hero-subtitle {
  margin: 0 0 8px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.profile-hero-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}

.profile-chip-status {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.profile-chip-vip {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Campos de Edición */
.profile-fields-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.profile-form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
}

.profile-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-input,
.profile-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.profile-input:focus,
.profile-textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ff4b72;
  box-shadow: 0 0 12px rgba(255, 75, 114, 0.3);
}

.profile-input-readonly {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  cursor: not-allowed;
}

.profile-bio-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-char-counter {
  font-size: 0.75rem;
  color: #94a3b8;
}

.profile-textarea {
  resize: vertical;
  min-height: 80px;
}

.profile-save-btn {
  margin-top: 8px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff4b72 0%, #ff8c00 100%);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(255, 75, 114, 0.3);
}

.profile-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 75, 114, 0.45);
}

/* Acordeón de Seguridad */
.profile-security-section {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.profile-security-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 14px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-security-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.accordion-arrow {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.accordion-arrow.rotated {
  transform: rotate(180deg);
}

.password-accordion-content {
  margin-top: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.password-change-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwd-input-wrap {
  position: relative;
  width: 100%;
}

.pwd-toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pwd-toggle-icon:hover {
  opacity: 1;
}

.profile-pwd-submit-btn {
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-pwd-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.profile-forgot-pwd-text {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 4px 0 0 0;
  text-align: center;
}

.profile-pwd-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
}

.profile-pwd-link:hover {
  text-decoration: underline;
}

/* Zona de Peligro */
.profile-danger-zone {
  margin-top: 1.5rem;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-danger-info strong {
  display: block;
  color: #f87171;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.profile-danger-info p {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.profile-danger-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.profile-danger-btn:hover {
  background: #ef4444;
  color: white;
  transform: translateY(-2px);
}

/* Publicaciones & Visitas Pane Headers */
.profile-posts-header {
  margin-bottom: 1.2rem;
  width: 100%;
}

.profile-new-post-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #ff4b72 0%, #ff8c00 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.35);
  margin: 0;
  text-align: center;
  font-family: inherit;
  transition: none !important;
  transform: none !important;
}

.profile-new-post-btn:hover {
  transform: none !important;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(135deg, #ff4b72 0%, #ff8c00 100%) !important;
}

.profile-new-post-btn:active {
  transform: scale(0.99) !important;
}

/* ==========================================================================
   MODAL DEDICADO DE CREAR PUBLICACIÓN
   ========================================================================== */
.new-post-modal-wrapper {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: center;
  justify-content: center;
  z-index: 100030 !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 1rem 0.8rem;
  box-sizing: border-box;
  overflow-y: auto;
}

.new-post-modal-box {
  background: linear-gradient(145deg, #1e1b4b 0%, #311042 50%, #1f1135 100%);
  border: 1px solid rgba(255, 75, 114, 0.3);
  border-radius: 24px;
  max-width: 540px;
  width: 95%;
  padding: 1.6rem 1.8rem;
  position: relative;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 75, 114, 0.15);
  animation: fadeIn 0.25s ease;
  margin: auto;
  color: #ffffff;
}

.new-post-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 1.4rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.new-post-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
  border-color: rgba(239, 68, 68, 0.5);
}

.new-post-modal-title {
  margin: 0 0 1.2rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.3px;
}

.new-post-form-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.new-post-textarea-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.new-post-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  padding-bottom: 2.2rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background-color: #ffffff;
  color: #0f172a;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.new-post-textarea:focus {
  border-color: #ff4b72;
}

.new-post-char-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 7px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.post-emoji-picker-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.post-emoji-picker-bar span {
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.15s;
  user-select: none;
}

.post-emoji-picker-bar span:hover {
  transform: scale(1.3);
}

.new-post-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1rem;
  border-radius: 14px;
}

.new-post-color-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.new-post-color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-post-color-input {
  width: 42px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.new-post-color-hex {
  font-size: 0.82rem;
  font-family: monospace;
  color: #cbd5e1;
  font-weight: 600;
}

.new-post-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.new-post-tools-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.new-post-tool-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.new-post-tool-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.new-post-filename-badge {
  font-size: 0.78rem;
  color: #f472b6;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-post-submit-btn {
  background: linear-gradient(135deg, #ff4b72, #e11d48);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 22px;
  border-radius: 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 75, 114, 0.4);
  transition: all 0.2s;
  font-family: inherit;
}

.new-post-submit-btn:hover {
  box-shadow: 0 6px 18px rgba(255, 75, 114, 0.6);
  transform: translateY(-1px);
}

.new-post-submit-btn:active {
  transform: translateY(1px);
}

.profile-section-title {
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
}

/* --- Modal de Configuración --- */
.settings-card {
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #f1f5f9;
}

.settings-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0.5rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-modal-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  flex: 1;
  padding: 0.5rem 1rem;
  letter-spacing: 0.5px;
}

.settings-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0 0 1.25rem 0;
}

.settings-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.settings-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.settings-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-option-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

.settings-option-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.settings-option-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.settings-option-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.settings-option-info h3 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.settings-option-info p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.settings-action-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.settings-btn-profile {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.settings-btn-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.settings-btn-pwd-toggle {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.settings-btn-pwd-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.settings-pwd-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-btn-save-pwd {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  margin-top: 4px;
}

.settings-btn-save-pwd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.settings-forgot-pwd {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 6px 0 0 0;
}

.settings-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.settings-link:hover {
  text-decoration: underline;
}

.settings-btn-logout {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.4);
}

.settings-btn-logout:hover {
  background: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.settings-danger-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.settings-danger-card .danger-title {
  color: #f87171;
  margin: 0;
}

.settings-danger-card:hover {
  border-color: rgba(239, 68, 68, 0.45);
}

.settings-btn-delete-account {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.settings-btn-delete-account:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

/* --- Modal de Cambiar Contraseña Dedicado --- */
.change-pwd-card {
  max-width: 480px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #f1f5f9;
}

.change-pwd-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.change-pwd-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  flex: 1;
  padding: 0.25rem 0;
}

.change-pwd-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-pwd-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.change-pwd-description {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
  text-align: center;
}

/* --- Modal de Actualizar Información --- */
.update-profile-card {
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #f1f5f9;
}

.update-profile-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.update-profile-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  flex: 1;
}

.update-profile-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.update-profile-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* --- Modal de Amigos --- */
.friends-modal-card {
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #ee9bbe 0%, #d765ca 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(255, 75, 114, 0.4);
  color: #3332;
}

.friends-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.friends-modal-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #4a154b;
  text-align: center;
  flex: 1;
}

.friends-req-tabs-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.friends-req-tab-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.friends-req-tab-btn.active {
  border: none !important;
  background: linear-gradient(135deg, #ff4b72, #a855f7) !important;
  color: white !important;
}

.friends-user-card {
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
}

.friends-user-card.column {
  flex-direction: column;
  gap: 10px;
}

.friends-user-card.row {
  align-items: center;
  justify-content: space-between;
}

.friends-user-card-name {
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.friends-user-card-desc {
  font-size: 0.8rem;
  color: #718096;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.friends-user-card-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.friends-user-card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.friends-user-card-btn {
  border: none;
  border-radius: 15px;
  padding: 8px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.friends-user-card-btn.secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.friends-user-card-btn.primary {
  flex: 1;
  background: var(--primary);
  color: white;
}

.friends-user-card-btn.vip {
  flex: 1;
  background: linear-gradient(135deg, #ff69b4, #8a2be2);
  color: white;
}

.friends-req-action-btn {
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.friends-req-action-btn.accept {
  background: #10b981;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.friends-req-action-btn.reject {
  background: #ef4444;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}

.friends-req-action-btn.cancel {
  background: #64748b;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  width: auto;
  height: auto;
  font-size: 0.85rem;
  box-shadow: none;
}

.friends-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0 0 1.25rem 0;
}

.friends-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.friends-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.friends-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.friends-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.friends-section-title-row h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.pending-badge-count {
  background: #ff4b72;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.friends-tabs-container {
  display: flex;
  gap: 8px;
  background: rgba(30, 41, 59, 0.6);
  padding: 5px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.friends-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.friends-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.friends-tab-btn.active {
  background: linear-gradient(135deg, #ff4b72, #7928ca);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 75, 114, 0.35);
}

.friends-badge-pill {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.all-chats-last-msg {
  color: #2f3845;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  display: block;
}

.friends-search-bar {
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px 14px;
  margin-bottom: 1rem;
  gap: 8px;
}

.friends-search-icon {
  font-size: 0.95rem;
  color: #94a3b8;
}

.friends-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 0.9rem;
  outline: none;
}

.friends-search-input::placeholder {
  color: #64748b;
}

/* --- Tarjeta de Presentación en Mi Perfil --- */
.profile-card-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
  text-align: center;
}

.profile-preview-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
}

.profile-preview-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.profile-toggle-form-btn {
  margin-top: 0.75rem;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-pic-edit-preview {
  margin: 0.5rem auto 1rem auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   GLOBAL LIGHTBOX (Full screen media viewer)
   ========================================================================== */
.lightbox-wrapper {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000000;
  transition: color 0.2s;
  user-select: none;
}

.lightbox-close-btn:hover {
  color: #ff4b72;
}

.lightbox-content-container {
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.25s ease;
}

/* ==========================================================================
   PUBLIC PROFILE REDESIGN (Pink & Gold)
   ========================================================================== */
.public-profile-card {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(145deg, #1e1b4b 0%, #311042 50%, #1f1135 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 75, 114, 0.15);
  border: 1px solid rgba(255, 75, 114, 0.3);
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.public-profile-header-bg {
  height: 90px;
  background: linear-gradient(135deg, #ff4b72 0%, #c026d3 100%);
  position: relative;
  border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}

.public-close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.public-close-btn:hover {
  background: rgba(239, 68, 68, 0.5);
  transform: scale(1.05);
}

.public-options-dropdown {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.public-options-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.public-options-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.public-options-menu {
  position: absolute;
  top: 45px;
  right: 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 150px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s ease;
}

.public-options-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: none;
  border: none;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.public-options-menu button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.public-options-menu button.text-danger {
  color: #fb7185;
}

.public-profile-body {
  padding: 0 20px 20px;
  text-align: center;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.public-avatar-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #1e1b4b;
  margin: 0 auto;
  padding: 4px;
  border: 3px solid #ff4b72;
  box-shadow: 0 8px 25px rgba(255, 75, 114, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.text-gold {
  color: #fbbf24 !important;
}

.text-light {
  color: #e2e8f0 !important;
}

/* === UTILITY CLASSES FOR JS INJECTION === */
.btn-disabled-state {
  background: #e2e8f0 !important;
  color: #4a5568 !important;
}

.text-pink {
  color: #ff9fc7 !important;
}
.text-purple {
  color: #a78bfa !important;
}

.text-white {
  color: #ffffff !important;
}

.publicBio-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 75, 114, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin: 15px 0;
  font-style: italic;
}

.public-tabs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.public-tabs .tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.public-tabs .tab-btn.active {
  background: linear-gradient(135deg, #ff4b72 0%, #c026d3 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 75, 114, 0.3);
}

.public-tab-content {
  padding: 20px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 75, 114, 0.2);
}

.public-section-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.public-friends-section {
  text-align: center;
  margin-bottom: 15px;
}

.public-search-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 75, 114, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.public-search-input:focus {
  border-color: #ff4b72;
}

.public-search-input::placeholder {
  color: #64748b;
}

@media (max-width: 600px) {
  .public-tab-content {
    padding: 1.2rem 1.5rem !important;
  }
}
.verify-input-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.verify-input {
  width: 48px;
  height: 58px;
  font-size: 28px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 0;
  line-height: 54px;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: unset !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, transform 0.15s;
  caret-color: #e80271;
  color-scheme: dark;
}
.verify-input:focus {
  border-color: #e80271;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(232, 2, 113, 0.5);
}
.verify-input.filled {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}
.resend-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.resend-link:hover {
  color: #ffffff;
}

@media (max-width: 400px) {
  .verify-input-group {
    gap: 6px;
  }
  .verify-input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    line-height: 46px;
  }
}
