/* Variables de color */
:root {

  --darkl: #313141;
  --dark: #1e1e2c;
  --darker: #151521;
  --darkest: #0e0e16;

  --primary: #0d6efd;
  --secondary: #6c757d;
  --accent: #4ecdc4;
  --light: #e9ecef;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #2d2d3d;
  --red-500: #ef4444;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-900: #1e3a8a;
  --green-500: #10b981;
}


.bg-dark-light {
  background-color: var(--darkl);
}
.bg-dark {
  background-color: var(--dark);
}
.bg-darker {
  background-color: var(--darker);
}
.bg-darkest {
  background-color: var(--darkest);
}

/* Estilos base */
html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--darkest);
  color: white;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  font-size: 14px;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-800);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* Enlaces y textos */
a {
  text-decoration: none;
  color: white;
  transition: color 0.2s;
}

a:hover {
  text-decoration: none;
  color: var(--primary);
}

.text-white {
  color: white;
}

.text-primary {
  color: var(--primary);
}

.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-red-500 {
  color: var(--red-500);
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

/* Layout principal */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

.flex-col {
  flex-direction: column;
}

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.space-x-1 > * + * {
  margin-left: 0.25rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.sidebar-nav {
  margin-top: 2rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.2s;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 5px;
  border-radius: 0;
}

.sidebar-link:hover {
  color: white;
}

.sidebar-link.active,
.sidebar-link.selected,
.sidebar-link.text-white {
  color: white;
}

.sidebar-link [class^="icon-"],
.sidebar-link [class*=" icon-"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  color: inherit;
}

.sidebar-divider {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  margin-top: 2rem;
}

/* Header móvil */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  border-bottom: 1px solid var(--gray-800);
  padding: 0.75rem 1rem;
  z-index: 50;
  display: none;
}

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }
}

/* Botón de menú móvil */
.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--primary);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

.mobile-menu-btn .icon-svg {
  margin-right: 0;
  width: 1.75em;
  height: 1.75em;
}

/* Menú móvil rediseñado */
.mobile-menu-redesign {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-redesign.hidden {
  display: none;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-800);
  position: sticky;
  top: 0;
  background-color: var(--dark);
  z-index: 5;
}

.mobile-menu-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gray-400);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-close .icon-svg {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0;
}

.mobile-menu-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu-section {
  margin-bottom: 2rem;
}

.mobile-menu-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s;
  text-decoration: none;
  color: white;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  background-color: rgba(13, 110, 253, 0.1);
}

.mobile-menu-item.active {
  color: var(--primary);
}

.mobile-menu-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 1rem;
  flex-shrink: 0;
}

.mobile-menu-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.mobile-menu-item.active .mobile-menu-item-icon {
  background-color: rgba(13, 110, 253, 0.2);
}

.mobile-menu-item-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-item-title {
  font-weight: 500;
  font-size: 1rem;
}

.mobile-menu-item-badge {
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  min-width: 1.5rem;
  text-align: center;
}

/* Navegación móvil */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  border-top: 1px solid var(--gray-800);
  padding: 0.5rem 0;
  z-index: 50;
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}

