/* =================== RESET Y BASE =================== */
/* Versión: 2.1.6 - Cache-busting activado */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
}

/* =================== HEADER =================== */
.header {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.95);
}

.header-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-tabs {
  display: flex;
  flex: 1;
}

.nav-tab {
  flex: 1;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.nav-tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
  border-bottom-color: #b026ff;
  color: #ffffff;
  background-color: rgba(176, 38, 255, 0.1);
}

.nav-tab i {
  font-size: 1.2rem;
}

.nav-tab span {
  font-size: 0.8rem;
  font-weight: 500;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.username {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}

.username.clickable {
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.username.clickable:hover {
  color: #b026ff;
  background: rgba(176, 38, 255, 0.1);
}

/* =================== BARRA DE BÚSQUEDA =================== */
.search-section {
  position: relative;
  margin: 0 20px;
}

/* Botón de búsqueda solo con icono */
.search-icon-btn {
  background: transparent;
  border: none;
  color: #8899a6;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon-btn:hover {
  background: rgba(176, 38, 255, 0.1);
  color: #b026ff;
}

/* Interfaz de búsqueda expandida */
.search-expanded {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: pointer;
  box-sizing: border-box;
}

.search-expanded[style*="display: none"] {
  display: none !important;
}

.search-content {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  cursor: default;
  padding: 20px;
  padding-top: 60px;
  padding-bottom: 40px;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px 0;
  padding-top: 0;
  border-bottom: 1px solid #2f3336;
  width: 100%;
  flex-shrink: 0;
}

.search-header h3 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.close-search-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  cursor: pointer;
  padding: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.close-search-btn i {
  font-size: 20px !important;
  color: #ffffff !important;
  display: block !important;
}

.close-search-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.close-search-btn:active {
  transform: rotate(90deg) scale(0.95);
  background: rgba(255, 255, 255, 0.3) !important;
}

.search-input-container {
  position: relative;
  margin: 0 auto 30px auto;
  width: 100%;
  flex-shrink: 0;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8899a6;
  font-size: 18px;
}

.search-input-expanded {
  width: 100%;
  background: #192734;
  border: 2px solid #38444d;
  border-radius: 25px;
  padding: 16px 16px 16px 50px;
  color: #ffffff;
  font-size: 18px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input-expanded:focus {
  border-color: #b026ff;
  box-shadow: 0 0 0 4px rgba(176, 38, 255, 0.2);
}

.search-input-expanded::placeholder {
  color: #8899a6;
}

/* Sugerencias de búsqueda expandidas */
.search-suggestions-expanded {
  max-width: 600px;
  margin: 0 auto 30px auto;
  width: 100%;
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  flex-shrink: 0;
}

.search-suggestion-item {
  padding: 16px;
  cursor: pointer;
  border-bottom: 1px solid #38444d;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.search-suggestion-item:hover {
  background: #253341;
}

.search-suggestion-item .suggestion-icon {
  color: #b026ff;
  font-size: 16px;
}

.search-suggestion-item .suggestion-text {
  color: #ffffff;
  font-size: 16px;
  flex: 1;
}

.search-suggestion-item .suggestion-type {
  color: #8899a6;
  font-size: 14px;
  background: rgba(176, 38, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
}

/* Tendencias de búsqueda */
.trending-search {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  margin-top: 40px;
  flex: 1;
  padding-bottom: 20px;
}

.trending-search h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trending-search h4::before {
  content: "🔥";
  font-size: 18px;
}

.trending-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trending-item {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trending-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b026ff, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trending-item:hover {
  background: #1e2732;
  border-color: #b026ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(176, 38, 255, 0.15);
}

.trending-item:hover::before {
  opacity: 1;
}

.trending-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.trending-category {
  color: #8899a6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trending-more {
  color: #8899a6;
  font-size: 16px;
  cursor: pointer;
}

.trending-hashtag {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.trending-stats {
  color: #8899a6;
  font-size: 14px;
}

.trending-trending {
  color: #b026ff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================== HASHTAGS CLICKEABLES =================== */
.hashtag {
  color: #b026ff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hashtag:hover {
  color: #9a00e6;
  text-decoration: underline;
}

.hashtag:active {
  transform: scale(0.98);
}

.mention {
  color: #b026ff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.mention:hover {
  color: #9a00e6;
  text-decoration: underline;
}

.mention:active {
  transform: scale(0.98);
}

/* =================== POSTS DE TENDENCIAS =================== */
.trending-post {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  user-select: none;
}

.trending-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #1e2a38;
  border-color: #b026ff;
}

.trending-post-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.trending-rank {
  background: #b026ff;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trending-info {
  flex: 1;
}

.trending-category {
  color: #8899a6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.trending-hashtag {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.trending-related {
  color: #8899a6;
  font-size: 12px;
  margin-top: 4px;
  font-style: italic;
}

.trending-stats {
  text-align: right;
  flex-shrink: 0;
}

.tweet-volume {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.unique-users {
  color: #8899a6;
  font-size: 14px;
}

.trending-post-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* =================== VISTA DE HASHTAG =================== */
.hashtag-view {
  background: #000;
  min-height: 100vh;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  overflow-y: auto;
}

.hashtag-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #333;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
}

.back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.back-btn:hover {
  background: #333;
}

.hashtag-search-container {
  flex: 1;
  margin: 0 16px;
  position: relative;
}

.hashtag-search-container i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

#hashtagSearchInput {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
}

#hashtagSearchInput:focus {
  outline: none;
  border-color: #b026ff;
}

.hashtag-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hashtag-menu-btn:hover {
  background: #333;
}

.hashtag-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  background: #000;
}

.hashtag-tab {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  color: #666;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.hashtag-tab:hover {
  color: #fff;
  background: #1a1a1a;
}

.hashtag-tab.active {
  color: #fff;
}

.hashtag-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #b026ff;
  border-radius: 2px 2px 0 0;
}

.hashtag-ver-todo {
  padding: 16px;
  border-bottom: 1px solid #333;
}

.hashtag-ver-todo a {
  color: #b026ff;
  text-decoration: none;
  font-weight: 500;
}

.hashtag-ver-todo a:hover {
  text-decoration: underline;
}

.hashtag-content {
  padding: 16px;
}

.hashtag-posts {
  display: block;
}

.hashtag-people {
  display: none;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: background 0.2s ease;
}

.user-item:hover {
  background: #1a1a1a;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #b026ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: #fff;
  font-size: 20px;
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.user-stats {
  color: #666;
  font-size: 14px;
}

/* =================== RESULTADOS DE BÚSQUEDA =================== */
.search-results {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.search-results-info {
  flex: 1;
  text-align: center;
}

.search-results-info h3 {
  color: #ffffff;
  margin: 0 0 5px 0;
  font-size: 20px;
}

.search-results-info span {
  color: #8899a6;
  font-size: 14px;
}

.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 20px;
  padding: 8px 16px;
  color: #8899a6;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  background: #253341;
  color: #ffffff;
}

.filter-btn.active {
  background: #b026ff;
  color: #ffffff;
  border-color: #b026ff;
}

.search-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.search-stats span {
  color: #8899a6;
}

.search-results-tabs {
  display: flex;
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.search-tab {
  flex: 1;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 1px solid #38444d;
  color: #8899a6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-tab:last-child {
  border-right: none;
}

.search-tab:hover {
  background: #253341;
  color: #ffffff;
}

.search-tab.active {
  background: #b026ff;
  color: #ffffff;
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  min-width: 20px;
}

.search-results-container {
  min-height: 400px;
}

.search-posts {
  /* Los posts se muestran con los estilos existentes */
}

.search-hashtags,
.search-users {
  display: none;
}

.search-hashtag-item,
.search-user-item {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.search-hashtag-item:hover,
.search-user-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Estilos específicos para hashtags */
.hashtag-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hashtag-header i {
  color: #b026ff;
  font-size: 20px;
}

.hashtag-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.hashtag-count {
  background: #b026ff;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-left: auto;
}

.hashtag-meta {
  color: #8899a6;
  font-size: 14px;
}

/* Estilos específicos para usuarios */
.user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user-header i {
  color: #b026ff;
  font-size: 20px;
}

.user-header .username {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.user-meta {
  color: #8899a6;
  font-size: 14px;
}

.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination-btn {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 10px 15px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: #253341;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  color: #8899a6;
  font-size: 14px;
}

/* =================== ESTADOS VACÍOS =================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #8899a6;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.empty-state p {
  font-size: 16px;
  line-height: 1.5;
}

/* =================== SISTEMA DE MENSAJES =================== */
.messages-section {
  background: #000000;
  min-height: calc(100vh - 60px);
  /* Ajustar altura para considerar el header */
  margin-top: 60px;
  /* Agregar margen superior para el header */
}

.messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  background: #000000;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.messages-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.messages-container {
  padding: 1rem;
}

.conversations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #16181c;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.conversation-item:hover {
  background: #1a1d21;
  border-color: #2f3336;
  transform: translateY(-1px);
}

.conversation-item.active {
  background: #b026ff;
  border-color: #b026ff;
}

.conversation-avatar {
  width: 48px;
  height: 48px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.conversation-info {
  flex: 1;
  min-width: 0;
}

.conversation-username {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-last-message {
  color: #8899a6;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.conversation-time {
  font-size: 0.8rem;
  color: #8899a6;
}

.unread-badge {
  background: #b026ff;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Chat individual */
.chat-view {
  background: #000000;
  height: calc(100vh - 180px);
  /* Ajustar altura considerando header y margen */
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  background: #000000;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.chat-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  gap: 0.5rem;
  max-width: 70%;
}

.message.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message.received {
  align-self: flex-start;
}

.message-avatar {
  width: 32px;
  height: 32px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.message-content {
  background: #16181c;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  color: #ffffff;
  word-wrap: break-word;
}

.message.sent .message-content {
  background: #b026ff;
}

.message-time {
  font-size: 0.7rem;
  color: #8899a6;
  margin-top: 0.25rem;
  text-align: right;
}

.chat-input {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #2f3336;
  background: #000000;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.chat-input textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  border: 1px solid #2f3336;
  border-radius: 22px;
  padding: 0.75rem 1rem;
  background: #16181c;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  outline: none;
}

.chat-input textarea:focus {
  border-color: #b026ff;
}

.chat-input textarea::placeholder {
  color: #8899a6;
}

.chat-input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-messages {
  text-align: center;
  padding: 60px 20px;
  color: #8899a6;
}

.empty-messages i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-messages h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.empty-messages p {
  font-size: 16px;
  line-height: 1.5;
}

/* =================== BOTONES =================== */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #b026ff;
  color: white;
}

.btn-primary:hover {
  background: #9a00e6;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #b026ff;
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #536471;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-moderator {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: none;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  transition: all 0.2s ease;
}

.btn-moderator:hover {
  background: linear-gradient(135deg, #e55a2b, #e0851a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-moderator.hidden {
  display: none !important;
}

/* Estilos para botones deshabilitados */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #2f3336;
  color: #8899a6;
  border-color: #2f3336;
}

.btn:disabled:hover {
  background: #2f3336;
  color: #8899a6;
  border-color: #2f3336;
  transform: none;
  box-shadow: none;
}

.post-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.back-btn {
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* =================== MAIN CONTENT =================== */
.main-content {
  max-width: 600px;
  margin: 0 auto;
  background: #000000;
}

/* =================== CREATE POST SECTION =================== */
.create-post {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  padding: 1rem;
}

.post-form {
  display: flex;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-content {
  flex: 1;
}

.form-content textarea {
  width: 100%;
  min-height: 120px;
  border: none;
  resize: vertical;
  font-size: 1.2rem;
  font-family: inherit;
  padding: 0.5rem 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.form-content textarea:focus {
  border-bottom-color: #b026ff;
}

.form-content textarea::placeholder {
  color: #71767b;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #2f3336;
}

.post-actions-icons {
  display: flex;
  gap: 0.5rem;
}

.action-icon {
  background: transparent;
  border: none;
  color: #b026ff;
  font-size: 1.1rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-icon:hover {
  background: rgba(176, 38, 255, 0.1);
  transform: scale(1.1);
}

.form-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.char-count {
  color: #71767b;
  font-size: 0.9rem;
}

.char-count.warning {
  color: #ffd700;
}

.char-count.danger {
  color: #f91880;
}

/* =================== FEED SECTION =================== */
.feed-header {
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  background: #000000;
}

.show-posts-message {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #2f3336;
  background: #000000;
}

.show-posts-message a {
  color: #b026ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.show-posts-message a:hover {
  text-decoration: underline;
}

/* =================== BOTÓN DE POSTS NUEVOS =================== */
.new-posts-button {
  background: linear-gradient(135deg, #b026ff, #0d8bd9);
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  margin: 10px auto;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(29, 155, 240, 0.3);
  display: block;
  max-width: 300px;
  animation: newPostsSlideIn 0.5s ease-out;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

@keyframes newPostsSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.new-posts-button:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
  background: linear-gradient(135deg, #0d8bd9, #b026ff);
}

.new-posts-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.new-posts-content i {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.new-posts-button:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 2px 10px rgba(29, 155, 240, 0.3);
}

.feed-header h2 {
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.posts-container {
  display: flex;
  flex-direction: column;
}

/* =================== POST CARD =================== */
.post-card {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  padding: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.post-card:hover {
  background: #080808;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-avatar {
  width: 48px;
  height: 48px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.post-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.3);
}

.post-info {
  flex: 1;
}

.post-author {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.post-author:hover {
  color: #b026ff;
}

.post-timestamp {
  color: #71767b;
  font-size: 0.85rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ffffff;
}

.post-actions {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2f3336;
  justify-content: space-around;
}

.post-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #71767b;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  flex: 1;
  justify-content: center;
}

.post-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.post-action.liked {
  color: #f91880;
}

.post-action.liked i {
  animation: likeAnimation 0.3s ease;
}

/* Estilos para el botón de like */
.post-action.like {
  color: #71767b;
  transition: color 0.2s ease, background 0.2s ease;
}

/* Color del icono por defecto (gris) */
.post-action.like i {
  color: #71767b;
  transition: color 0.2s ease;
}

/* Al pasar el mouse, el icono se pone rojo */
.post-action.like:hover {
  background: rgba(249, 24, 128, 0.1);
}

.post-action.like:hover i {
  color: #f91880 !important;
}

/* Cuando el icono tiene la clase liked, se mantiene rojo siempre */
.post-action.like i.liked {
  color: #f91880 !important;
}

.post-action.like:hover i.liked {
  color: #f91880 !important;
}

@keyframes likeAnimation {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.post-action.comment {
  color: #b026ff;
}

.post-action.comment:hover {
  color: #9a00e6;
  background: rgba(176, 38, 255, 0.1);
}

.post-action.retweet {
  color: #71767b;
  transition: color 0.2s ease, background 0.2s ease;
}

/* Color del icono por defecto (gris) */
.post-action.retweet i {
  color: #71767b;
  transition: color 0.2s ease;
}

/* Al pasar el mouse, el icono se pone verde */
.post-action.retweet:hover {
  background: rgba(0, 186, 124, 0.1);
}

.post-action.retweet:hover i {
  color: #00ba7c !important;
}

/* Cuando el icono tiene la clase retweeted, se mantiene verde siempre */
.post-action.retweet i.retweeted {
  color: #00ba7c !important;
}

.post-action.retweet:hover i.retweeted {
  color: #00ba7c !important;
}

.post-action.views {
  color: #b026ff;
}

.post-action.views:hover {
  color: #9a00e6;
  background: rgba(176, 38, 255, 0.1);
}

.post-action.delete {
  color: #dc3545;
}

.post-action.delete:hover {
  color: #c82333;
  background: rgba(220, 53, 69, 0.1);
  transform: translateY(-1px);
}

.post-action.delete i {
  transition: transform 0.2s ease;
}

.post-action.delete:hover i {
  transform: scale(1.1);
}

.post-action.menu-btn {
  color: #71767b;
}

.post-action.menu-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* =================== POST VIEW =================== */
.post-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  background: #000000;
}

.post-view-header h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
}

.post-detail {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  padding: 1rem;
}

.post-detail .post-header {
  margin-bottom: 1rem;
}

.post-detail .post-content {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.post-detail .post-actions {
  gap: 4rem;
}

/* =================== COMMENTS SECTION =================== */
.comments-section {
  background: #000000;
  border-top: 1px solid #2f3336;
}

.add-comment {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  align-items: flex-start;
}

.add-comment textarea {
  flex: 1;
  min-height: 80px;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  background: transparent;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.add-comment textarea:focus {
  border-bottom-color: #b026ff;
}

.add-comment textarea::placeholder {
  color: #71767b;
}

.comments-container {
  display: flex;
  flex-direction: column;
}

/* =================== COMMENT CARD =================== */
.comment-card {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  padding: 1rem;
  transition: all 0.2s ease;
  position: relative;
}

.comment-card:hover {
  background: #080808;
}

/* =================== PROFILE VIEW =================== */
.profile-view {
  max-width: 600px;
  margin: 0 auto;
  background: #000000;
  min-height: 100vh;
}

.profile-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.profile-header-info {
  flex: 1;
  text-align: center;
  margin: 0 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-header-info:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-header-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.profile-header-info span {
  font-size: 0.9rem;
  color: #8899a6;
  transition: color 0.2s ease;
}

.profile-header-info:hover span {
  color: #b026ff;
}

.profile-banner {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
}

.profile-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: #b026ff;
  border-radius: 50%;
  border: 4px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.profile-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#followBtn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#followBtn:hover {
  background: #e6e6e6;
  transform: scale(1.02);
}

#followBtn.following {
  background: #000000;
  color: #ffffff;
  border: 1px solid #2f3336;
}

#followBtn.following:hover {
  background: #1a1a1a;
}

.profile-info {
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
}

.profile-name-section {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-name-section:hover {
  background: rgba(255, 255, 255, 0.02);
}

.profile-name-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.profile-handle {
  color: #8899a6;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.profile-name-section:hover .profile-handle {
  color: #b026ff;
}

.profile-bio {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ffffff;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.profile-bio:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.profile-stat:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.stat-label {
  color: #8899a6;
  font-size: 0.9rem;
}

.profile-join-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8899a6;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-join-date:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-join-date i {
  color: #8899a6;
  transition: color 0.2s ease;
}

.profile-join-date:hover i {
  color: #b026ff;
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid #2f3336;
}

.profile-tab {
  flex: 1;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  color: #8899a6;
  font-weight: 500;
  position: relative;
}

.profile-tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.profile-tab span {
  position: relative;
  z-index: 2;
}

.profile-tab.active {
  border-bottom-color: #b026ff;
  border-bottom-width: 2px;
  color: #ffffff;
  font-weight: 600;
}

.profile-tab {
  position: relative;
}

.profile-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.profile-tab.active::after {
  background: #b026ff;
}

.profile-content {
  min-height: 400px;
  background: #000000;
}

.profile-posts,
.profile-replies,
.profile-media,
.profile-likes {
  padding: 1rem;
  min-height: 200px;
}

.profile-posts:empty,
.profile-replies:empty,
.profile-media:empty,
.profile-likes:empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: block;
  text-align: center;
  color: #8899a6;
  padding: 2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 300px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  background: #b026ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.3);
}

.comment-info {
  flex: 1;
}

.comment-author {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.comment-author:hover {
  color: #b026ff;
}

.comment-timestamp {
  color: #71767b;
  font-size: 0.8rem;
}

.comment-content {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.comment-actions {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.comment-action {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #71767b;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.comment-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.comment-action.liked {
  color: #f91880;
}

.comment-action.reply {
  color: #b026ff;
}

.comment-action.retweet {
  color: #00ba7c;
}

.comment-action.views {
  color: #b026ff;
}

/* =================== NESTED COMMENTS =================== */
.nested-comments {
  margin-left: 2rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #2f3336;
}

.nested-comments .comment-card {
  background: #000000;
  border-bottom: 1px solid #2f3336;
}

.nested-comments .nested-comments .comment-card {
  background: #000000;
  border-bottom: 1px solid #2f3336;
}

/* =================== REPLY FORM =================== */
.reply-form {
  margin-top: 1rem;
  padding: 1rem;
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 8px;
}

.reply-form textarea {
  width: 100%;
  min-height: 60px;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  background: transparent;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  margin-bottom: 0.75rem;
}

.reply-form textarea:focus {
  border-bottom-color: #b026ff;
}

.reply-form textarea::placeholder {
  color: #71767b;
}

.reply-form-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* =================== LOADING SPINNER =================== */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* =================== REPORTE DE ERRORES =================== */

.error-report-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #1a1d21;
  border: 1px solid #2f3336;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.error-report-fab:hover {
  transform: translateY(-2px);
  border-color: #b026ff;
  box-shadow: 0 6px 20px rgba(176, 38, 255, 0.3);
}

.error-report-fab i {
  color: #8899a6;
  font-size: 18px;
  transition: color 0.2s;
}

.error-report-fab:hover i {
  color: #b026ff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.error-report-modal {
  background: #16181c;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #2f3336;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.error-report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #2f3336;
}

.error-report-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-report-header h2 i {
  color: #b026ff;
}

.error-report-content {
  padding: 24px;
}

.error-report-info {
  background: rgba(176, 38, 255, 0.08);
  border: 1px solid rgba(176, 38, 255, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.error-report-info i {
  color: #b026ff;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.error-report-info p {
  margin: 0;
  color: #8899a6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e1e8ed;
  font-weight: 500;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #0f1419;
  border: 1px solid #2f3336;
  border-radius: 8px;
  color: #e1e8ed;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b026ff;
  box-shadow: 0 0 0 2px rgba(176, 38, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.char-counter {
  text-align: right;
  margin-top: 4px;
}

.char-counter span {
  font-size: 12px;
  color: #8b98a5;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.error-report-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #2f3336;
}

.error-report-footer .btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.error-report-footer .btn-secondary {
  background: #2f3336;
  color: #e1e8ed;
}

.error-report-footer .btn-secondary:hover {
  background: #3d4147;
}

.error-report-footer .btn-primary {
  background: linear-gradient(135deg, #b026ff, #9a00e6);
  color: white;
}

.error-report-footer .btn-primary:hover {
  background: linear-gradient(135deg, #9a00e6, #1674c1);
}

.error-report-footer .btn-primary:disabled {
  background: #2f3336;
  color: #8b98a5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .error-report-modal {
    width: 95%;
    margin: 10px;
  }

  .error-report-fab {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .error-report-fab i {
    font-size: 18px;
  }
}

/* =================== TOAST NOTIFICATIONS =================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-left: 4px solid #b026ff;
  animation: slideIn 0.3s ease;
  max-width: 300px;
  color: #ffffff;
}

.toast.success {
  border-left-color: #00ba7c;
}

.toast.error {
  border-left-color: #f91880;
}

.toast.warning {
  border-left-color: #ffd700;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 768px) {
  .header-content {
    padding: 0 0.5rem;
  }

  .nav-tab span {
    display: none;
  }

  .nav-tab {
    padding: 0.75rem 0.5rem;
  }

  .main-content {
    padding: 0;
  }

  .create-post {
    padding: 0.75rem;
  }

  /* Mejorar responsividad del header en tablets */
  .user-section {
    gap: 0.5rem;
    padding-right: 0.5rem;
  }

  .user-info {
    max-width: calc(100vw - 140px);
    overflow: hidden;
    gap: 0.5rem;
  }

  /* Ocultar nombre de usuario en tablets, solo mostrar avatar */
  .user-info .username {
    display: none;
  }

  /* Hacer el avatar clickeable en móviles */
  .user-info .user-avatar-small {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .user-info .user-avatar-small:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }

  /* Hacer la lupa más pequeña en tablets */
  .search-icon-btn {
    font-size: 16px;
    padding: 6px;
  }

  /* Asegurar que el botón X de cerrar sea visible en tablets */
  .close-search-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 18px !important;
  }

  .close-search-btn i {
    font-size: 18px !important;
  }

  /* Asegurar que los botones sean visibles en tablets */
  .user-info .btn {
    flex-shrink: 0;
    min-width: auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Botón de cerrar sesión (candado) más pequeño en tablets */
  .user-info .btn[onclick="generateNewUser()"] {
    min-width: 32px;
    height: 32px;
    padding: 0.5rem;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-info .btn[onclick="generateNewUser()"] i {
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  /* Reducir tamaño del botón con candado cuando requiere código */
  .user-info .btn.requires-moderator-code {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0.5rem !important;
    border-width: 1.5px !important;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3) !important;
  }

  .user-info .btn.requires-moderator-code i {
    font-size: 0.8rem !important;
  }

  .user-section .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .user-section .btn i {
    font-size: 0.9rem;
  }

  .btn-moderator-settings,
  .btn-moderator-logout {
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    padding: 0.5rem;
  }

  .btn-moderator-logout i {
    font-size: 0.8rem !important;
  }

  #limitInfoBtn {
    padding: 0.5rem;
    min-width: 36px;
    height: 36px;
  }

  #limitInfoBtn i {
    font-size: 0.9rem;
  }

  .btn-moderator {
    padding: 0.5rem 0.75rem;
    font-size: 0;
    min-width: 40px;
    justify-content: center;
  }

  .btn-moderator i {
    margin-right: 0 !important;
    font-size: 0.9rem;
  }

  #loginBtn {
    padding: 0.5rem 0.75rem;
    font-size: 0;
    min-width: 40px;
    justify-content: center;
  }

  #loginBtn i {
    font-size: 0.9rem;
    margin-right: 0 !important;
  }

  .post-form {
    gap: 0.75rem;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
  }

  .post-actions {
    gap: 2rem;
  }

  .comment-actions {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-tab i {
    font-size: 1rem;
  }

  .post-actions {
    gap: 1.5rem;
  }

  .comment-actions {
    gap: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Arreglar colores de botones de acciones en móviles */
  .post-action {
    color: #71767b !important;
  }

  .post-action.liked {
    color: #f91880 !important;
  }

  .post-action.comment {
    color: #b026ff !important;
  }

  .post-action.retweet {
    color: #00ba7c !important;
  }

  .post-action.views {
    color: #b026ff !important;
  }

  .post-action.delete {
    color: #dc3545 !important;
  }

  .post-action.menu-btn {
    color: #71767b !important;
  }

  /* Mejorar botones del header en móviles pequeños */
  .user-section {
    gap: 0.4rem;
    padding-right: 0.4rem;
    flex-wrap: nowrap;
  }

  .user-section .btn {
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    min-width: auto;
  }

  .user-section .btn i {
    font-size: 0.85rem;
  }

  /* Ocultar texto en botones, solo mostrar iconos en móviles */
  .btn-moderator {
    padding: 0.45rem 0.6rem;
    min-width: 36px;
    height: 36px;
    justify-content: center;
    font-size: 0;
  }

  .btn-moderator i {
    margin-right: 0 !important;
    font-size: 0.85rem;
  }

  #loginBtn {
    padding: 0.45rem 0.6rem;
    min-width: 36px;
    height: 36px;
    justify-content: center;
    font-size: 0;
  }

  #loginBtn i {
    margin-right: 0 !important;
    font-size: 0.85rem;
  }

  #limitInfoBtn {
    padding: 0.45rem;
    min-width: 32px;
    height: 32px;
  }

  #limitInfoBtn i {
    font-size: 0.85rem;
  }

  .btn-moderator {
    padding: 0.45rem 0.6rem;
    min-width: 36px;
    height: 36px;
  }

  /* Arreglar ancho de la tarjeta de usuario en el header */
  .user-info {
    max-width: calc(100vw - 120px);
    overflow: hidden;
    gap: 0.4rem;
  }

  .user-info .username {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    font-size: 0.8rem;
    display: none;
  }

  /* Hacer la lupa más pequeña en móviles */
  .search-icon-btn {
    font-size: 14px;
    padding: 5px;
  }

  /* Asegurar que el botón X de cerrar sea visible en móviles */
  .close-search-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 16px !important;
    border-width: 2px !important;
  }

  .close-search-btn i {
    font-size: 16px !important;
  }

  /* Asegurar que los botones de logout y moderador sean visibles */
  .user-info .btn {
    flex-shrink: 0;
    min-width: auto;
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Botón de cerrar sesión (candado) más pequeño en móviles */
  .user-info .btn[onclick="generateNewUser()"] {
    min-width: 30px;
    height: 30px;
    padding: 0.4rem;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-info .btn[onclick="generateNewUser()"] i {
    font-size: 0.75rem !important;
    margin: 0 !important;
  }

  /* Reducir tamaño del botón con candado cuando requiere código */
  .user-info .btn.requires-moderator-code {
    min-width: 30px !important;
    height: 30px !important;
    padding: 0.4rem !important;
    border-width: 1px !important;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.3) !important;
  }

  .user-info .btn.requires-moderator-code i {
    font-size: 0.75rem !important;
  }

  .btn-moderator-settings,
  .btn-moderator-logout {
    flex-shrink: 0;
    min-width: 30px;
    height: 30px;
    padding: 0.4rem;
  }

  .btn-moderator-logout i {
    font-size: 0.75rem !important;
  }

  .user-avatar-small {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 360px) {
  .user-section {
    gap: 0.3rem;
    padding-right: 0.3rem;
  }

  .user-section .btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
    min-width: 30px;
    height: 30px;
  }

  .user-section .btn i {
    font-size: 0.8rem;
  }

  #loginBtn {
    min-width: 32px;
    height: 32px;
    padding: 0.4rem;
  }

  #limitInfoBtn {
    min-width: 28px;
    height: 28px;
    padding: 0.4rem;
  }

  #limitInfoBtn i {
    font-size: 0.8rem;
  }

  .btn-moderator {
    min-width: 32px;
    height: 32px;
    padding: 0.4rem;
  }

  .user-info {
    max-width: calc(100vw - 100px);
    gap: 0.3rem;
  }

  .user-info .username {
    max-width: 100px;
    font-size: 0.75rem;
    display: none;
  }

  /* Hacer la lupa aún más pequeña en pantallas muy pequeñas */
  .search-icon-btn {
    font-size: 13px;
    padding: 4px;
  }

  /* Asegurar que el botón X de cerrar sea visible en pantallas muy pequeñas */
  .close-search-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 15px !important;
    border-width: 2px !important;
  }

  .close-search-btn i {
    font-size: 15px !important;
  }

  .user-info .btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
    min-width: 28px;
    height: 28px;
  }

  /* Botón de cerrar sesión (candado) aún más pequeño en pantallas muy pequeñas */
  .user-info .btn[onclick="generateNewUser()"] {
    min-width: 28px;
    height: 28px;
    padding: 0.35rem;
    font-size: 0;
  }

  .user-info .btn[onclick="generateNewUser()"] i {
    font-size: 0.7rem !important;
    margin: 0 !important;
  }

  /* Reducir tamaño del botón con candado cuando requiere código */
  .user-info .btn.requires-moderator-code {
    min-width: 28px !important;
    height: 28px !important;
    padding: 0.35rem !important;
    border-width: 1px !important;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.3) !important;
  }

  .user-info .btn.requires-moderator-code i {
    font-size: 0.7rem !important;
  }

  .btn-moderator-settings,
  .btn-moderator-logout {
    min-width: 28px;
    height: 28px;
    padding: 0.35rem;
    font-size: 0.75rem;
  }

  .btn-moderator-logout i {
    font-size: 0.7rem !important;
  }

  .user-avatar-small {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .post-actions {
    gap: 1rem;
  }

  .post-action {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* =================== UTILITIES =================== */
.hidden {
  display: none !important;
}

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

.mt-2 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.p-2 {
  padding: 1rem;
}

/* =================== ANIMATIONS =================== */
.fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================== VISTAS EN TIEMPO REAL =================== */
.views-update {
  animation: viewsUpdate 0.5s ease;
}

@keyframes viewsUpdate {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    color: #b026ff;
  }

  100% {
    transform: scale(1);
  }
}

.post-action.views.updating {
  animation: viewsUpdate 0.5s ease;
}

.post-action.views.updating span {
  color: #b026ff;
  font-weight: 600;
}

/* =================== ESTILOS ESPECIALES PARA MODERADORES =================== */

/* Post del moderador */
.post-card.moderator-post {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #000000, #1a0f0a);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.post-card.moderator-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
  animation: moderatorGlow 2s ease-in-out infinite;
}

@keyframes moderatorGlow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.post-card.moderator-post .post-header {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-radius: 8px;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem 0.5rem -0.5rem;
}

.post-card.moderator-post .post-author {
  color: #ff6b35;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.post-card.moderator-post .post-avatar {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.post-card.moderator-post .post-content {
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.post-card.moderator-post .post-actions {
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
}

.post-card.moderator-post .post-action.delete {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  border-radius: 6px;
  padding: 0.5rem;
  transition: all 0.2s ease;
}

.post-card.moderator-post .post-action.delete:hover {
  color: #ffffff;
  background: rgba(255, 71, 87, 0.3);
  transform: translateY(-1px);
}

/* Comentario del moderador */
.comment-card.moderator-comment {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #000000, #1a0f0a);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.25);
  position: relative;
  margin-left: 1rem;
}

.comment-card.moderator-comment::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.comment-card.moderator-comment .comment-header {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.25rem 0.25rem -0.25rem;
}

.comment-card.moderator-comment .comment-author {
  color: #ff6b35;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.comment-card.moderator-comment .comment-avatar {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
}

.comment-card.moderator-comment .comment-content {
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.comment-card.moderator-comment .comment-actions {
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
}

/* Badge especial para moderador */
.moderator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
  margin-left: 0.5rem;
}

.moderator-badge i {
  font-size: 0.6rem;
}

/* Animación de entrada para posts del moderador */
.post-card.moderator-post {
  animation: moderatorPostEntry 0.6s ease-out;
}

@keyframes moderatorPostEntry {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  50% {
    transform: translateY(-5px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Efecto hover especial para posts del moderador */
.post-card.moderator-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

/* Indicador visual en el feed */
.post-card.moderator-post::after {
  content: '🛡️';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem;
  animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Estilos para post individual del moderador */
.moderator-post-detail {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #000000, #1a0f0a);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.moderator-post-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
  animation: moderatorGlow 2s ease-in-out infinite;
}

.moderator-post-detail .post-header {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(247, 147, 30, 0.15));
  border-radius: 8px;
  padding: 0.75rem;
  margin: -0.75rem -0.75rem 0.75rem -0.75rem;
}

.moderator-post-detail .post-author {
  color: #ff6b35;
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.moderator-post-detail .post-avatar {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.moderator-post-detail .post-content {
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
}

.moderator-post-detail .post-actions {
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(247, 147, 30, 0.08));
  border-radius: 0 0 10px 10px;
}

.moderator-post-detail .post-action.delete {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.moderator-post-detail .post-action.delete:hover {
  color: #ffffff;
  background: rgba(255, 71, 87, 0.4);
  border-color: rgba(255, 71, 87, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Estilos para comentarios anidados del moderador */
.nested-comments .moderator-comment {
  margin-left: 2rem;
  border-left: 3px solid #ff6b35;
}

.nested-comments .moderator-comment::before {
  left: -1.5rem;
  width: 4px;
}

/* Responsive para posts del moderador */
@media (max-width: 768px) {
  .post-card.moderator-post::after {
    font-size: 1rem;
    top: 0.25rem;
    right: 0.25rem;
  }

  .moderator-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .nested-comments .moderator-comment {
    margin-left: 1rem;
  }
}

/* =================== BADGES PARA TABLA DE MÉTRICAS =================== */

.report-type-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-type-badge.hate {
  background: #ff4444;
  color: white;
}

.report-type-badge.abuse {
  background: #ff8800;
  color: white;
}

.report-type-badge.violence {
  background: #cc0000;
  color: white;
}

.report-type-badge.privacy {
  background: #0066cc;
  color: white;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.pending {
  background: #ffaa00;
  color: black;
}

.status-badge.reviewed {
  background: #00aa00;
  color: white;
}

.status-badge.resolved {
  background: #0066cc;
  color: white;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* =================== MODAL DE TÉRMINOS Y CONDICIONES =================== */
.terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.terms-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #ff6b35;
  border-radius: 20px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  animation: termsSlideIn 0.5s ease-out;
}

@keyframes termsSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.terms-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.terms-header h2 {
  color: #ff6b35;
  font-size: 28px;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.warning-icon {
  font-size: 40px;
  margin-top: 10px;
  animation: warningPulse 2s infinite;
}

@keyframes warningPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.terms-body {
  margin-bottom: 30px;
}

.terms-disclaimer {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.terms-disclaimer .highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: bold;
}

.terms-text {
  color: #e0e0e0;
  line-height: 1.6;
}

.terms-text p {
  margin-bottom: 15px;
  font-size: 16px;
}

.terms-text ul {
  margin: 20px 0;
  padding-left: 25px;
}

.terms-text li {
  margin-bottom: 10px;
  color: #ffa07a;
  font-weight: 500;
}

.terms-text strong {
  color: #ff6b35;
}

.terms-footer {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 25px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #ff6b35;
  border-radius: 6px;
  margin-right: 12px;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
  background: #ff6b35;
  border-color: #ff6b35;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.checkbox-text {
  color: #e0e0e0;
  font-size: 16px;
  font-weight: 500;
}

#acceptTermsBtn {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  border: none;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

#acceptTermsBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

#acceptTermsBtn:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive para términos */
@media (max-width: 768px) {
  .terms-content {
    padding: 20px;
    margin: 20px;
  }

  .terms-header h2 {
    font-size: 24px;
  }

  .terms-disclaimer {
    font-size: 16px;
    padding: 15px;
  }

  .terms-text p {
    font-size: 14px;
  }
}

/* =================== MODAL DE POLÍTICA DE PRIVACIDAD =================== */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2001;
  backdrop-filter: blur(10px);
}

.privacy-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #4a90e2;
  border-radius: 20px;
  padding: 30px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(74, 144, 226, 0.3);
  animation: privacySlideIn 0.5s ease-out;
}

@keyframes privacySlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 15px;
}

.privacy-header h2 {
  color: #4a90e2;
  font-size: 28px;
  margin: 0;
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.privacy-header .close-btn {
  background: none;
  border: none;
  color: #4a90e2;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.privacy-header .close-btn:hover {
  background: rgba(74, 144, 226, 0.2);
  transform: scale(1.1);
}

.privacy-body {
  margin-bottom: 30px;
}

.privacy-section {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 15px;
  border-left: 4px solid #4a90e2;
}

.privacy-section h3 {
  color: #4a90e2;
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-section p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 16px;
}

.privacy-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.privacy-section li {
  margin-bottom: 8px;
  color: #b3d9ff;
  font-weight: 500;
  line-height: 1.5;
}

.privacy-section strong {
  color: #4a90e2;
  font-weight: 600;
}

.privacy-footer {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 25px;
}

.privacy-footer .btn {
  background: linear-gradient(135deg, #4a90e2, #6bb6ff);
  border: none;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.privacy-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.privacy-link {
  margin: 15px 0;
  text-align: center;
}

.privacy-link p {
  color: #b3d9ff;
  font-size: 14px;
  margin: 0;
}

.privacy-link-text {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.privacy-link-text:hover {
  color: #6bb6ff;
  text-decoration: underline;
}

/* Responsive para política de privacidad */
@media (max-width: 768px) {
  .privacy-content {
    padding: 20px;
    margin: 20px;
    max-height: 90vh;
  }

  .privacy-header h2 {
    font-size: 24px;
  }

  .privacy-section {
    padding: 15px;
  }

  .privacy-section h3 {
    font-size: 18px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 14px;
  }
}

/* =================== SISTEMA DE REPORTES =================== */

/* Menú de 3 puntos en posts */
.post-action.menu-btn {
  cursor: pointer;
  transition: all 0.2s ease;
}

.post-action.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Modal de menú de post */
.post-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  backdrop-filter: blur(5px);
}

.post-menu-content {
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 0;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.post-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #2f3336;
}

.post-menu-header h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.post-menu-options {
  padding: 8px 0;
}

.menu-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-option i {
  color: #ff6b35;
  width: 20px;
}

/* Modal de reporte */
.report-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1600;
  backdrop-filter: blur(10px);
}

.report-content {
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #2f3336;
}

.report-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.report-body {
  padding: 20px;
}

.report-question {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.report-why {
  color: #b026ff;
  font-size: 0.9rem;
  margin: 0 0 24px 0;
  cursor: pointer;
}

.report-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border: 1px solid #2f3336;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.report-option:hover {
  border-color: #b026ff;
  background: rgba(176, 38, 255, 0.1);
}

.report-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #536471;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.report-option input[type="radio"]:checked+.radio-custom {
  border-color: #b026ff;
  background: #b026ff;
}

.report-option input[type="radio"]:checked+.radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.option-content {
  flex: 1;
}

.option-content strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.option-content p {
  color: #e7e9ea;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.report-footer {
  padding: 20px;
  border-top: 1px solid #2f3336;
  text-align: center;
}

/* Modal de confirmación */
.report-confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1700;
  backdrop-filter: blur(10px);
}

.report-confirmation-content {
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.report-confirmation-header {
  padding: 20px;
  border-bottom: 1px solid #2f3336;
}

.report-confirmation-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.blue-line {
  height: 2px;
  background: #b026ff;
  width: 100%;
}

.report-confirmation-body {
  padding: 20px;
}

.confirmation-section {
  margin-bottom: 24px;
}

.confirmation-section h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.confirmation-section p {
  color: #e7e9ea;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.report-confirmation-footer {
  padding: 20px;
  border-top: 1px solid #2f3336;
  text-align: center;
}

/* Sistema de Anuncios */
.announcements-container {
  position: fixed;
  top: 120px;
  /* Más abajo para no tapar el área de postear */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  /* Mismo ancho que el contenido principal */
  z-index: 999;
  background: transparent;
  /* Sin fondo para evitar doble cuadro */
  border: none;
  /* Sin borde del contenedor */
  border-radius: 0;
  /* Sin bordes redondeados */
  padding: 0;
  /* Sin padding del contenedor */
  max-height: 150px;
  /* Más pequeño */
  overflow-y: auto;
  box-shadow: none;
  /* Sin sombra del contenedor */
}

/* Estilo personalizado para la barra de scroll */
.announcements-container::-webkit-scrollbar {
  width: 6px;
  /* Barra más delgada */
}

.announcements-container::-webkit-scrollbar-track {
  background: transparent;
  /* Fondo transparente */
}

.announcements-container::-webkit-scrollbar-thumb {
  background: #38444d;
  /* Color de la barra estilo Twitter */
  border-radius: 3px;
  /* Bordes redondeados */
}

.announcements-container::-webkit-scrollbar-thumb:hover {
  background: #8899a6;
  /* Color hover */
}

.announcement-item {
  background: #192734;
  /* Fondo más oscuro estilo Twitter */
  border-radius: 16px;
  /* Bordes más redondeados */
  padding: 20px;
  /* Más padding para mejor espaciado */
  margin-bottom: 16px;
  /* Más espacio entre anuncios */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  /* Sombra más pronunciada */
  border-left: 4px solid #b026ff;
  /* Azul Twitter */
  animation: slideInDown 0.3s ease-out;
  border: 1px solid #38444d;
  position: relative;
  /* Para posicionar elementos internos */
}

.announcement-item.info {
  border-left-color: #17a2b8;
}

.announcement-item.warning {
  border-left-color: #ffc107;
}

.announcement-item.error {
  border-left-color: #dc3545;
}

.announcement-item.success {
  border-left-color: #28a745;
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.announcement-title {
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  /* Texto blanco para contraste */
}

.announcement-type {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f8f9fa;
  color: #666;
}

.announcement-message {
  color: #e1e8ed;
  /* Color de texto estilo Twitter */
  line-height: 1.4;
  margin-bottom: 10px;
}

.announcement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8899a6;
  /* Color de texto secundario estilo Twitter */
}

.announcement-close {
  background: none;
  border: none;
  color: #8899a6;
  /* Color estilo Twitter */
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.announcement-close:hover {
  background: #38444d;
  /* Hover estilo Twitter */
  color: #ffffff;
}

/* Modal de Anuncios */
.announcement-modal,
.announcements-list-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  /* Fondo más oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.announcement-modal-content,
.announcements-list-modal-content {
  background: #15202b;
  /* Fondo oscuro estilo Twitter */
  border: 1px solid #38444d;
  /* Borde estilo Twitter */
  border-radius: 16px;
  /* Bordes más redondeados */
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  /* Sombra más pronunciada */
}

.announcement-modal-header,
.announcements-list-modal-header {
  padding: 20px;
  border-bottom: 1px solid #38444d;
  /* Borde estilo Twitter */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-modal-header h3,
.announcements-list-modal-header h3 {
  margin: 0;
  color: #ffffff;
  /* Texto blanco */
  font-size: 20px;
}

.announcement-modal-body,
.announcements-list-modal-body {
  padding: 20px;
  color: #ffffff;
  /* Texto blanco por defecto */
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #007bff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

/* Lista de Anuncios */
.announcement-list-item {
  background: #192734;
  /* Fondo oscuro estilo Twitter */
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border-left: 4px solid #b026ff;
  /* Azul Twitter */
  border: 1px solid #38444d;
  /* Borde estilo Twitter */
}

.announcement-list-item.info {
  border-left-color: #b026ff;
  /* Azul Twitter */
}

.announcement-list-item.warning {
  border-left-color: #ffd700;
  /* Amarillo dorado */
}

.announcement-list-item.error {
  border-left-color: #f91880;
  /* Rosa Twitter */
}

.announcement-list-item.success {
  border-left-color: #00ba7c;
  /* Verde Twitter */
}

.announcement-list-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Estilos para el texto dentro de los elementos de la lista */
.announcement-list-item .announcement-title {
  color: #ffffff;
  /* Texto blanco */
}

.announcement-list-item .announcement-message {
  color: #e1e8ed;
  /* Color de texto estilo Twitter */
}

.announcement-list-item .announcement-meta {
  color: #8899a6;
  /* Color de texto secundario estilo Twitter */
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Panel de moderación */
.moderation-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1800;
  backdrop-filter: blur(10px);
}

.moderation-content {
  background: #000000;
  border: 2px solid #ff6b35;
  border-radius: 16px;
  padding: 0;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  animation: slideUp 0.3s ease;
}

.moderation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #2f3336;
}

.moderation-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.moderation-header h3 i {
  color: #ff6b35;
}

.moderation-body {
  padding: 20px;
}

.moderation-section h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.reports-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-item {
  background: #1a1a1a;
  border: 1px solid #2f3336;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.report-item:hover {
  border-color: #b026ff;
  background: rgba(29, 155, 240, 0.05);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.report-type {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.report-type.hate {
  background: #ff4444;
  color: white;
}

.report-type.abuse {
  background: #ff8800;
  color: white;
}

.report-type.violence {
  background: #cc0000;
  color: white;
}

.report-type.privacy {
  background: #0066cc;
  color: white;
}

.report-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.report-status.pending {
  background: #ffaa00;
  color: black;
}

.report-status.reviewed {
  background: #00aa00;
  color: white;
}

.report-status.resolved {
  background: #0066cc;
  color: white;
}

.report-content {
  margin-bottom: 16px;
}

.report-content p {
  color: #e7e9ea;
  font-size: 0.9rem;
  margin: 4px 0;
}

.report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.report-actions .btn {
  padding: 8px 12px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: fit-content;
}

.report-actions .btn i {
  font-size: 0.7rem;
}

/* Botón de eliminar reporte */
.btn-danger {
  background: #dc3545;
  border: none;
  color: white;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: #c82333;
  transform: scale(1.05);
}

/* Botón de ir al post */
.btn-secondary:hover {
  background: #6c757d;
  transform: scale(1.05);
}

/* Indicador de reporte en post */
.report-indicator {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  border: 1px solid #ff6b35;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

.report-indicator-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 500;
}

.report-indicator i {
  font-size: 1.2rem;
  color: white;
}

.report-indicator span {
  font-size: 0.95rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estados vacíos y de error */
.no-reports,
.error-loading {
  text-align: center;
  padding: 40px 20px;
  color: #e7e9ea;
}

.no-reports i {
  font-size: 48px;
  color: #00aa00;
  margin-bottom: 16px;
}

.error-loading i {
  font-size: 48px;
  color: #ff4444;
  margin-bottom: 16px;
}

.no-reports p,
.error-loading p {
  font-size: 1.1rem;
  margin: 0;
}

/* Botón de ajustes de moderador */
.btn-moderator-settings {
  background: #ff6b35;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.btn-moderator-settings:hover {
  background: #ff8c42;
  transform: scale(1.05);
}

/* Botón de información del límite mensual */
#limitInfoBtn {
  margin-left: 0.5rem;
  padding: 0.5rem;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#limitInfoBtn:hover {
  background: #495057;
  transform: scale(1.05);
}

/* Estilos para botón deshabilitado */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  background: inherit;
  transform: none !important;
}

/* Estilos específicos para botón de cerrar sesión deshabilitado */
.btn[onclick="generateNewUser()"]:disabled {
  background: #6c757d !important;
  color: #ffffff !important;
  border-color: #6c757d !important;
}

.btn[onclick="generateNewUser()"]:disabled:hover {
  background: #6c757d !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Estilos para botones de administración */
.admin-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-warning {
  background: #ffc107;
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-warning:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-info {
  background: #17a2b8;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-info:hover {
  background: #138496;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* Responsive para reportes */
@media (max-width: 768px) {

  .report-content,
  .report-confirmation-content,
  .moderation-content {
    margin: 20px;
    max-height: 90vh;
  }

  .report-option {
    padding: 12px;
  }

  .option-content p {
    font-size: 0.8rem;
  }
}

/* =================== INTERFAZ DE MODERADOR =================== */
.moderator-login {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.moderator-login-content {
  background: #000000;
  border: 2px solid #ff6b35;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
  animation: slideUp 0.3s ease;
}

.moderator-login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2f3336;
}

.moderator-login-header h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.moderator-login-header h2 i {
  color: #ff6b35;
}

.close-btn {
  background: transparent;
  border: 1px solid #536471;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.moderator-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input {
  padding: 1rem;
  border: 2px solid #2f3336;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #ff6b35;
}

/* Estilos para el perfil de moderador */
.moderator-profile {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.moderator-profile .username {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.moderator-profile .user-avatar-small {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  color: #ff6b35;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.moderator-profile .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.moderator-profile .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-moderator-logout {
  background: rgba(220, 53, 69, 0.8);
  border: 1px solid rgba(220, 53, 69, 0.6);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.btn-moderator-logout:hover {
  background: rgba(220, 53, 69, 1);
  border-color: rgba(220, 53, 69, 0.8);
  transform: scale(1.1);
}

/* =================== ESTILOS ADICIONALES DEL PERFIL =================== */
.profile-posts .post-card {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.profile-posts .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-posts .post-card:last-child {
  margin-bottom: 0;
}

.profile-posts .post-card .post-header {
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
}

.profile-posts .post-card .post-content {
  padding: 0 1rem 1rem 1rem;
}

.profile-posts .post-card .post-actions {
  padding: 0 1rem 1rem 1rem;
  border-top: 1px solid #2f3336;
}

.profile-posts .post-card .post-actions .post-action {
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-actions .post-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.profile-posts .post-card .post-actions .post-action.liked {
  color: #f91880;
  background: rgba(249, 24, 128, 0.1);
}

.profile-posts .post-card .post-actions .post-action.comment {
  color: #b026ff;
  background: rgba(176, 38, 255, 0.1);
}

.profile-posts .post-card .post-actions .post-action.retweet {
  color: #00ba7c;
  background: rgba(0, 186, 124, 0.1);
}

.profile-posts .post-card .post-actions .post-action.views {
  color: #b026ff;
  background: rgba(176, 38, 255, 0.1);
}

.profile-posts .post-card .post-actions .post-action.delete {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.profile-posts .post-card .post-actions .post-action.menu-btn {
  color: #8899a6;
  background: rgba(136, 153, 166, 0.1);
}

.profile-posts .post-card .post-actions .post-action.menu-btn:hover {
  color: #ffffff;
  background: rgba(136, 153, 166, 0.2);
}

.profile-posts .post-card .post-avatar {
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.3);
}

.profile-posts .post-card .post-author {
  cursor: pointer;
  transition: color 0.2s ease;
}

.profile-posts .post-card .post-author:hover {
  color: #b026ff;
}

.profile-posts .post-card .post-author:hover+.post-timestamp {
  color: #b026ff;
}

.profile-posts .post-card .post-timestamp {
  transition: color 0.2s ease;
}

.profile-posts .post-card .post-content {
  transition: all 0.2s ease;
}

.profile-posts .post-card:hover .post-content {
  color: #ffffff;
}

.profile-posts .post-card .post-header {
  transition: all 0.2s ease;
}

.profile-posts .post-card:hover .post-header {
  background: rgba(255, 255, 255, 0.02);
}

.profile-posts .post-card .post-actions {
  transition: all 0.2s ease;
}

.profile-posts .post-card:hover .post-actions {
  background: rgba(255, 255, 255, 0.02);
}

/* Estilos para mensajes vacíos en pestañas del perfil */
.profile-replies .text-center,
.profile-media .text-center,
.profile-likes .text-center {
  padding: 2rem;
  text-align: center;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
}

.profile-replies .text-center p,
.profile-media .text-center p,
.profile-likes .text-center p {
  margin: 0;
  font-size: 1rem;
}

/* Estilos para el botón de seguir */
#followBtn {
  position: relative;
  overflow: hidden;
}

#followBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#followBtn:hover::before {
  left: 100%;
}

/* Estilos para el banner del perfil */
.profile-banner {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.profile-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  z-index: 1;
}

.profile-banner>* {
  position: relative;
  z-index: 2;
}

/* Estilos para las estadísticas del perfil */
.profile-stats .profile-stat {
  position: relative;
  overflow: hidden;
}

.profile-stats .profile-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.profile-stats .profile-stat:hover::before {
  transform: translateX(100%);
}

/* Estilos para la fecha de unión */
.profile-join-date {
  position: relative;
  overflow: hidden;
}

.profile-join-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-join-date:hover::before {
  left: 100%;
}

/* Estilos para las pestañas del perfil */
.profile-tabs {
  position: relative;
}

.profile-tabs::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #2f3336;
  z-index: 1;
}

.profile-tab {
  position: relative;
  z-index: 2;
}

.profile-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.profile-tab.active::after {
  width: 100%;
}

.profile-tab:hover::after {
  width: 50%;
}

/* Estilos para el contenido del perfil */
.profile-content {
  position: relative;
}

.profile-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para el header del perfil */
.profile-header {
  position: relative;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para el banner del perfil */
.profile-banner {
  position: relative;
}

.profile-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  z-index: 1;
}

.profile-banner>* {
  position: relative;
  z-index: 2;
}

/* Estilos para el avatar del perfil */
.profile-avatar {
  position: relative;
}

.profile-avatar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b026ff, #00ba7c, #f91880, #b026ff);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.profile-avatar:hover::before {
  animation-play-state: paused;
}

/* Estilos para los posts en el perfil */
.profile-posts .post-card {
  position: relative;
  overflow: hidden;
}

.profile-posts .post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #b026ff, #00ba7c);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.profile-posts .post-card:hover::before {
  transform: scaleY(1);
}

.profile-posts .post-card .post-header {
  position: relative;
}

.profile-posts .post-card .post-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-content {
  position: relative;
}

.profile-posts .post-card .post-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-actions {
  position: relative;
}

.profile-posts .post-card .post-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los avatares en el perfil */
.profile-posts .post-card .post-avatar {
  position: relative;
}

.profile-posts .post-card .post-avatar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b026ff, #00ba7c, #f91880, #b026ff);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-posts .post-card .post-avatar:hover::after {
  opacity: 1;
}

/* Estilos para los nombres de usuario en el perfil */
.profile-posts .post-card .post-author {
  position: relative;
}

.profile-posts .post-card .post-author::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: width 0.3s ease;
}

.profile-posts .post-card .post-author:hover::after {
  width: 100%;
}

/* Estilos para las acciones de los posts en el perfil */
.profile-posts .post-card .post-action {
  position: relative;
  overflow: hidden;
}

.profile-posts .post-card .post-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-posts .post-card .post-action:hover::before {
  left: 100%;
}

/* Estilos para el botón de seguir */
#followBtn {
  position: relative;
  overflow: hidden;
}

#followBtn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#followBtn:hover::after {
  left: 100%;
}

/* Estilos para las estadísticas del perfil */
.profile-stats .profile-stat {
  position: relative;
  overflow: hidden;
}

.profile-stats .profile-stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-stats .profile-stat:hover::after {
  left: 100%;
}

/* Estilos para la fecha de unión */
.profile-join-date {
  position: relative;
  overflow: hidden;
}

.profile-join-date::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-join-date:hover::after {
  left: 100%;
}

/* Estilos para mensajes vacíos */
.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Estilos para el estado de carga */
.profile-view .loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
}

.profile-view .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para el estado de error */
.profile-view .error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
}

.profile-view .error-message i {
  font-size: 2rem;
  margin-right: 1rem;
}

/* Estilos para el estado de éxito */
.profile-view .success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
}

.profile-view .success-message i {
  font-size: 2rem;
  margin-right: 1rem;
}

/* Estilos para botones en el perfil */
.profile-view .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.profile-view .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.profile-view .btn:hover::before {
  left: 100%;
}

.profile-view .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-view .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de seguir */
#followBtn {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #000000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#followBtn:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#followBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#followBtn.following {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #ffffff;
  border: 2px solid #2f3336;
}

#followBtn.following:hover {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-color: #b026ff;
}

/* Estilos para el botón de opciones */
.profile-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Estilos para el botón de retroceso */
.profile-header .back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Estilos para el botón de opciones del header */
.profile-header .btn-secondary:last-child {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-header .btn-secondary:last-child:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Estilos para las pestañas del perfil */
.profile-tabs {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.profile-tabs::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
  z-index: 1;
}

.profile-tab {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: #8899a6;
  padding: 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-tab.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #b026ff;
}

.profile-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.profile-tab.active::after {
  width: 100%;
}

.profile-tab:hover::after {
  width: 50%;
}

.profile-tab span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.profile-tab:hover span {
  transform: translateY(-1px);
}

.profile-tab.active span {
  transform: translateY(-1px);
  text-shadow: 0 1px 2px rgba(29, 155, 240, 0.3);
}

/* Estilos para el contenido de las pestañas */
.profile-content {
  position: relative;
  background: #000000;
  min-height: 400px;
}

.profile-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los posts en el perfil */
.profile-posts,
.profile-replies,
.profile-media,
.profile-likes {
  padding: 1rem;
  min-height: 200px;
  position: relative;
}

.profile-posts:empty,
.profile-replies:empty,
.profile-media:empty,
.profile-likes:empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para mensajes vacíos */
.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Estilos para el estado de carga */
.profile-view .loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  flex-direction: column;
}

.profile-view .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.profile-view .loading-spinner p {
  margin: 0;
  font-size: 0.9rem;
  color: #8899a6;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para el estado de error */
.profile-view .error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .error-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .error-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para el estado de éxito */
.profile-view .success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .success-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .success-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para las pestañas del perfil */
.profile-tabs {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  border-bottom: 1px solid #2f3336;
}

.profile-tabs::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
  z-index: 1;
}

.profile-tab {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: #8899a6;
  padding: 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-tab.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #b026ff;
}

.profile-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.profile-tab.active::after {
  width: 100%;
}

.profile-tab:hover::after {
  width: 50%;
}

.profile-tab span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.profile-tab:hover span {
  transform: translateY(-1px);
}

.profile-tab.active span {
  transform: translateY(-1px);
  text-shadow: 0 1px 2px rgba(29, 155, 240, 0.3);
}

/* Estilos para los posts en el perfil */
.profile-posts .post-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.profile-posts .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-posts .post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #b026ff, #00ba7c);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.profile-posts .post-card:hover::before {
  transform: scaleY(1);
}

.profile-posts .post-card .post-header {
  position: relative;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
}

.profile-posts .post-card .post-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-content {
  position: relative;
  padding: 0 1rem 1rem 1rem;
}

.profile-posts .post-card .post-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-actions {
  position: relative;
  padding: 0 1rem 1rem 1rem;
  border-top: 1px solid #2f3336;
}

.profile-posts .post-card .post-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los avatares en el perfil */
.profile-posts .post-card .post-avatar {
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.3);
}

.profile-posts .post-card .post-avatar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b026ff, #00ba7c, #f91880, #b026ff);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-posts .post-card .post-avatar:hover::after {
  opacity: 1;
}

/* Estilos para los nombres de usuario en el perfil */
.profile-posts .post-card .post-author {
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
}

.profile-posts .post-card .post-author:hover {
  color: #b026ff;
}

.profile-posts .post-card .post-author::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: width 0.3s ease;
}

.profile-posts .post-card .post-author:hover::after {
  width: 100%;
}

/* Estilos para las acciones de los posts en el perfil */
.profile-posts .post-card .post-action {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.profile-posts .post-card .post-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-posts .post-card .post-action:hover::before {
  left: 100%;
}

/* Estilos para el botón de seguir */
#followBtn {
  position: relative;
  overflow: hidden;
}

#followBtn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#followBtn:hover::after {
  left: 100%;
}

/* Estilos para las estadísticas del perfil */
.profile-stats .profile-stat {
  position: relative;
  overflow: hidden;
}

.profile-stats .profile-stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-stats .profile-stat:hover::after {
  left: 100%;
}

/* Estilos para la fecha de unión */
.profile-join-date {
  position: relative;
  overflow: hidden;
}

.profile-join-date::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-join-date:hover::after {
  left: 100%;
}

/* Estilos para mensajes vacíos */
.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Estilos para el estado de carga */
.profile-view .loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  flex-direction: column;
}

.profile-view .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.profile-view .loading-spinner p {
  margin: 0;
  font-size: 0.9rem;
  color: #8899a6;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para el estado de error */
.profile-view .error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .error-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .error-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para el estado de éxito */
.profile-view .success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .success-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .success-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para botones en el perfil */
.profile-view .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.profile-view .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.profile-view .btn:hover::before {
  left: 100%;
}

.profile-view .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-view .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de seguir */
#followBtn {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #000000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#followBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#followBtn:hover::before {
  left: 100%;
}

#followBtn:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#followBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#followBtn.following {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #ffffff;
  border: 2px solid #2f3336;
}

#followBtn.following:hover {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-color: #b026ff;
}

/* Estilos para el botón de opciones */
.profile-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-actions .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-actions .btn-secondary:hover::before {
  left: 100%;
}

.profile-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de retroceso */
.profile-header .back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-header .back-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-header .back-btn:hover::before {
  left: 100%;
}

.profile-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de opciones del header */
.profile-header .btn-secondary:last-child {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-header .btn-secondary:last-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-header .btn-secondary:last-child:hover::before {
  left: 100%;
}

.profile-header .btn-secondary:last-child:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el header del perfil */
.profile-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  position: relative;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-header-info {
  flex: 1;
  text-align: center;
  margin: 0 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-header-info:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-header-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-header-info:hover::before {
  left: 100%;
}

.profile-header-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.profile-header-info span {
  font-size: 0.9rem;
  color: #8899a6;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-header-info:hover span {
  color: #b026ff;
}

/* Estilos para la información del perfil */
.profile-info {
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  position: relative;
}

.profile-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para el nombre del perfil */
.profile-name-section {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-name-section:hover {
  background: rgba(255, 255, 255, 0.02);
}

.profile-name-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-name-section:hover::before {
  left: 100%;
}

.profile-name-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.profile-handle {
  color: #8899a6;
  font-size: 1rem;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-name-section:hover .profile-handle {
  color: #b026ff;
}

/* Estilos para la bio del perfil */
.profile-bio {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ffffff;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-bio:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-bio:hover::before {
  left: 100%;
}

/* Estilos para las estadísticas del perfil */
.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.profile-stat:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.profile-stat:hover::before {
  transform: translateX(100%);
}

.stat-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.stat-label {
  color: #8899a6;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Estilos para la fecha de unión */
.profile-join-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8899a6;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-join-date:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-join-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-join-date:hover::before {
  left: 100%;
}

.profile-join-date i {
  color: #8899a6;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-join-date:hover i {
  color: #b026ff;
}

.profile-join-date span {
  position: relative;
  z-index: 2;
}

/* Estilos para el contenido del perfil */
.profile-content {
  position: relative;
  background: #000000;
  min-height: 400px;
}

.profile-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los posts en el perfil */
.profile-posts,
.profile-replies,
.profile-media,
.profile-likes {
  padding: 1rem;
  min-height: 200px;
  position: relative;
}

.profile-posts:empty,
.profile-replies:empty,
.profile-media:empty,
.profile-likes:empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para mensajes vacíos */
.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Estilos para el estado de carga */
.profile-view .loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  flex-direction: column;
}

.profile-view .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.profile-view .loading-spinner p {
  margin: 0;
  font-size: 0.9rem;
  color: #8899a6;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para el estado de error */
.profile-view .error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .error-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .error-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para el estado de éxito */
.profile-view .success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .success-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .success-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para las pestañas del perfil */
.profile-tabs {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  border-bottom: 1px solid #2f3336;
}

.profile-tabs::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
  z-index: 1;
}

.profile-tab {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: #8899a6;
  padding: 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-tab.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #b026ff;
}

.profile-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.profile-tab.active::after {
  width: 100%;
}

.profile-tab:hover::after {
  width: 50%;
}

.profile-tab span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.profile-tab:hover span {
  transform: translateY(-1px);
}

.profile-tab.active span {
  transform: translateY(-1px);
  text-shadow: 0 1px 2px rgba(29, 155, 240, 0.3);
}

/* Estilos para los posts en el perfil */
.profile-posts .post-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.profile-posts .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-posts .post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #b026ff, #00ba7c);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.profile-posts .post-card:hover::before {
  transform: scaleY(1);
}

.profile-posts .post-card .post-header {
  position: relative;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
}

.profile-posts .post-card .post-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-content {
  position: relative;
  padding: 0 1rem 1rem 1rem;
}

.profile-posts .post-card .post-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-posts .post-card .post-actions {
  position: relative;
  padding: 0 1rem 1rem 1rem;
  border-top: 1px solid #2f3336;
}

.profile-posts .post-card .post-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los avatares en el perfil */
.profile-posts .post-card .post-avatar {
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.3);
}

.profile-posts .post-card .post-avatar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b026ff, #00ba7c, #f91880, #b026ff);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-posts .post-card .post-avatar:hover::after {
  opacity: 1;
}

/* Estilos para los nombres de usuario en el perfil */
.profile-posts .post-card .post-author {
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
}

.profile-posts .post-card .post-author:hover {
  color: #b026ff;
}

.profile-posts .post-card .post-author::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b026ff;
  transition: width 0.3s ease;
}

.profile-posts .post-card .post-author:hover::after {
  width: 100%;
}

/* Estilos para las acciones de los posts en el perfil */
.profile-posts .post-card .post-action {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-posts .post-card .post-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.profile-posts .post-card .post-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-posts .post-card .post-action:hover::before {
  left: 100%;
}

/* Estilos para el banner del perfil */
.profile-banner {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.profile-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  z-index: 1;
}

.profile-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.profile-banner>* {
  position: relative;
  z-index: 2;
}

/* Estilos para el avatar del perfil */
.profile-avatar {
  width: 80px;
  height: 80px;
  background: #b026ff;
  border-radius: 50%;
  border: 4px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.profile-avatar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b026ff, #00ba7c, #f91880, #b026ff);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-avatar:hover::before {
  opacity: 1;
}

.profile-avatar:hover::before {
  animation-play-state: paused;
}

/* Estilos para las acciones del perfil */
.profile-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Estilos para el botón de opciones */
.profile-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.profile-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de seguir */
#followBtn {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #000000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#followBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#followBtn:hover::before {
  left: 100%;
}

#followBtn:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#followBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#followBtn.following {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #ffffff;
  border: 2px solid #2f3336;
}

#followBtn.following:hover {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-color: #b026ff;
}

/* Estilos para la información del perfil */
.profile-info {
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  position: relative;
}

.profile-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para el nombre del perfil */
.profile-name-section {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-name-section:hover {
  background: rgba(255, 255, 255, 0.02);
}

.profile-name-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-name-section:hover::before {
  left: 100%;
}

.profile-name-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.profile-handle {
  color: #8899a6;
  font-size: 1rem;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-name-section:hover .profile-handle {
  color: #b026ff;
}

/* Estilos para la bio del perfil */
.profile-bio {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ffffff;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-bio:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-bio:hover::before {
  left: 100%;
}

/* Estilos para las estadísticas del perfil */
.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.profile-stat:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.profile-stat:hover::before {
  transform: translateX(100%);
}

.stat-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.stat-label {
  color: #8899a6;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Estilos para la fecha de unión */
.profile-join-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8899a6;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-join-date:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.profile-join-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-join-date:hover::before {
  left: 100%;
}

.profile-join-date i {
  color: #8899a6;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-join-date:hover i {
  color: #b026ff;
}

.profile-join-date span {
  position: relative;
  z-index: 2;
}

/* Estilos para el header del perfil */
.profile-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #2f3336;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  position: relative;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

.profile-header-info {
  flex: 1;
  text-align: center;
  margin: 0 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.profile-header-info:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-header-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.profile-header-info:hover::before {
  left: 100%;
}

.profile-header-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.profile-header-info span {
  font-size: 0.9rem;
  color: #8899a6;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.profile-header-info:hover span {
  color: #b026ff;
}

/* Estilos para el botón de retroceso del header */
.profile-header .back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-header .back-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-header .back-btn:hover::before {
  left: 100%;
}

.profile-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el botón de opciones del header */
.profile-header .btn-secondary:last-child {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-header .btn-secondary:last-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.profile-header .btn-secondary:last-child:hover::before {
  left: 100%;
}

.profile-header .btn-secondary:last-child:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para el contenido del perfil */
.profile-content {
  position: relative;
  background: #000000;
  min-height: 400px;
}

.profile-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3336, transparent);
}

/* Estilos para los posts en el perfil */
.profile-posts,
.profile-replies,
.profile-media,
.profile-likes {
  padding: 1rem;
  min-height: 200px;
  position: relative;
}

.profile-posts:empty,
.profile-replies:empty,
.profile-media:empty,
.profile-likes:empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para mensajes vacíos */
.profile-posts:empty::after,
.profile-replies:empty::after,
.profile-media:empty::after,
.profile-likes:empty::after {
  content: "No hay contenido para mostrar";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Estilos para el estado de carga */
.profile-view .loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #8899a6;
  flex-direction: column;
}

.profile-view .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #2f3336;
  border-top: 4px solid #b026ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.profile-view .loading-spinner p {
  margin: 0;
  font-size: 0.9rem;
  color: #8899a6;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para el estado de error */
.profile-view .error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .error-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .error-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Estilos para el estado de éxito */
.profile-view .success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(40, 167, 69, 0.3);
  margin: 1rem;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.profile-view .success-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-view .success-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* =================== DASHBOARD DE ESTADO DEL SISTEMA =================== */

.system-status-dashboard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.system-status-content {
  background: #15202b;
  /* Fondo oscuro estilo Twitter */
  border: 1px solid #38444d;
  border-radius: 16px;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.system-status-header {
  padding: 20px;
  border-bottom: 1px solid #38444d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.system-status-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.system-status-body {
  padding: 20px;
  color: #ffffff;
}

/* Estado General del Sistema */
.system-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.status-card {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.status-card.primary {
  border-left: 4px solid #b026ff;
}

.status-card.success {
  border-left: 4px solid #00ba7c;
}

.status-card.info {
  border-left: 4px solid #b026ff;
}

.status-card.warning {
  border-left: 4px solid #ffd700;
}

.status-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
}

.status-card.primary .status-icon {
  background: #b026ff;
}

.status-card.success .status-icon {
  background: #00ba7c;
}

.status-card.info .status-icon {
  background: #b026ff;
}

.status-card.warning .status-icon {
  background: #ffd700;
  color: #000000;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.status-label {
  font-size: 14px;
  color: #8899a6;
  font-weight: 500;
}

.status-value {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
}

/* Métricas en Tiempo Real */
.real-time-metrics {
  margin-bottom: 30px;
}

.real-time-metrics h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.metric-item {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 14px;
  color: #8899a6;
  margin-bottom: 8px;
}

.metric-value {
  display: block;
  font-size: 24px;
  color: #ffffff;
  font-weight: 600;
}

/* Información del Sistema */
.system-info {
  margin-bottom: 30px;
}

.system-info h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.info-item {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-size: 14px;
  color: #8899a6;
}

.info-value {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

/* Logs del Sistema */
.system-logs {
  margin-bottom: 30px;
}

.system-logs h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

.logs-container {
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 15px;
  max-height: 200px;
  overflow-y: auto;
}

.log-entry {
  padding: 8px 0;
  border-bottom: 1px solid #38444d;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-time {
  color: #8899a6;
  margin-right: 10px;
}

/* Estado de Actualización */
.update-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.update-indicator,
.auto-update-status {
  color: #8899a6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-indicator i,
.auto-update-status i {
  color: #b026ff;
}

/* Acciones del Sistema */
.system-actions {
  margin-bottom: 20px;
}

.system-actions h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* =================== DASHBOARD DE MÉTRICAS =================== */

.metrics-dashboard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2500;
  backdrop-filter: blur(15px);
}

.metrics-dashboard-content {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border: 2px solid #ff6b35;
  border-radius: 20px;
  padding: 0;
  max-width: 1200px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(255, 107, 53, 0.4);
  animation: dashboardSlideIn 0.5s ease-out;
}

@keyframes dashboardSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.metrics-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  border-bottom: 2px solid #2f3336;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-radius: 18px 18px 0 0;
}

.metrics-dashboard-header h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.metrics-dashboard-header h3 i {
  color: #ff6b35;
  font-size: 1.6rem;
}

.metrics-dashboard-body {
  padding: 30px;
}

/* Métricas principales */
.metrics-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.metric-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-light));
}

.metric-card.primary::before {
  --accent-color: #b026ff;
  --accent-color-light: #4fc3f7;
}

.metric-card.success::before {
  --accent-color: #00ba7c;
  --accent-color-light: #4ade80;
}

.metric-card.info::before {
  --accent-color: #667eea;
  --accent-color-light: #8b9df6;
}

.metric-card.warning::before {
  --accent-color: #ff6b35;
  --accent-color-light: #ff8c42;
}

.metric-card.danger::before {
  --accent-color: #dc3545;
  --accent-color-light: #e74c3c;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-color);
}

.metric-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
}

.metric-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-label {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: 500;
}

.metric-trend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.metric-trend i {
  font-size: 0.7rem;
}

.metric-trend.positive {
  color: #00ba7c;
}

.metric-trend.negative {
  color: #dc3545;
}

.trend-value {
  color: #ffffff;
}

/* Detalles de métricas */
.metrics-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.metric-chart,
.metric-stats,
.metric-table,
.metric-actions {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
}

.metric-chart:hover,
.metric-stats:hover,
.metric-table:hover,
.metric-actions:hover {
  border-color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metric-chart h4,
.metric-stats h4,
.metric-table h4,
.metric-actions h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-chart h4 i,
.metric-stats h4 i,
.metric-table h4 i,
.metric-actions h4 i {
  color: #ff6b35;
}

/* Gráfico de barras */
.chart-container {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 120px;
  margin-bottom: 15px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #ff6b35, #ff8c42);
  border-radius: 4px 4px 0 0;
  min-height: 20px;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  background: linear-gradient(180deg, #ff8c42, #ff6b35);
  transform: scaleY(1.1);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #b0b0b0;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Estadísticas rápidas */
.quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.quick-stat:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: scale(1.05);
}

.stat-label {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-value {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Tabla de reportes */
.table-container {
  max-height: 200px;
  overflow-y: auto;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
}

.metrics-table th {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  font-weight: 600;
  padding: 15px 12px;
  text-align: left;
  border-bottom: 2px solid #3a3a3a;
  font-size: 0.9rem;
}

.metrics-table td {
  padding: 12px;
  border-bottom: 1px solid #3a3a3a;
  font-size: 0.85rem;
}

.metrics-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Botones de acción */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.action-buttons .btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
  .metrics-dashboard-content {
    width: 98%;
    margin: 20px;
  }

  .metrics-overview {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .metrics-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .metrics-dashboard-content {
    max-height: 95vh;
    margin: 10px;
  }

  .metrics-dashboard-header {
    padding: 20px;
  }

  .metrics-dashboard-header h3 {
    font-size: 1.4rem;
  }

  .metrics-dashboard-body {
    padding: 20px;
  }

  .metrics-overview {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .metric-card {
    padding: 20px;
  }

  .metric-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .metric-number {
    font-size: 1.8rem;
  }

  .quick-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .action-buttons .btn {
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .metrics-dashboard-content {
    border-radius: 15px;
  }

  .metrics-dashboard-header {
    padding: 15px;
  }

  .metrics-dashboard-body {
    padding: 15px;
  }

  .metric-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }

  .metric-trend {
    align-self: center;
  }
}

/* Estilos específicos para botón de cerrar sesión que requiere código de moderador */
.btn.requires-moderator-code {
  background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
  border: 2px solid #ff6b35 !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.4) !important;
  animation: pulseModerator 2s infinite;
  cursor: pointer !important;
  opacity: 1 !important;
}

.btn.requires-moderator-code:hover {
  background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.6) !important;
}

@keyframes pulseModerator {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
  }

  50% {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.7);
  }
}

/* =================== MODAL DE CÓDIGO DE MODERADOR =================== */

.moderator-code-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  backdrop-filter: blur(15px);
}

.moderator-code-content {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border: 2px solid #ff6b35;
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(255, 107, 53, 0.4);
  animation: codeModalSlideIn 0.5s ease-out;
}

@keyframes codeModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.moderator-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  border-bottom: 2px solid #2f3336;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-radius: 18px 18px 0 0;
}

.moderator-code-header h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.moderator-code-header h3 i {
  color: #ff6b35;
  font-size: 1.3rem;
}

.moderator-code-body {
  padding: 30px;
}

.code-warning {
  text-align: center;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.code-warning i {
  font-size: 2rem;
  color: #ff6b35;
  margin-bottom: 15px;
  display: block;
}

.code-warning p {
  color: #ffffff;
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.4;
}

.code-input-group {
  margin-bottom: 25px;
}

.code-input-group label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.code-input-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #2f3336;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: monospace;
  letter-spacing: 2px;
  text-align: center;
  transition: all 0.3s ease;
}

.code-input-group input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.code-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(176, 38, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(29, 155, 240, 0.3);
}

.code-hint i {
  color: #b026ff;
  font-size: 1rem;
}

.code-hint span {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.moderator-code-footer {
  display: flex;
  gap: 15px;
  padding: 25px 30px;
  border-top: 2px solid #2f3336;
  justify-content: flex-end;
}

.moderator-code-footer .btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.moderator-code-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive para el modal */
@media (max-width: 768px) {
  .moderator-code-content {
    margin: 20px;
    max-width: 95%;
  }

  .moderator-code-header,
  .moderator-code-body,
  .moderator-code-footer {
    padding: 20px;
  }

  .moderator-code-header h3 {
    font-size: 1.3rem;
  }

  .code-warning i {
    font-size: 1.5rem;
  }

  .moderator-code-footer {
    flex-direction: column;
  }

  .moderator-code-footer .btn {
    width: 100%;
  }
}

/* =================== LAYOUT CON ANUNCIOS LATERALES =================== */
.layout-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 20px;
}

.left-sidebar-ad,
.right-sidebar-ad {
  width: 300px;
  position: sticky;
  top: 80px;
  height: fit-content;
  flex-shrink: 0;
}

.sidebar-ad-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 16px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  flex: 1;
  min-width: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Ajustar el ancho del contenido principal para el layout completo */
.layout-container .header-content {
  max-width: 1200px;
  padding: 0 20px;
}

/* =================== RESPONSIVE PARA ANUNCIOS =================== */
@media (max-width: 1024px) {

  .left-sidebar-ad,
  .right-sidebar-ad {
    display: none;
  }

  .layout-container {
    max-width: 600px;
    padding: 0 16px;
  }

  .layout-container .header-content {
    max-width: 600px;
    padding: 0 16px;
  }
}

/* =================== OPTIMIZACIÓN SOLO PARA MÓVILES =================== */
/* SOLO afecta pantallas menores a 768px - PC sin cambios */

@media only screen and (max-width: 767px) {

  /* LAYOUT NATIVO MÓVIL - Como YouTube */
  html {
    font-size: 14px !important;
    /* Tamaño nativo móvil */
    -webkit-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
    text-size-adjust: none !important;
  }

  body {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* HEADER NATIVO MÓVIL */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #2f3336 !important;
  }

  .header-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Compensar header fijo */
  .main-content {
    margin-top: 60px !important;
    padding-bottom: 80px !important;
  }

  /* NAVEGACIÓN NATIVA MÓVIL */
  .nav-tabs {
    display: flex !important;
    height: 60px !important;
    background: #000 !important;
  }

  .nav-tab {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 60px !important;
    padding: 8px 4px !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
  }

  .nav-tab.active {
    color: #b026ff !important;
    border-bottom-color: #b026ff !important;
  }

  .nav-tab i {
    font-size: 1.2rem !important;
    margin-bottom: 2px !important;
    display: block !important;
  }

  .nav-tab span {
    font-size: 0.65rem !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
  }

  /* FEED NATIVO MÓVIL */
  .feed-container {
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
  }

  .post-card {
    padding: 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid #2f3336 !important;
    border-radius: 0 !important;
    background: #000 !important;
    font-size: 0.9rem !important;
  }

  .post-header {
    gap: 8px !important;
    margin-bottom: 8px !important;
    align-items: flex-start !important;
  }

  .user-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .post-author {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #e1e8ed !important;
  }

  .post-timestamp {
    font-size: 0.8rem !important;
    color: #71767b !important;
    margin-left: 4px !important;
  }

  .post-content {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin: 8px 0 12px 0 !important;
    color: #e1e8ed !important;
  }

  /* ACCIONES NATIVAS MÓVIL */
  .post-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 0 0 !important;
    margin-top: 8px !important;
    max-width: 320px !important;
  }

  .post-action {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    color: #71767b !important;
    transition: all 0.2s ease !important;
    min-height: 36px !important;
    touch-action: manipulation !important;
  }

  .post-action:active {
    transform: scale(0.95) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .post-action i {
    font-size: 1rem !important;
  }

  .post-action span {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
  }

  /* FORMULARIO NATIVO MÓVIL */
  .post-form {
    padding: 12px !important;
    gap: 8px !important;
    background: #000 !important;
    border-bottom: 1px solid #2f3336 !important;
    flex-direction: column !important;
  }

  .form-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .post-input {
    font-size: 16px !important;
    padding: 12px !important;
    min-height: 80px !important;
    line-height: 1.4 !important;
    border-radius: 8px !important;
    background: #000 !important;
    border: 1px solid #2f3336 !important;
    color: #e1e8ed !important;
    resize: none !important;
    width: 100% !important;
  }

  .post-input:focus {
    border-color: #b026ff !important;
    outline: none !important;
  }

  .form-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 8px 0 !important;
  }

  .form-right {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 8px 0 !important;
  }

  .char-count {
    font-size: 0.8rem !important;
    color: #71767b !important;
    margin-right: 8px !important;
  }

  .post-btn {
    min-height: 44px !important;
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
    border-radius: 22px !important;
    font-weight: 600 !important;
    background: #b026ff !important;
    color: white !important;
    border: none !important;
    white-space: nowrap !important;
    touch-action: manipulation !important;
  }

  /* Optimizaciones adicionales para formulario */
  .create-post {
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
    border-bottom: 1px solid #2f3336 !important;
  }

  .user-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
  }

  /* Mejorar contraste y legibilidad */
  .post-input::placeholder {
    color: #71767b !important;
    font-size: 16px !important;
  }

  /* Formulario simplificado sin botones de acción */

  /* Contador de caracteres más visible */
  .char-count {
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    background: rgba(176, 38, 255, 0.1) !important;
  }

  /* CONTENIDO PRINCIPAL */
  .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  /* TRENDING NATIVO MÓVIL */
  .trending-topic {
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #2f3336 !important;
    background: #000 !important;
  }

  .trending-hashtag {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    font-weight: 700 !important;
    color: #e1e8ed !important;
  }

  .trending-stats {
    font-size: 0.8rem !important;
    color: #71767b !important;
  }

  /* Modales más grandes en móvil */
  .modal-overlay {
    padding: 1rem !important;
  }

  .post-detail-modal {
    width: 95% !important;
    max-width: none !important;
    margin: 1rem !important;
    border-radius: 16px !important;
  }

  /* BOTONES NATIVOS MÓVIL */
  .btn {
    min-height: 44px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 22px !important;
    font-weight: 600 !important;
    touch-action: manipulation !important;
  }

  .btn:active {
    transform: scale(0.95) !important;
  }

  /* Scroll más suave */
  .feed-container {
    -webkit-overflow-scrolling: touch !important;
  }

  /* INPUTS NATIVOS MÓVIL */
  input,
  textarea,
  select {
    font-size: 16px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    min-height: 44px !important;
    background: #000 !important;
    border: 1px solid #2f3336 !important;
    color: #e1e8ed !important;
    -webkit-appearance: none !important;
  }

  /* Loading más visible */
  .loading {
    font-size: 1.2rem !important;
    padding: 2rem !important;
  }

  /* FAB NATIVO MÓVIL */
  .error-report-fab {
    bottom: 20px !important;
    right: 16px !important;
    width: 56px !important;
    height: 56px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    z-index: 999 !important;
  }

  .error-report-fab i {
    font-size: 20px !important;
  }

  /* TOAST NATIVO MÓVIL */
  .toast-container {
    top: auto !important;
    bottom: 80px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
  }

  .toast {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(20px) !important;
  }

  /* Ajustar mensaje de límite en móviles */
  .toast.info div {
    font-size: clamp(12px, 2.5vw, 14px) !important;
  }

  /* COMENTARIOS NATIVOS MÓVIL */
  .comment-card {
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #2f3336 !important;
    background: #000 !important;
  }

  .comment-author {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #e1e8ed !important;
  }

  .comment-content {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin: 6px 0 !important;
    color: #e1e8ed !important;
  }

  /* Mejor espaciado general */
  .container {
    padding: 0 8px !important;
  }

  /* HASHTAGS NATIVOS MÓVIL */
  .hashtag {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 16px !important;
    margin: 2px 4px !important;
    font-weight: 500 !important;
    background: rgba(176, 38, 255, 0.1) !important;
    color: #b026ff !important;
    border: 1px solid rgba(176, 38, 255, 0.2) !important;
  }

  /* PROFILE NATIVO MÓVIL */
  .profile-header {
    padding: 16px !important;
    background: #000 !important;
  }

  .profile-avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .profile-name {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #e1e8ed !important;
  }

  .profile-stats {
    gap: 20px !important;
    margin-top: 12px !important;
  }

  .stat-item {
    text-align: center !important;
    min-width: 50px !important;
  }

  .stat-number {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #e1e8ed !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
    color: #71767b !important;
  }
}

/* =================== ESTILOS PARA REPORTES DE ERRORES =================== */

.error-reports-container {
  margin-top: 15px;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 8px;
  background: #111;
}

.error-report-item {
  border-bottom: 1px solid #333;
  padding: 15px;
  background: #1a1a1a;
  transition: background 0.3s ease;
}

.error-report-item:hover {
  background: #222;
}

.error-report-item.resolved {
  opacity: 0.7;
  background: #0d4f0d;
}

.error-report-item.pending {
  border-left: 4px solid #ff6b35;
}

.error-report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.error-report-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.error-type {
  background: #ff6b35;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.error-date {
  color: #888;
  font-size: 0.9rem;
}

.error-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.error-status.pending {
  background: #ff6b35;
  color: white;
}

.error-status.resolved {
  background: #28a745;
  color: white;
}

.error-report-actions {
  display: flex;
  gap: 8px;
}

.error-report-content {
  color: #ccc;
  line-height: 1.4;
}

.error-report-content p {
  margin: 5px 0;
}

.error-report-content strong {
  color: #fff;
}

.no-reports {
  text-align: center;
  padding: 30px;
  color: #28a745;
  font-size: 1.1rem;
}

.no-reports i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.error-message {
  text-align: center;
  padding: 20px;
  color: #dc3545;
  background: #2d1b1b;
  border-radius: 8px;
  margin: 10px;
}

.loading {
  text-align: center;
  padding: 20px;
  color: #ff6b35;
}

/* Modal de detalles de reporte de error */
.error-report-modal {
  max-width: 600px;
  width: 90%;
}

.error-details {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 20px;
}

.detail-row {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-row label {
  font-weight: bold;
  color: #ff6b35;
  min-width: 150px;
  margin-right: 15px;
}

.detail-row span {
  color: #ccc;
  flex: 1;
}

.description-text {
  background: #222;
  padding: 10px;
  border-radius: 4px;
  color: #fff;
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
}

.system-info {
  background: #222;
  padding: 10px;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.system-info pre {
  color: #fff;
  margin: 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.status.resolved {
  color: #28a745;
  font-weight: bold;
}

.status.pending {
  color: #ff6b35;
  font-weight: bold;
}

/* =================== ESTILOS PARA POSTS CON LIKE =================== */

/* Estilos para la sección de posts con like */
.liked-posts-container {
  width: 100%;
}

.liked-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px;
  background: #16181c;
  border-radius: 12px;
  border: 1px solid #2f3336;
}

.liked-posts-header h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.liked-posts-header h3 i {
  color: #e91e63;
  font-size: 16px;
}

.liked-count {
  color: #8899a6;
  font-size: 14px;
  background: #2f3336;
  padding: 4px 12px;
  border-radius: 20px;
}

.liked-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =================== MODAL DE SEGUIDORES/SEGUIDOS =================== */
.followers-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.followers-modal-content {
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.followers-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #2f3336;
}

.followers-modal-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: #8899a6;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.followers-list {
  overflow-y: auto;
  max-height: calc(80vh - 80px);
  padding: 8px;
}

.follower-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follower-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.follower-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #b026ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.follower-info {
  flex: 1;
  min-width: 0;
}

.follower-username {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.follower-handle {
  color: #8899a6;
  font-size: 14px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #8899a6;
  font-size: 16px;
}

/* =================== ESTILOS DE ENCUESTAS =================== */
.poll-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2f3336;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.poll-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.poll-header h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.btn-close-poll {
  background: transparent;
  border: none;
  color: #8899a6;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-close-poll:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.poll-option-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.poll-option-input:focus {
  outline: none;
  border-color: #b026ff;
  background: rgba(255, 255, 255, 0.08);
}

.poll-option-input::placeholder {
  color: #71767b;
}

.poll-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.poll-duration label {
  color: #8899a6;
  font-size: 14px;
}

.poll-duration select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.poll-duration select:focus {
  outline: none;
  border-color: #b026ff;
}

.poll-container-display {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2f3336;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.poll-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.poll-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #b026ff;
}

.poll-option-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.poll-option-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}

.poll-option-fill {
  background: linear-gradient(90deg, #b026ff, #00ba7c);
  height: 100%;
  transition: width 0.3s ease;
}

.poll-option-stats {
  color: #8899a6;
  font-size: 13px;
}

.poll-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #2f3336;
  color: #8899a6;
  font-size: 13px;
}

.form-left {
  display: flex;
  gap: 8px;
}

.btn-icon {
  background: transparent;
  border: none;
  color: #b026ff;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: rgba(29, 155, 240, 0.1);
  color: #1a8cd8;
}

/* =================== FEED DROPDOWN MENU =================== */
.feed-header {
  padding: 15px 20px;
  border-bottom: 1px solid #2f3336;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s;
  user-select: none;
}

.feed-dropdown:hover {
  background: rgba(255, 255, 255, 0.1);
}

.feed-dropdown h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.dropdown-arrow {
  font-size: 14px;
  color: #b026ff;
  transition: transform 0.2s;
}

.feed-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 60px;
  left: 20px;
  background: #000000;
  border: 1px solid #2f3336;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  width: 260px;
  display: none;
  z-index: 1000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  color: #e7e9ea;
  font-size: 15px;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-item i {
  width: 24px;
  text-align: center;
  color: #8899a6;
  font-size: 16px;
}

.dropdown-item.active {
  color: #b026ff;
  font-weight: 600;
  background: rgba(176, 38, 255, 0.05);
}

.dropdown-item.active i {
  color: #b026ff;
}

.dropdown-divider {
  height: 1px;
  background: #2f3336;
  margin: 4px 0;
}

/* Mobile Responsiveness for Menu */
@media (max-width: 600px) {
  .feed-header {
    padding: 12px 16px;
  }

  .feed-dropdown h2 {
    font-size: 18px;
  }

  .dropdown-menu {
    width: 240px;
    left: 16px;
    top: 55px;
  }

  .dropdown-item {
    padding: 16px;
    /* Larger touch target */
  }
}

/* =================== MODAL STYLES =================== */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 2000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.8);
  /* Black w/ opacity */
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #000000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
  position: relative;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #2f3336;
  padding-bottom: 15px;
}

.modal-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.close {
  color: #8899a6;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: #b026ff;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #e7e9ea;
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 12px;
  color: #ffffff;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #b026ff;
}

.recovery-key-display {
  background: rgba(176, 38, 255, 0.1);
  border: 1px dashed #b026ff;
  padding: 15px;
  border-radius: 8px;
  color: #b026ff;
  font-family: monospace;
  font-size: 18px;
  text-align: center;
  margin: 10px 0;
  word-break: break-all;
}

/* =================== GROUPS LIST =================== */
.groups-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #16181c;
  border-radius: 12px;
  border: 1px solid #2f3336;
  transition: all 0.2s ease;
}

.group-item:hover {
  background: #1a1d21;
  border-color: #b026ff;
  transform: translateY(-2px);
}

.group-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.group-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176, 38, 255, 0.1);
  color: #b026ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.group-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.group-stats {
  font-size: 0.85rem;
  color: #8899a6;
}

.group-action {
  white-space: nowrap;
}

/* =================== BURGER MENU (SIDEBAR) =================== */
.burger-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0 12px;
  z-index: 1001;
}