.mobile-nav-link {
  padding: 0.75rem 0.5rem;
  color: var(--gray-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-link .icon-svg {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0;
  margin-bottom: 0.25rem;
}

.mobile-nav-link span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Animaciones para el menú móvil */
.mobile-menu-redesign {
  animation: slideIn 0.3s ease-out;
}

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

.mobile-menu-item {
  animation: fadeIn 0.3s ease-out;
  animation-fill-mode: both;
}

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

/* Aplicar retraso a los elementos del menú para crear un efecto en cascada */
.mobile-menu-item:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-menu-item:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-menu-item:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-menu-item:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-menu-item:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-menu-item:nth-child(6) {
  animation-delay: 0.3s;
}
.mobile-menu-item:nth-child(7) {
  animation-delay: 0.35s;
}
.mobile-menu-item:nth-child(8) {
  animation-delay: 0.4s;
}

/* Contenido principal */
.main-content {
  flex: 1;
  margin-left: 16rem;
  padding: 1rem 2rem;
  min-height: 100vh;
  overflow-y: auto;
  max-width: calc(100% - 16rem);
}

.custom-scrollbar {
  overflow-y: auto;
}

/* Tarjetas y posts */
.card {
  background-color: var(--dark);
  border: 1px solid var(--gray-800);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.hover-card {
  transition: border-color 0.2s;
}

.hover-card:hover {
  border-color: var(--gray-600);
}

.card-header {
  border-bottom: 1px solid var(--gray-800);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-footer {
  border-top: 1px solid var(--gray-800);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Avatares y imágenes */
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  overflow: hidden;
  background-color: var(--gray-700);
}

.avatar-lg {
  width: 6rem;
  height: 6rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.w-full {
  width: 100%;
}

.h-auto {
  height: auto;
}

.max-h-64 {
  max-height: 16rem;
}

.object-cover {
  object-fit: cover;
}

/* Formularios */
.form-control {
  width: 100%;
  background-color: var(--gray-800);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  resize: none;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

/* Botones */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
}

.btn-primary:hover {
  background-color: var(--blue-600);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray-600);
  color: white;
  border-radius: 9999px;
}

.btn-outline:hover {
  background-color: var(--gray-800);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

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

.block {
  display: block;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.top-2 {
  top: 0.5rem;
}

.right-0 {
  right: 0;
}

.right-2 {
  right: 0.5rem;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.left-3 {
  left: 0.75rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pl-10 {
  padding-left: 2.5rem;
}

.m-1 {
  margin: 0.25rem;
}

.m-2 {
  margin: 0.5rem;
}

.m-3 {
  margin: 0.75rem;
}

.m-4 {
  margin: 1rem;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

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

.mt-3 {
  margin-top: 0.75rem;
}

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

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

.mt-16 {
  margin-top: 4rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

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

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

.mb-3 {
  margin-bottom: 0.75rem;
}

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

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-4 {
  margin-left: 1rem;
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.min-w-0 {
  min-width: 0;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-24 {
  height: 6rem;
}

.w-3 {
  width: 0.75rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-24 {
  width: 6rem;
}

.w-64 {
  width: 16rem;
}

.w-80 {
  width: 20rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-600 {
  border-color: #4b5563;
}

.border-gray-800 {
  border-color: var(--gray-800);
}

.bg-dark {
  background-color: var(--dark);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-gray-700 {
  background-color: var(--gray-700);
}

.bg-gray-800 {
  background-color: var(--gray-800);
}

.bg-opacity-10 {
  background-opacity: 0.1;
}

.bg-opacity-70 {
  background-opacity: 0.7;
}

.bg-opacity-80 {
  background-opacity: 0.8;
}

.bg-opacity-90 {
  background-opacity: 0.9;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

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

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}

.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:bg-gray-700:hover {
  background-color: #374151;
}

.hover\:bg-gray-800:hover {
  background-color: var(--gray-800);
}

.hover\:bg-blue-600:hover {
  background-color: var(--blue-600);
}

.hover\:bg-opacity-10:hover {
  background-opacity: 0.1;
}

.hover\:bg-opacity-20:hover {
  background-opacity: 0.2;
}

.hover\:bg-opacity-100:hover {
  background-opacity: 1;
}

.hover\:text-white:hover {
  color: white;
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:text-red-500:hover {
  color: var(--red-500);
}

.focus\:outline-none:focus {
  outline: none;
}

.focus\:ring-1:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.focus\:ring-primary:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

/* Divisores */
.divide-y > * + * {
  border-top-width: 1px;
  border-top-style: solid;
}

.divide-gray-800 > * + * {
  border-color: var(--gray-800);
}

/* Media queries */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding-top: 5rem;
    padding-bottom: 4rem;
    max-width: 100%;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-nav {
    display: block;
  }

  .md\:hidden {
    display: block;
  }

  .md\:block {
    display: none;
  }

  .md\:flex {
    display: none;
  }

  .md\:ml-64 {
    margin-left: 0;
  }

  .md\:mt-0 {
    margin-top: 0;
  }

  .md\:p-8 {
    padding: 1rem;
  }

  .md\:w-80 {
    width: 100%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:relative {
    position: relative;
  }
}

@media (min-width: 769px) {
  .md\:hidden {
    display: none !important;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:ml-64 {
    margin-left: 16rem;
  }

  .md\:mt-0 {
    margin-top: 0;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:w-80 {
    width: 20rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:max-w-md {
    max-width: 28rem;
  }

  .md\:relative {
    position: relative;
  }
}

/* Estilos para estados */
.text-success {
  color: var(--green-500);
}

.text-danger {
  color: var(--red-500);
}

.text-warning {
  color: #f59e0b;
}

/* Estilos para los iconos SVG */
.icon-svg {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  margin-right: 0.75rem;
  flex-shrink: 0;
  color: var(--primary);
  vertical-align: -0.125em;
}

.sidebar-link:hover .icon-svg,
.sidebar-link.active .icon-svg,
.sidebar-link.text-white .icon-svg {
  color: white;
}

.mobile-nav-link .icon-svg {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0;
  margin-bottom: 0.25rem;
  color: var(--gray-400);
}

.mobile-nav-link.active .icon-svg {
  color: var(--primary);
}

/* Ajustes para el cuadro de texto en index */
.post-composer-textarea {
  width: 100%;
  min-height: 80px;
  background-color: var(--gray-800);
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: white;
  resize: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  max-width: 100%;
}

/* Ajustes para la página de mensajes */
.message-layout {
  display: flex;
  height: calc(100vh - 0px);
  overflow: hidden;
  background-color: var(--darker);
  width: 100%;
}

.chat-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
  background-color: var(--darker);
  max-width: calc(100% - 320px);
}

@media (max-width: 768px) {
  .chat-window {
    max-width: 100%;
    height: calc(100vh - 120px);
  }

  .message-layout {
    height: calc(100vh - 120px);
  }

  .chat-messages {
    max-height: calc(100vh - 200px);
  }
}

/* Ajustes para la página de feed */
.creators-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .creators-list {
    grid-template-columns: 1fr;
  }
}

.creator-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark), var(--darker));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--gray-800);
  padding: 15px;
}

.creator-img {
  flex: 0 0 60px;
  background-color: var(--darkest);
  overflow: hidden;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.filter-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.filter-section input,
.filter-section select {
  padding: 12px 16px;
  border-radius: 25px;
  border: 1px solid var(--gray-800);
  background-color: var(--darker);
  color: #ffffff;
  outline: none;
  transition: background-color 0.3s, border-color 0.3s;
  font-size: 14px;
  min-width: 180px;
}

.filter-section input:focus,
.filter-section select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.filter-button {
  cursor: pointer;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  transition: background-color 0.3s;
}

.filter-button:hover {
  background-color: var(--blue-600);
}

/* Categorías en feed */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  background-color: var(--gray-800);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: background-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.category-card:hover {
  background-color: var(--gray-700);
  transform: translateY(-3px);
}