@media (max-width: 600px) {
  .burger-btn {
    display: flex !important;
  }

  .desktop-only-btn {
    display: none !important;
  }
}

.desktop-only-btn {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #ff4444;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.desktop-only-btn:hover {
  background: rgba(255, 68, 68, 0.2);
  border-color: #ff4444;
  transform: translateY(-1px);
}

.desktop-only-btn i {
  font-size: 1.1rem;
}

.btn-info-sidebar {
  background: rgba(176, 38, 255, 0.1);
  border: 1px solid rgba(176, 38, 255, 0.2);
  color: #b026ff;
}

.btn-info-sidebar:hover {
  background: rgba(176, 38, 255, 0.2);
  border-color: #b026ff;
}

.burger-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.burger-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.burger-menu-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: rgba(22, 22, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  z-index: 10001;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.burger-menu-panel.active {
  right: 0;
}

.burger-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.burger-menu-header h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.burger-menu-header .close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.burger-menu-header .close-btn:hover {
  color: var(--primary-color);
}

.burger-menu-content {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
}

.burger-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.burger-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.burger-item .burger-icon {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(144, 202, 249, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.1rem;
}

.burger-item .burger-text {
  font-weight: 500;
  font-size: 1.05rem;
}

.burger-item.danger .burger-icon {
  background: rgba(239, 83, 80, 0.15);
  color: var(--error-color);
}

.burger-item.danger:hover {
  background: rgba(239, 83, 80, 0.1);
  border-color: rgba(239, 83, 80, 0.3);
}

.burger-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px 0;
}