* {
  margin: 0;
  font-family: "Comfortaa", cursive;
}

body {
  background: #fff;
}

.centerFlex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.unread-badge2 {
  background-color: #f9ca07;
  color: #44057a;
  border-radius: 50%;
  width: 22px;
  height: 22px;

  margin-right: 14px;

  font-size: 12px;
  font-weight: bold;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-left: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 800px) {
  #flex2 {
    flex: 2 !important;
  }

  .btn-login {
    padding: 0px 3px !important;
    font-size: 12px !important;
  }
  .sombra {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ant-card-body {
    padding: 7px !important;
  }
}
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
  }

  .sombra {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
  }

  .sombra {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px;
  }
  .sombra {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
  }
  .sombra {
    padding-left: 25px;
    padding-right: 25px;
  }
}
.item {
  flex: 0 0 calc(15.33% - 20px); /* Ancho del 33.33% para cada columna, con un pequeño espacio entre ellas */
  /* Relleno para espacio interno */
  margin-right: 10px;
}

.numerosSeleccionadoHoy {
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: radial-gradient(circle at 50% 25%, #fff, #bbb);
  border-radius: 100%;
  border: 1px solid #c9c9c9;
  font-size: 1.15rem;
}

.sombra {
  -webkit-box-shadow: 0px 3px 43px 0px rgba(12, 0, 255, 0.1);
  box-shadow: 0px 3px 43px 0px rgba(12, 0, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 30px;

  padding-top: 30px;
  padding-bottom: 30px;
}

.a-rose:hover {
  color: #5949b3 !important;
}

.ant-picker-input input {
  text-align: center;
}

#diaSemana .ant-table-cell {
  text-align: center !important;
}
#diaSemana .ant-table-cell {
  border: #f2f1f1 1px solid;
}

.header-active {
  position: fixed;
  top: 32px; /* Position below InfoBar on desktop */
  left: 0px;
  width: 100%;
  z-index: 99;
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  animation-name: fadeInDown;
  -webkit-animation-name: fadeInDown;
  -moz-animation-name: fadeInDown;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
}

/* Adjust header position for mobile when InfoBar is present */
@media (max-width: 480px) {
  .header-active {
    top: 60px; /* Position below InfoBar on small mobile */
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .header-active {
    top: 50px; /* Position below InfoBar on tablet/large mobile */
  }
}

/* Estilos para el selector de sorteo con búsqueda */
.ant-select-selector {
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.ant-select-focused .ant-select-selector {
  border-color: #ec1379 !important;
  box-shadow: 0 0 0 2px rgba(236, 19, 121, 0.2) !important;
}

.ant-select-dropdown {
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.ant-select-item-option-selected {
  background-color: rgba(236, 19, 121, 0.1) !important;
}

.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
  background-color: rgba(236, 19, 121, 0.05) !important;
}

.ant-select-item {
  transition: all 0.2s ease;
}

.ant-select-item:hover {
  background-color: rgba(236, 19, 121, 0.05) !important;
}

/* Estilos simplificados para las coincidencias */
.coincidence-badge {
  font-weight: bold !important;
}

/* Contenedor simple para la insignia de coincidencia */
.coincidence-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

/* Texto de coincidencia - más simple */
.coincidence-text {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Estilos mejorados para el selector de vista */
.view-mode-selector {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 4px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-mode-option {
  padding: 6px 10px;
  color: #666;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-mode-option:hover {
  background-color: rgba(236, 19, 121, 0.05);
}

.view-mode-option.active-view {
  color: #ec1379;
  font-weight: bold;
}

.view-switch {
  margin: 0 10px;
}

.view-switch .ant-switch-checked {
  background-color: #ec1379;
}

/* Estilos para las tarjetas de resultados */
.result-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: none;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(68, 5, 122, 0.15);
}

.result-card .ant-card-cover {
  padding: 0;
  overflow: hidden;
}

.result-card .ant-card-body {
  padding: 16px;
}

.result-card .ant-card-actions {
  background-color: #f9f9f9;
  border-top: 1px solid #f0f0f0;
}

/* Estilos mejorados para el logo en dispositivos móviles */
.mobile-friendly-logo {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative; /* Importante para posicionamiento absoluto */
}

.mobile-friendly-logo .ant-image {
  position: relative;
  z-index: 2;
  display: block !important;
}

.mobile-friendly-logo .ant-image-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* Estilos específicos para la tabla en móvil */
.ant-table .mobile-friendly-logo {
  height: 80px;
}

/* Estilos específicos para las tarjetas */
.card-lottery-logo {
  height: 100px;
  background: linear-gradient(135deg, #f9f0f6, #f5e6f0);
  border-bottom: 1px solid #f0e0eb;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.card-lottery-logo .mobile-friendly-logo {
  height: 100%;
  width: 100%;
}

/* Ajustes específicos para móviles */
@media (max-width: 576px) {
  .ant-table .mobile-friendly-logo {
    height: 60px;
  }

  .card-lottery-logo {
    height: 120px;
  }

  /* Hack para forzar la visualización en Safari iOS */
  .mobile-friendly-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

.lottery-image-root {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important; /* Asegurar que ocupe todo el ancho disponible */
}

.lottery-image-root .ant-image {
  max-width: 140px;
  max-height: 120px;
  width: auto !important; /* Importante para dispositivos móviles */
  height: auto !important; /* Importante para dispositivos móviles */
}

.lottery-image-root .ant-image-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.result-card:hover .ant-image-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.card-date {
  font-size: 14px;
  color: #666;
  text-align: center;
  font-weight: 500;
}

.card-numbers {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  flex-wrap: wrap;
}

.card-coincidences {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.coincidence-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

/* Botón de días siguientes */
.next-days-button {
  background: linear-gradient(90deg, #ec1379, #d11070) !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(236, 19, 121, 0.3) !important;
  transition: all 0.3s ease !important;
}

.next-days-button:hover {
  background: linear-gradient(90deg, #d11070, #ec1379) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(236, 19, 121, 0.4) !important;
}

/* Ajustes responsivos para las tarjetas */
@media (max-width: 576px) {
  .result-card .ant-card-body {
    padding: 12px;
  }

  .card-numbers .numerosSeleccionado,
  .card-numbers .numerosSeleccionadoHoy {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .next-days-button {
    font-size: 12px;
    height: 32px;
    padding: 0 8px;
  }

  .card-lottery-logo {
    height: 120px;
    padding: 10px;
  }

  .mobile-friendly-logo .ant-image {
    max-width: 90% !important;
    max-height: 90% !important;
  }
}

/* Estilos para la paginación de tarjetas */
.cards-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
}

.cards-pagination .ant-pagination-item-active {
  border-color: #ec1379;
}

.cards-pagination .ant-pagination-item-active a {
  color: #ec1379;
}

.cards-pagination .ant-pagination-item:hover {
  border-color: #ec1379;
}

.cards-pagination .ant-pagination-item:hover a {
  color: #ec1379;
}

.cards-pagination
  .ant-pagination-options
  .ant-select-focused
  .ant-select-selector {
  border-color: #ec1379;
}

.cards-pagination .ant-pagination-options-quick-jumper input:focus {
  border-color: #ec1379;
  box-shadow: 0 0 0 2px rgba(236, 19, 121, 0.2);
}

.cards-pagination .ant-select-item-option-selected {
  color: #ec1379;
  font-weight: 600;
}

/* Ajustes responsivos para la paginación */
@media (max-width: 576px) {
  .cards-pagination {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cards-pagination .ant-pagination-options {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* Estilos para el modal de días siguientes */
.next-days-modal .ant-modal-content {
  border-radius: 12px;
  overflow: hidden;
}

.next-days-modal .ant-modal-header {
  background: linear-gradient(90deg, #44057a, #5a0a9e);
  padding: 16px 24px;
  border-bottom: none;
}

.next-days-modal .ant-modal-title {
  color: white;
  font-weight: 600;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.next-days-modal .ant-modal-body {
  padding: 20px;
}

.next-days-modal .ant-modal-footer {
  border-top: none;
  padding: 0 24px 24px;
}

.modal-close-button {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ec1379, #d11070) !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(236, 19, 121, 0.3) !important;
}

.modal-close-button:hover {
  background: linear-gradient(90deg, #d11070, #ec1379) !important;
  box-shadow: 0 4px 8px rgba(236, 19, 121, 0.4) !important;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.day-result-card {
  background-color: #f9f9f9;
  border-radius: 8px;
}

.day-result-card .ant-card-head {
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
  min-height: 40px;
}

.day-result-card .ant-card-head-title {
  padding: 8px 0;
}

.day-date {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.day-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px 0;
}

.modal-number {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
}

/* Estilos para el logo en el modal */
.modal-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  width: 50px;
  height: 50px;
}

.modal-logo-image {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
}

.modal-logo-image .ant-image {
  max-width: 40px;
  max-height: 40px;
}

.modal-logo-image .ant-image-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Ajustes específicos para móviles */
@media (max-width: 576px) {
  .modal-logo-container {
    width: 40px;
    height: 40px;
  }

  .modal-logo-image .ant-image {
    max-width: 30px;
    max-height: 30px;
  }
}

/* Adjust Header padding for InfoBar */
@media (max-width: 480px) {
  .ant-layout-header {
    padding-top: 60px !important; /* Space for InfoBar on small mobile */
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .ant-layout-header {
    padding-top: 50px !important; /* Space for InfoBar on tablet/large mobile */
  }
}

@media (min-width: 769px) {
  .ant-layout-header {
    padding-top: 32px !important; /* Space for InfoBar on desktop */
  }
}

/* Ensure content doesn't get hidden behind fixed InfoBar and Header */
.ant-layout-content {
  padding-top: 0;
}
/* Contenedor principal con perspectiva 3D */
.lottery-ball {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Esfera interior con color único coherente con la paleta del sitio */
.lottery-ball__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  
  /* Color principal del sitio #5949b3 con gradiente sutil */
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, 
      #5949b3 0%, 
      #4a3d9a 50%, 
      #3d3280 100%
    );
  
  /* Sombras para profundidad */
  box-shadow: 
    0 6px 20px rgba(89, 73, 179, 0.4),
    0 3px 10px rgba(0, 0, 0, 0.2),
    inset 0 2px 6px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Hover effects simples y elegantes */
.lottery-ball:hover {
  transform: translateY(-2px) scale(1.05);
}

.lottery-ball:hover .lottery-ball__inner {
  box-shadow: 
    0 8px 25px rgba(89, 73, 179, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.lottery-ball:focus-within .lottery-ball__inner {
  outline: 3px solid #1890ff;
  outline-offset: 2px;
}

/* Efecto de brillo superior fijo */
.lottery-ball__inner::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 25%;
  width: 35%;
  height: 25%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
}

/* Números con tipografía limpia y color fijo */
.lottery-ball__number {
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #ffffff;
  z-index: 3;
  position: relative;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.6);
}

/* Tamaños de bolas */
.lottery-ball--small {
  width: 45px;
  height: 45px;
}

.lottery-ball--small .lottery-ball__inner {
  width: 100%;
  height: 100%;
}

.lottery-ball--small .lottery-ball__number {
  font-size: 14px;
}

.lottery-ball--medium {
  width: 56px;
  height: 56px;
}

.lottery-ball--medium .lottery-ball__inner {
  width: 100%;
  height: 100%;
}

.lottery-ball--medium .lottery-ball__number {
  font-size: 16px;
}

.lottery-ball--large {
  width: 72px;
  height: 72px;
}

.lottery-ball--large .lottery-ball__inner {
  width: 100%;
  height: 100%;
}

.lottery-ball--large .lottery-ball__number {
  font-size: 22px;
}

/* Modo de alto contraste para accesibilidad */
@media (prefers-contrast: high) {
  .lottery-ball__inner {
    border-width: 3px;
    border-color: #000;
  }
  
  .lottery-ball__number {
    text-shadow: 
      3px 3px 0px #000,
      -1px -1px 0px #000,
      1px -1px 0px #000,
      -1px 1px 0px #000;
  }
}

/* Modo de movimiento reducido para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .lottery-ball {
    transition: none;
  }
  
  .lottery-ball:hover {
    transform: none;
  }
  
  .lottery-ball:hover .lottery-ball__inner {
    transform: none;
  }
}

/* Responsividad */
@media (max-width: 768px) {
  .lottery-ball--large {
    width: 56px;
    height: 56px;
  }
  
  .lottery-ball--large .lottery-ball__number {
    font-size: 18px;
  }
  
  .lottery-ball--medium {
    width: 40px;
    height: 40px;
  }
  
  .lottery-ball--medium .lottery-ball__number {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .lottery-ball {
    margin: 2px;
  }
  
  .lottery-ball--medium {
    width: 36px;
    height: 36px;
  }
  
  .lottery-ball--medium .lottery-ball__number {
    font-size: 12px;
  }
}/* Estilos modernos para la página Revisar Ticket */

/* Animaciones y transiciones globales */
.revisar-ticket-container {
  animation: fadeInUp 0.6s ease-out;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(89, 73, 179, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(89, 73, 179, 0.6), 0 0 30px rgba(89, 73, 179, 0.4);
  }
}

/* Tarjetas con efectos modernos */
.modern-card {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(89, 73, 179, 0.12) !important;
  border: 1px solid rgba(89, 73, 179, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%) !important;
  overflow: hidden;
  position: relative;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5949b3 0%, #ec038b 50%, #fea036 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(89, 73, 179, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(254, 160, 54, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.modern-card .ant-card-body {
  position: relative;
  z-index: 1;
}

.modern-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(89, 73, 179, 0.2) !important;
}

.modern-card:hover::before {
  opacity: 1;
}

/* Tarjeta principal con animación */
.main-card {
  animation: slideInLeft 0.8s ease-out;
}

/* Tarjeta de sorteo con efectos especiales optimizada */
.sorteo-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  animation: slideInRight 0.8s ease-out 0.2s both;
  transition: all 0.3s ease !important;
}

.sorteo-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.sorteo-card .ant-card-head {
  background: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 12px 16px !important;
  min-height: auto !important;
}

.sorteo-card .ant-card-head-title {
  color: #4B5563 !important;
  font-weight: 600 !important;
}

.sorteo-card .ant-card-body {
  padding: 16px !important;
}

/* Tarjeta del sorteo optimizada con diseño armonioso */
.sorteo-card-optimized {
  background: linear-gradient(135deg, 
    rgba(89, 73, 179, 0.03) 0%, 
    rgba(254, 160, 54, 0.02) 50%,
    rgba(236, 3, 139, 0.01) 100%);
  border: 1px solid rgba(89, 73, 179, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 
    0 8px 32px rgba(89, 73, 179, 0.08),
    0 2px 8px rgba(254, 160, 54, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sorteo-card-optimized::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(89, 73, 179, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(254, 160, 54, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.sorteo-card-optimized > * {
  position: relative;
  z-index: 1;
}

.sorteo-card-optimized:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 73, 179, 0.2);
  box-shadow: 
    0 12px 40px rgba(89, 73, 179, 0.12),
    0 4px 12px rgba(254, 160, 54, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sorteo-card-optimized .ant-card-head {
  background: linear-gradient(135deg, 
    rgba(89, 73, 179, 0.05) 0%, 
    rgba(254, 160, 54, 0.02) 100%);
  border-bottom: 1px solid rgba(89, 73, 179, 0.1);
  border-radius: 16px 16px 0 0;
  padding: 16px 20px;
}

.sorteo-card-optimized .ant-card-head-title {
  color: #5949b3 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.sorteo-card-optimized .ant-card-body {
  padding: 20px;
  background: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sorteo-card-optimized {
    border-radius: 12px;
    margin: 8px 0;
  }
  
  .sorteo-card-optimized .ant-card-head {
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
  }
  
  .sorteo-card-optimized .ant-card-body {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .sorteo-card-optimized {
    border-radius: 10px;
    margin: 6px 0;
  }
  
  .sorteo-card-optimized .ant-card-head {
    padding: 10px 12px;
    border-radius: 10px 10px 0 0;
  }
  
  .sorteo-card-optimized .ant-card-body {
    padding: 12px;
  }
}

/* Contenedor de números de lotería armonioso - OPTIMIZADO */
.lottery-numbers-container {
  background: linear-gradient(135deg, 
    rgba(89, 73, 179, 0.06) 0%, 
    rgba(254, 160, 54, 0.04) 100%);
  border-radius: 10px;
  /*padding: 12px; */
  margin-bottom: 12px;
  border: 1px solid rgba(89, 73, 179, 0.1);
  position: relative;
  overflow: hidden;
}

.lottery-numbers-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(89, 73, 179, 0.02), 
    transparent);
  animation: shimmer 2s infinite;
}

/* Contenedor de información del sorteo armonioso - OPTIMIZADO */
.sorteo-info-container {
  background: linear-gradient(135deg, 
    rgba(89, 73, 179, 0.04) 0%, 
    rgba(254, 160, 54, 0.02) 100%);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(89, 73, 179, 0.08);
  margin-top: 6px;
}

/* Bolas de lotería con colores armoniosos */
.lottery-ball-optimized {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.lottery-ball-optimized:hover {
  transform: scale(1.08) rotate(5deg);
  filter: brightness(1.1);
}

/* Contenedor de información del sorteo armonioso */
.sorteo-info-container {
  background: linear-gradient(135deg, 
    rgba(89, 73, 179, 0.04) 0%, 
    rgba(254, 160, 54, 0.02) 100%);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(89, 73, 179, 0.08);
  margin-top: 8px;
}

/* Colores armoniosos para las bolas de lotería - TODO PRIMARY PURPLE */
.lottery-ball.theme-primary {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

.lottery-ball.theme-secondary {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

.lottery-ball.theme-accent {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

.lottery-ball.theme-soft-purple {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

.lottery-ball.theme-warm-orange {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

.lottery-ball.theme-elegant-blue {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.3);
}

/* Animación shimmer para efectos sutiles */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lottery-numbers-container {
   /* padding: 12px; */
    margin-bottom: 12px;
  }
  
  .sorteo-info-container {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .lottery-numbers-container {
    
  }
  
  .sorteo-info-container {
    padding: 8px 10px;
  }
}

/* Combinaciones con animación escalonada */
.combination-card {
  animation: bounceIn 0.6s ease-out;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.combination-card:nth-child(1) { animation-delay: 0.1s; }
.combination-card:nth-child(2) { animation-delay: 0.2s; }
.combination-card:nth-child(3) { animation-delay: 0.3s; }
.combination-card:nth-child(4) { animation-delay: 0.4s; }
.combination-card:nth-child(5) { animation-delay: 0.5s; }

.combination-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(89, 73, 179, 0.15);
}

/* Inputs modernos */
.modern-input {
  border-radius: 12px !important;
  border: 2px solid #e8e8f0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%) !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.modern-input:hover {
  border-color: #5949b3 !important;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.1) !important;
}

.modern-input:focus {
  border-color: #5949b3 !important;
  box-shadow: 0 0 0 3px rgba(89, 73, 179, 0.1) !important;
  transform: scale(1.02);
  animation: glow 2s infinite !important;
}

/* Select moderno */
.modern-select .ant-select-selector {
  border-radius: 12px !important;
  border: 2px solid #e8e8f0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%) !important;
  height: 48px !important;
}

.modern-select:hover .ant-select-selector {
  border-color: #5949b3 !important;
  box-shadow: 0 4px 12px rgba(89, 73, 179, 0.1) !important;
}

.modern-select.ant-select-focused .ant-select-selector {
  border-color: #5949b3 !important;
  box-shadow: 0 0 0 3px rgba(89, 73, 179, 0.1) !important;
}

/* Botones modernos */
.modern-button {
  border-radius: 12px !important;
  height: 44px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.modern-button::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;
}

.modern-button:hover::before {
  left: 100%;
}

.modern-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(89, 73, 179, 0.3) !important;
}

.modern-button:active {
  transform: translateY(0);
}

/* Botón principal con gradiente primary-purple */
.primary-gradient-button {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(89, 73, 179, 0.3);
  position: relative;
  overflow: hidden;
}

.primary-gradient-button::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;
}

.primary-gradient-button:hover::before {
  left: 100%;
}

.primary-gradient-button:hover {
  background: linear-gradient(135deg, #4a3d9a 0%, #3d3280 100%) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(89, 73, 179, 0.4) !important;
}

.primary-gradient-button:active {
  transform: translateY(0);
}

/* Botón "Nueva Combinación" con color rosado */
.new-combination-button {
  background: linear-gradient(135deg, #E91E63 0%, #F06292 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.new-combination-button::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;
}

.new-combination-button:hover::before {
  left: 100%;
}

.new-combination-button:hover {
  background: linear-gradient(135deg, #C2185B 0%, #E91E63 100%) !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.4) !important;
}

.new-combination-button:active {
  transform: translateY(0) !important;
}

/* Botón secundario profesional con primary-purple */
.secondary-button {
  background: linear-gradient(135deg, rgba(89, 73, 179, 0.1) 0%, rgba(89, 73, 179, 0.05) 100%);
  border: 2px solid rgba(89, 73, 179, 0.2);
  color: #5949b3;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.secondary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(89, 73, 179, 0.1), transparent);
  transition: left 0.5s;
}

.secondary-button:hover::before {
  left: 100%;
}

.secondary-button:hover {
  background: linear-gradient(135deg, #5949b3 0%, #4a3d9a 100%);
  border-color: rgba(89, 73, 179, 0.4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(89, 73, 179, 0.2);
}

/* Resultados con animación */
.results-container {
  animation: fadeInUp 0.8s ease-out;
}

.result-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px !important;
  overflow: hidden;
  position: relative;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #52c41a 0%, #389e0d 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.result-card.winner {
  animation: pulse 2s infinite !important;
  position: relative !important;
}

.result-card.winner::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, #faad14 0%, #fa8c16 100%);
}

.result-card.winner::after {
  content: '🎉';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  z-index: 2;
  animation: bounceIn 1s ease-out !important;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(89, 73, 179, 0.15);
}

/* Tags modernos */
.modern-tag {
  border-radius: 20px !important;
  padding: 4px 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modern-tag:hover {
  transform: scale(1.05);
}

/* Badge moderno */
.modern-badge {
  border-radius: 20px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  animation: pulse 2s infinite;
}

/* Efectos de hover para elementos interactivos */
.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.interactive-element:hover {
  transform: translateY(-2px);
}

/* Loader personalizado */
.custom-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(89, 73, 179, 0.3);
  border-radius: 50%;
  border-top-color: #5949b3;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Micro-interactions and feedback */
.feedback-success {
  animation: successPulse 0.6s ease-out;
}

.feedback-error {
  animation: errorShake 0.5s ease-out;
}

.feedback-loading {
  position: relative;
  overflow: hidden;
}

.feedback-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: loadingShimmer 1.5s infinite;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(82, 196, 26, 0.4); }
  100% { transform: scale(1); }
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes loadingShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Interactive hover states */
.interactive-hover {
  transition: all 0.3s ease;
}

.interactive-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Button click feedback */
.button-click-feedback {
  position: relative;
  overflow: hidden;
}

.button-click-feedback::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.button-click-feedback:active::after {
  width: 300px;
  height: 300px;
}

/* Estilos para inputs con validación profesional */
.number-input-valid {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%) !important;
  animation: inputSuccess 0.4s ease-out;
}

.number-input-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%) !important;
  animation: inputError 0.3s ease-out;
}

.number-input-duplicate {
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3) !important;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  animation: inputDuplicate 0.5s ease-out;
}

.number-input-neutral {
  border-color: #6B7280 !important;
  box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.15) !important;
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.02) 0%, rgba(156, 163, 175, 0.02) 100%) !important;
  transition: all 0.2s ease;
}

.number-input-neutral:hover {
  border-color: #5949b3 !important;
  box-shadow: 0 0 0 2px rgba(89, 73, 179, 0.2) !important;
}

@keyframes inputSuccess {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% { 
    transform: scale(1.02); 
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  }
}

@keyframes inputError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

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

/* Estilos para las marcas de verificación de números */
.verification-mark {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.verification-mark.correct {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  animation: correctPulse 0.6s ease-out;
}

.verification-mark.incorrect {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  animation: incorrectShake 0.5s ease-out;
}

.verification-mark.default {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

@keyframes correctPulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes incorrectShake {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(-2px) scale(1.1); }
  75% { transform: translateX(2px) scale(1.1); }
}

/* Lottery ball hover effects */
.lottery-ball-container {
  transition: all 0.3s ease;
}

.lottery-ball-container:hover {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.1);
}

/* Result card animations */
.result-appear {
  animation: resultAppear 0.5s ease-out;
}

@keyframes resultAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toast-like notifications */
.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  animation: toastSlideIn 0.3s ease-out;
}

.notification-success {
  background: linear-gradient(135deg, #52c41a, #73d13d);
}

.notification-error {
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
}

.notification-info {
  background: linear-gradient(135deg, #1890ff, #40a9ff);
}

@keyframes toastSlideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .modern-card {
    margin: 8px 0 !important;
    border-radius: 12px !important;
  }
  
  .modern-button {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  
  .combination-card {
    margin-bottom: 12px !important;
  }
  
  .main-container::before {
    height: 120px;
  }
  
  .notification-toast {
    right: 10px;
    left: 10px;
    top: 10px;
  }
}

@media (max-width: 480px) {
  .revisar-ticket-container {
    padding: 20px 10px !important;
  }
  
  .modern-card {
    border-radius: 8px !important;
  }
  
  .primary-gradient-button {
    min-width: 150px !important;
  }
}

/* Efectos de entrada para elementos dinámicos */
.fade-enter {
  opacity: 0;
  transform: translateY(20px);
}

.fade-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-exit {
  opacity: 1;
  transform: translateY(0);
}

.fade-exit-active {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mejoras visuales para el contenedor principal */
.main-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

.main-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, rgba(89, 73, 179, 0.1) 0%, rgba(254, 160, 54, 0.1) 100%);
  z-index: 0;
}

.revisar-ticket-container {
  position: relative;
  z-index: 1;
}

/* Efectos de glassmorphism */
.glass-effect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ======================================== */

/* Base styles for mobile devices (320px - 767px) */
@media (max-width: 767px) {
  /* Container and layout adjustments */
  .revisar-ticket-container {
    padding: 8px !important;
    margin: 0 !important;
  }
  
  /* Grid system optimization */
  .ant-row {
    margin: 0 !important;
  }
  
  .ant-col {
    padding: 4px !important;
  }
  
  /* Card spacing and sizing for mobile */
  .modern-card {
    margin-bottom: 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(89, 73, 179, 0.08) !important;
  }
  
  .main-card {
    margin-bottom: 16px !important;
  }
  
  /* Combination cards mobile optimization */
  .combination-card {
    margin-bottom: 12px !important;
  }
  
  .combination-card .ant-card-head {
    padding: 8px 12px !important;
    min-height: auto !important;
  }
  
  .combination-card .ant-card-head-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  .combination-card .ant-card-body {
    padding: 12px !important;
  }
  
  /* Input grid for mobile - better spacing */
  .combination-card .ant-row {
    gap: 6px !important;
  }
  
  /* Number inputs mobile optimization */
  .modern-input {
    height: 40px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 0 8px !important;
  }
  
  .ant-input-number {
    width: 100% !important;
  }
  
  .ant-input-number-input {
    height: 38px !important;
    font-size: 14px !important;
    text-align: center !important;
  }
  
  /* Button optimizations for mobile */
  .modern-button {
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    min-width: auto !important;
  }
  
  .new-combination-button {
    width: 100% !important;
    margin-top: 12px !important;
    height: 44px !important;
  }
  
  /* Delete button mobile optimization */
  .combination-card .ant-card-head-title button {
    font-size: 11px !important;
    padding: 2px 6px !important;
    min-height: 24px !important;
    border-radius: 6px !important;
  }
  
  /* Select dropdown mobile optimization */
  .ant-select {
    height: 40px !important;
  }
  
  .ant-select-selector {
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  
  .ant-select-selection-item {
    line-height: 38px !important;
  }
  
  /* Typography mobile adjustments */
  .ant-typography h1,
  .ant-typography h2,
  .ant-typography h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  
  .ant-typography h4 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
  }
  
  .ant-typography p,
  .ant-typography span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  /* Results section mobile optimization */
  .results-section {
    padding: 12px !important;
  }
  
  .results-section .ant-tag {
    font-size: 12px !important;
    padding: 2px 6px !important;
    margin: 2px !important;
    border-radius: 6px !important;
  }
  
  /* Lottery balls mobile optimization */
  .lottery-ball {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    margin: 2px !important;
    border-radius: 50% !important;
  }
  
  /* Alert messages mobile optimization */
  .ant-alert {
    margin-bottom: 12px !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
  }
  
  /* Space component mobile optimization */
  .ant-space {
    gap: 8px !important;
  }
  
  .ant-space-item {
    margin-bottom: 4px !important;
  }
  
  /* Badge mobile optimization */
  .ant-badge {
    font-size: 11px !important;
  }
  
  /* Divider mobile optimization */
  .ant-divider {
    margin: 12px 0 !important;
  }
  
  /* Sorteo card mobile optimization */
  .sorteo-card-optimized {
    margin: 8px 0 !important;
    border-radius: 10px !important;
  }
  
  .sorteo-card-optimized .ant-card-head {
    padding: 10px 12px !important;
    border-radius: 10px 10px 0 0 !important;
  }
  
  .sorteo-card-optimized .ant-card-head-title {
    font-size: 14px !important;
  }
  
  .sorteo-card-optimized .ant-card-body {
    padding: 12px !important;
  }
  
  /* Lottery numbers container mobile */
  .lottery-numbers-container {
    
    margin-bottom: 8px !important;
    border-radius: 8px !important;
  }
  
  /* Sorteo info container mobile */
  .sorteo-info-container {
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }
  
  /* Touch-friendly interactions */
  .interactive-element {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  
  /* Improved touch targets */
  .ant-btn {
    min-height: 40px !important;
    padding: 0 16px !important;
  }
  
  .ant-input-number {
    min-height: 40px !important;
  }
  
  /* Verification marks mobile */
  .verification-mark {
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    top: -6px !important;
    right: -6px !important;
  }
}

/* Small mobile devices (320px - 480px) */
@media (max-width: 480px) {
  .revisar-ticket-container {
    padding: 6px !important;
  }
  
  .modern-card {
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }
  
  .combination-card .ant-card-head {
    padding: 6px 10px !important;
  }
  
  .combination-card .ant-card-body {
    padding: 10px !important;
  }
  
  .modern-input {
    height: 36px !important;
    font-size: 13px !important;
  }
  
  .ant-input-number-input {
    height: 34px !important;
    font-size: 13px !important;
  }
  
  .modern-button {
    height: 36px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
  }
  
  .new-combination-button {
    height: 40px !important;
  }
  
  .ant-select-selector {
    height: 36px !important;
    font-size: 13px !important;
  }
  
  .ant-select-selection-item {
    line-height: 34px !important;
  }
  
  .lottery-ball {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }
  
  .sorteo-card-optimized {
    border-radius: 8px !important;
  }
  
  .sorteo-card-optimized .ant-card-head {
    padding: 8px 10px !important;
    border-radius: 8px 8px 0 0 !important;
  }
  
  .sorteo-card-optimized .ant-card-body {
    padding: 10px !important;
  }
}

/* Tablet styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .revisar-ticket-container {
    padding: 12px !important;
  }
  .lottery-numbers-container{
    height: 90px;
  }
  .modern-card {
    border-radius: 14px !important;
  }
  
  .modern-input {
    height: 42px !important;
    font-size: 15px !important;
  }
  
  .ant-input-number-input {
    height: 40px !important;
    font-size: 15px !important;
  }
  
  .modern-button {
    height: 42px !important;
    font-size: 15px !important;
  }
  
  .combination-card .ant-card-head {
    padding: 10px 14px !important;
  }
  
  .combination-card .ant-card-body {
    padding: 14px !important;
  }
  .lottery-numbers-row{
margin-top: 15px;
  }
  
  .lottery-ball {
    width: 48px !important;
    height: 48px !important;
    font-size: 13px !important;
  }
}

/* Large desktop styles (1024px+) */
@media (min-width: 1024px) {
  .revisar-ticket-container {
    padding: 16px !important;
  }
  .lottery-numbers-container{
    height: 90px;
  }
  .lottery-numbers-row{
margin-top: 15px;
  }
}

/* Desktop-specific input optimizations */
@media (min-width: 768px) {
  .ant-input-number {
    height: 48px !important;
    border-radius: 12px !important;
    border: 2px solid #e8e8f0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%) !important;
    box-shadow: 0 2px 8px rgba(89, 73, 179, 0.08) !important;
  }
  
  .ant-input-number:hover {
    border-color: #5949b3 !important;
    box-shadow: 0 4px 12px rgba(89, 73, 179, 0.15) !important;
    transform: translateY(-1px) !important;
  }
  
  .ant-input-number-focused {
    border-color: #5949b3 !important;
    box-shadow: 0 0 0 3px rgba(89, 73, 179, 0.1) !important;
    transform: scale(1.02) !important;
  }
  
  .ant-input-number-input {
    height: 44px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #5949b3 !important;
    padding: 0 12px !important;
  }
  
  .ant-input-number-handler-wrap {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
  }
  
  .ant-input-number:hover .ant-input-number-handler-wrap {
    opacity: 1 !important;
  }
  
  .ant-input-number-handler {
    border-left: 1px solid #e8e8f0 !important;
    background: #fafbff !important;
  }
  
  .ant-input-number-handler:hover {
    background: #5949b3 !important;
    color: white !important;
  }

  /* Validation states for desktop */
  .number-input-valid.ant-input-number {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%) !important;
    animation: inputSuccess 0.4s ease-out;
  }
  
  .number-input-invalid.ant-input-number {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%) !important;
    animation: inputError 0.3s ease-out;
  }
  
  .number-input-duplicate.ant-input-number {
    border-color: #F59E0B !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3) !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    animation: inputDuplicate 0.5s ease-out;
  }

  .number-input-neutral.ant-input-number {
    border-color: #6B7280 !important;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.15) !important;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.02) 0%, rgba(156, 163, 175, 0.02) 100%) !important;
    transition: all 0.2s ease;
  }

  .number-input-neutral.ant-input-number:hover {
    border-color: #5949b3 !important;
    box-shadow: 0 0 0 2px rgba(89, 73, 179, 0.2) !important;
  }
}
}

/* Landscape orientation optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .combination-card .ant-card-head {
    padding: 6px 10px !important;
  }
  
  .combination-card .ant-card-body {
    padding: 8px !important;
  }
  
  .modern-input {
    height: 36px !important;
  }
  
  .ant-input-number-input {
    height: 34px !important;
  }
  
  .modern-button {
    height: 36px !important;
  }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .modern-card {
    border-width: 0.5px !important;
  }
  
  .modern-input {
    border-width: 1px !important;
  }
  
  
}

/* Mobile-specific optimizations for forms and components */
@media (max-width: 767px) {
  .lottery-numbers-row {
   height: auto;
    padding-bottom: 24px;
  }
  /* Form optimizations */
  .combinations-section {
    padding: 12px 0 !important;
  }
  
  .combinations-section .ant-card {
    margin-bottom: 12px !important;
  }
  
  .combinations-section .ant-card-head {
    padding: 12px 16px !important;
    min-height: auto !important;
  }
  
  .combinations-section .ant-card-body {
    padding: 12px 16px !important;
  }
  
  /* Input number optimizations */
  .ant-input-number {
    width: 100% !important;
    height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid #e8e8f0 !important;
    box-shadow: none !important;
  }
  
  .ant-input-number-input {
    height: 38px !important;
    font-size: 14px !important;
    text-align: center !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  /* Fix double border issue on mobile */
  .ant-input-number-focused {
    border-color: #5949b3 !important;
    box-shadow: 0 0 0 2px rgba(89, 73, 179, 0.2) !important;
  }
  
  .ant-input-number-focused .ant-input-number-input {
    border: none !important;
    box-shadow: none !important;
  }
  
  /* Validation states for mobile */
  .number-input-valid.ant-input-number {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
  }
  
  .number-input-invalid.ant-input-number {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
  }
  
  .number-input-duplicate.ant-input-number {
    border-color: #F59E0B !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3) !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  }
  
  /* Verification marks optimization for mobile */
  .verification-mark {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    color: white !important;
    font-weight: bold !important;
    z-index: 15 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid white !important;
  }
  
  /* Select optimizations */
  .ant-select {
    height: 40px !important;
  }
  
  .ant-select-selector {
    height: 40px !important;
    border-radius: 8px !important;
  }
  
  .ant-select-selection-item {
    line-height: 38px !important;
    font-size: 14px !important;
  }
  
  /* Button optimizations */
  .modern-button {
    height: 40px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
  }
  
  /* Lottery ball optimizations */
  .lottery-ball-optimized {
    margin: 0 auto !important;
    transform: scale(1.2) !important;
   text-align: center;
        display: flex;
       padding-top: 14px;
        justify-content: center;
  }
  
  .lottery-ball-optimized .lottery-ball {
    width: 48px !important;
    height: 48px !important;
    margin: 2px !important;
  }
  
  .lottery-ball-optimized .lottery-ball__inner {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.3) !important,
      inset 0 -2px 6px rgba(0, 0, 0, 0.2) !important,
      inset 0 2px 6px rgba(255, 255, 255, 0.4) !important;
  }
  
  .lottery-ball-optimized .lottery-ball__number {
    font-size: 18px !important;
    font-weight: 900 !important;
    text-shadow: 
      2px 2px 4px rgba(0, 0, 0, 0.8) !important,
      0 0 8px rgba(0, 0, 0, 0.6) !important,
      1px 1px 0px rgba(0, 0, 0, 0.9) !important;
  }
  
  .lottery-ball-optimized .lottery-ball__highlight {
    width: 35% !important;
    height: 35% !important;
    top: 12% !important;
    left: 20% !important;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3)) !important;
  }
  
  /* Results section optimizations */
  .results-section {
    margin-top: 16px !important;
  }
  
  .results-section .ant-card {
    border-radius: 12px !important;
  }
  
  .results-section .ant-card-head {
    padding: 12px 16px !important;
  }
  
  .results-section .ant-card-body {
    padding: 16px !important;
  }
  
  /* Tag optimizations for matched numbers */
  .ant-tag {
    margin: 2px !important;
    padding: 2px 6px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    min-width: 22px !important;
    text-align: center !important;
  }
  
  /* Space component optimizations */
  .ant-space {
    gap: 4px !important;
  }
  
  /* Alert optimizations */
  .ant-alert {
    margin-bottom: 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }
  
  /* Typography optimizations */
  .ant-typography {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .ant-typography strong {
    font-size: 14px !important;
  }
  
  /* Divider optimizations */
  .ant-divider {
    margin: 12px 0 !important;
  }
  
  /* Badge optimizations */
  .ant-badge {
    font-size: 11px !important;
  }
  
  /* Spin optimizations */
  .ant-spin-container {
    min-height: 120px !important;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 767px) {
  /* Focus states for touch devices */
  .modern-input:focus,
  .ant-input-number-focused .ant-input-number-input {
    outline: 2px solid #5949b3 !important;
    outline-offset: 2px !important;
  }
  
  .modern-button:focus {
    outline: 2px solid #5949b3 !important;
    outline-offset: 2px !important;
  }
  
  /* Improved contrast for small screens */
  .ant-typography {
    color: #1f2937 !important;
  }
  
  /* Better spacing for readability */
  .ant-card-head-title {
    line-height: 1.5 !important;
  }
  
  .ant-card-body p {
    line-height: 1.6 !important;
  }
  
  /* Touch-friendly improvements */
  .ant-btn,
  .modern-button {
    min-height: 44px !important;
    min-width: 44px !important;
    touch-action: manipulation !important;
  }
  
  .ant-input-number,
  .modern-input {
    min-height: 44px !important;
    touch-action: manipulation !important;
  }
  
  .ant-select-selector {
    min-height: 44px !important;
    touch-action: manipulation !important;
  }
  
  /* Prevent zoom on input focus */
  .ant-input-number-input,
  .ant-select-selection-search-input {
    font-size: 16px !important;
  }
  
  /* Improved tap targets */
  .combination-card .ant-card-head-title button {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 8px 12px !important;
  }
  
  /* Better scroll behavior */
  .revisar-ticket-container {
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }
  
  /* Prevent horizontal scroll */
  .ant-row {
    overflow-x: hidden !important;
  }
  
  /* Improved visual feedback for interactions */
  .modern-button:active,
  .ant-btn:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
  }
  
  .modern-input:focus,
  .ant-input-number-focused {
    transform: scale(1.02) !important;
    transition: transform 0.2s ease !important;
  }
}/* Estilos específicos para la página de estafas */

.estafas-container {
  min-height: 100vh;
  padding: 20px;
  background: #F8F8F8;
}

.estafas-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 32px 16px;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.estafas-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ec1379 0%, #44057a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.estafas-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.main-card {
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 60px;
}

.stats-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(68, 5, 122, 0.15);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ec1379, #44057a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stats-label {
  font-size: 0.9rem;
  color: #8c8c8c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-button {
  background: linear-gradient(45deg, #ec1379, #44057a);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(236, 19, 121, 0.3);
  transition: all 0.3s ease;
}

.primary-button:hover {
  background: linear-gradient(45deg, #d11070, #3a046a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 19, 121, 0.4);
}

.secondary-button {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #495057;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
}

.form-section-card {
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: none;
}

.form-section-card .ant-card-head {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #ec1379;
}

.form-section-card .ant-card-head-title {
  color: #44057a;
  font-weight: 600;
}

.search-input {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.search-input:focus,
.search-input:hover {
  border-color: #ec1379;
  box-shadow: 0 0 0 3px rgba(236, 19, 121, 0.1);
}

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: white;
}


@media (max-width: 480px) {
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .ant-table-thead > tr > th {
    white-space: nowrap;
    min-width: 80px;
  }
  
  .ant-table-tbody > tr > td {
    white-space: nowrap;
    min-width: 80px;
  }
  
  /* Ocultar columnas menos importantes en pantallas muy pequeñas */
  
}

.ant-table-thead > tr > th {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #ec1379;
  color: #44057a;
  font-weight: 600;
}

.ant-table-tbody > tr:hover > td {
  background: linear-gradient(135deg, #fff9fc 0%, #fef7fa 100%);
}

.status-tag {
  border-radius: 20px;
  font-weight: 500;
  padding: 4px 12px;
  border: none;
}

.phone-tag {
  background: linear-gradient(45deg, #ff4d4f, #ff7875);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 0.85rem;
}

.amount-text {
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(45deg, #ec1379, #44057a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.detail-modal .ant-modal-header {
  background: linear-gradient(135deg, #ec1379, #44057a);
  border-bottom: none;
}

.detail-modal .ant-modal-title {
  color: #fff;
  font-weight: 600;
}

.info-card {
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #e8ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #ec1379;
  box-shadow: 0 2px 8px rgba(236, 19, 121, 0.1);
}

.upload-area {
  border: 2px dashed #e8ecef;
  border-radius: 8px;
  background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #ec1379;
  background: linear-gradient(135deg, #fff9fc 0%, #fef7fa 100%);
}

.pagination-container {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
  text-align: center;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .estafas-container {
    padding: 12px;
  }
  
  .estafas-header {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 8px;
  }
  
  .estafas-title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .estafas-subtitle {
    font-size: 14px;
    padding: 0 8px;
  }
  
  .stats-number {
    font-size: 20px;
  }
  
  .stats-label {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  
  .main-card {
    margin: 8px 0;
    border-radius: 8px;
  }
  
  .form-section-card {
    margin-bottom: 12px;
    border-radius: 8px;
  }
  
  .primary-button,
  .secondary-button {
    width: 100%;
    margin-bottom: 8px;
    height: 44px;
    font-size: 14px;
  }
  
  .search-input {
    margin-bottom: 12px;
  }
  
  .table-container {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
  }
  
  .pagination-container {
    text-align: center;
    margin-top: 16px;
  }
  
  .alert-info {
    margin-bottom: 12px;
    font-size: 13px;
  }
  
  /* Modal adjustments */
  .ant-modal {
    margin: 0;
    max-width: 100vw;
    top: 0;
  }
  
  .ant-modal-content {
    border-radius: 0;
  }
  
  .ant-modal-body {
    padding: 16px;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  /* Tabs adjustments */
  .ant-tabs-tab {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
  
  /* Form adjustments */
  .ant-form-item {
    margin-bottom: 16px;
  }
  
  .ant-form-item-label {
    padding-bottom: 4px;
  }
  
  .ant-form-item-label > label {
    font-size: 13px;
    font-weight: 500;
  }
  
  .ant-input,
  .ant-input-number,
  .ant-select-selector,
  .ant-picker {
    height: 40px;
    font-size: 14px;
  }
  
  .ant-input-number-input {
    height: 38px;
  }
  
  /* TextArea specific */
  .ant-input {
    min-height: 40px;
  }
  
  /* Upload component */
  .ant-upload-list-picture-card .ant-upload-list-item {
    width: 80px;
    height: 80px;
  }
  
  .ant-upload-select-picture-card {
    width: 80px;
    height: 80px;
  }
  
  /* Table responsive */
  .ant-table-thead > tr > th {
    font-size: 12px;
    padding: 8px 4px;
  }
  
  .ant-table-tbody > tr > td {
    font-size: 12px;
    padding: 8px 4px;
  }
  
  /* Row gutters adjustment */
  .ant-row {
    margin-left: -8px;
    margin-right: -8px;
  }
  
  .ant-col {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  /* Form help text */
  .ant-form-item-explain {
    font-size: 11px;
  }
  
  /* Date picker adjustments */
  .ant-picker-dropdown {
    font-size: 13px;
  }
  
  /* Select dropdown */
  .ant-select-dropdown {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ant-col {
    margin-bottom: 8px;
  }
  
 
  .ant-btn-block {
    margin-bottom: 8px;
  }
  
  .stats-card {
    margin-bottom: 12px;
  }
  
  .ant-card-body {
    padding: 16px;
  }
  
  .ant-form-item {
    margin-bottom: 16px;
  }
  
  .pagination-container {
    margin-top: 16px;
  }
  
  .ant-pagination {
    text-align: center;
  }
  
  .ant-pagination-item, .ant-pagination-prev, .ant-pagination-next {
    min-width: 32px;
    height: 32px;
    line-height: 30px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .ant-btn, .ant-input, .ant-select-selector {
    min-height: 44px;
  }
  
  .ant-table-tbody > tr {
    height: 48px;
  }
  
  .stats-card:hover {
    transform: none;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .estafas-header {
    padding: 12px;
    margin-bottom: 16px;
  }
  
  .estafas-title {
    font-size: 1.6rem;
  }
  
  .estafas-subtitle {
    font-size: 0.95rem;
  }
}

.ant-pagination-item-active {
  background: linear-gradient(45deg, #ec1379, #44057a);
  border-color: #ec1379;
}

.ant-pagination-item-active a {
  color: #fff;
}

.alert-info {
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
  border: 1px solid #91d5ff;
  border-radius: 8px;
}

.gradient-text {
  background: linear-gradient(45deg, #ec1379, #44057a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.floating-action {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: linear-gradient(45deg, #ec1379, #44057a);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 20px rgba(236, 19, 121, 0.4);
  transition: all 0.3s ease;
}

.floating-action:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(236, 19, 121, 0.5);
}

@media (max-width: 768px) {
  .estafas-title {
    font-size: 2rem;
  }
  
  .estafas-subtitle {
    font-size: 1rem;
  }
  
  .stats-number {
    font-size: 1.8rem;
  }
  
  .floating-action {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 19, 121, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(236, 19, 121, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 19, 121, 0);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}
/*Color del menu principal*/
.ant-menu-dark.ant-menu-horizontal > .ant-menu-item,
.ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu-horizontal {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.ant-menu-dark.ant-menu-horizontal > .ant-menu-item-selected {
  border-bottom: 2px solid white;
}

.start {
  float: left;
}

.end {
  float: right;
}

.btn {
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  display: inline-block;
  cursor: pointer;
  width: auto;
  height: auto;
  -webkit-box-shadow: 0px 3px 2px 0px rgba(32, 29, 30, 0.25);
  box-shadow: 0px 3px 2px 0px rgba(32, 29, 30, 0.25);
}

.btn-amarillo {
  background-image: -o-linear-gradient(bottom, #ffcc00 0%, #fea036 100%);
  background-image: linear-gradient(0deg, #f4ba2e 0%, #fea036 100%);
  border: 1px solid #fea036;
}

.btn-rosado {
  background-image: linear-gradient(7deg, #ff419b 0%, #6c0092 100%);
  border: 1px solid #6c0092;
  border-radius: 5px;
  margin-top: 38px !important;
}

.banner-primary {
  padding: 114px 0 222px;
  position: relative;
  background: url("/assets/primary-67acb6a3.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.banner-secondary {
  background: url(/assets/secondary-f6fcb336.jpg);
  background-size: cover;
  background-position: center bottom;
  padding: 49px 0px 177px;
  position: relative;
}

.banner-secondary .title {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0px 10px 6px rgba(49, 64, 71, 0.1);
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Responsive styles for banner title */
@media (max-width: 768px) {
  .banner-secondary .title {
    font-size: 28px;
    line-height: 34px;
    padding: 0 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .banner-secondary .title {
    font-size: 22px;
    line-height: 28px;
    padding: 0 15px;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .banner-secondary .title {
    font-size: 18px;
    line-height: 24px;
    padding: 0 10px;
  }
}

.steps {
  border-radius: 10px;
  -webkit-box-shadow: 2.505px 17.825px 59px 0px rgba(45, 112, 196, 0.2);
  box-shadow: 2.505px 17.825px 59px 0px rgba(45, 112, 196, 0.2);
  padding: 33px 30px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer {
  padding: 40px 0px 35px;
  position: relative;
  background: url(/assets/footer-d4b1b33b.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.footer .end ul li a {
  color: #d2d5fc;

  font-weight: 600;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}
.footer .end ul li {
  display: inline-block;
  position: relative;
  margin-right: 30px;
}

.links {
  display: flex;
}

.titleContent {
  font-size: 25px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  color: #5949b3;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.cajaNumero {
  -webkit-box-shadow: 0px 5px 13px 0px rgba(40, 63, 163, 0.2);
  box-shadow: 0px 5px 13px 0px rgba(40, 63, 163, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.cajaNumero .header-area {
  background: #fef1f1;
  padding: 10px 20px 20px;
}

.cajaNumero .body-area {
  padding: 14px 20px 14px;
}
.cajaNumero .title {
  font-weight: 600;
  margin-top: 10px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 12px;
  color: #5949b3;
}

/* Responsive styles for cajaNumero titles */
@media (max-width: 768px) {
  .cajaNumero .title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .cajaNumero .title {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 6px;
    text-align: center;
  }
  
  .cajaNumero .header-area {
    padding: 8px 15px 15px;
  }
  
  .cajaNumero .body-area {
    padding: 10px 15px 10px;
  }
}
.cajaNumero .body-area .numero {
  width: 41px;
  font-family: "Comfortaa", cursive;
  height: 41px;
  line-height: 30px;
  font-weight: 600;
  background: #ededff;
  color: #595192;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}
.cajaNumero .body-area .numero:hover,
.cajaNumero .body-area .ant-space-item .active {
  color: #fff;
  background-image: linear-gradient(
    86deg,
    #ec038b 0%,
    #fb6468 44%,
    #fbb936 100%
  );
  -webkit-box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  transition: width 2s;
}

.numerosSeleccionado {
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: linear-gradient(
    86deg,
    #ec038b 0%,
    #fb6468 44%,
    #fbb936 100%
  );
  -webkit-box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  transition: width 2s;
  border-radius: 100%;
  font-size: 1.15rem;
}

.numerosSeleccionadoHoy {
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  background: radial-gradient(circle at 50% 25%, #fff, #bbb);
  border-radius: 100%;
  border: 1px solid #c9c9c9;
  font-size: 1.15rem;
}
.numerosSeleccionadoUnico {
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 600;
  display: inline-flex;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  color: black;
  background: radial-gradient(circle at 50% 25%, #fff, #bbb);
  border-radius: 100%;
  border: 1px solid #c9c9c9;
  font-size: 1.15rem;
}

.ant-table-thead tr th {
  color: #eceefe !important;
  background: #595192 !important;
}
.ant-table-tbody tr td {
  font-weight: 500;
  font-size: 15px;
  color: #595192 !important;
}

.ant-modal-title {
  font-size: 24px !important;
  line-height: 34px !important;
  font-weight: 700;
  display: block;
  margin: 0 auto 24px;
  color: #5949b3 !important;
  text-align: center;
}
.ant-form-item-required {
  font-size: 18px;
  line-height: 28px;
  color: #5949b3 !important;
  font-weight: 700;
}

.ant-form-item-control-input-content input {
  background-color: #f6f6fa;
  font-size: 16px;
  color: #273bff;
  padding: 0px 30px;
  height: 30px;
}
.ant-input-affix-wrapper {
  background-color: #f6f6fa;
  border: 1px solid #ebebf3;
}
.btn-sociales {
  width: 45px !important;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #6b79b2;
  font-size: 16px;
  display: inline-block;
  margin: 0px 5px;
}

.btn-sociales span {
  padding-bottom: 60px;
}

.btn-sociales:hover {
  color: #fff;
  background-image: linear-gradient(
    86deg,
    #ec038b 0%,
    #fb6468 44%,
    #fbb936 100%
  );
  -webkit-box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  box-shadow: 0px 7px 7px 0px rgba(243, 42, 126, 0.23);
  transition: width 2s;
}

.btn-google {
  margin-top: 9px;
  border: 1px solid rgba(59, 54, 140, 0.1);
  background-color: #eaf2fc;
  -webkit-box-shadow: 1.948px 13.864px 6px 0px rgba(220, 234, 251, 0.3);
  box-shadow: 1.948px 13.864px 6px 0px rgba(220, 234, 251, 0.3);
  border-radius: 50px;
  margin-bottom: 19px;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
  height: 40px;
  width: 70% !important;
}

.btn-google span {
  color: #007bff !important;
  margin-left: 9px;
}

.ant-divider-horizontal.ant-divider-with-text::after {
  border-block-start: 1px solid #00000026;
}

.ant-divider-horizontal.ant-divider-with-text::before {
  border-block-start: 1px solid #00000026;
}

.aciertos {
  border-radius: 10px;
  padding: 7px;
  color: #6257af;
  font-weight: 700;
  background: #eff4fa;
}

.ant-table-column-sorter-up,
.ant-table-column-sorter-down {
  font-size: 16px !important;
}

.ant-table-wrapper .ant-table-column-sorter-up.active,
.ant-table-wrapper .ant-table-column-sorter-down.active {
  color: white !important;
}

.ant-table-wrapper .ant-table-filter-trigger {
  font-size: 18px !important;
}

.c-morado {
  color: #5949b3;
}

.b-morado {
  background: #5949b3;
}

.b-rosado {
  background: #ec1379;
}

.b-multi {
  background-image: linear-gradient(
    86deg,
    #ec038b82 0%,
    #fb6468a8 44%,
    #fbb93661 100%
  );
}
.b-multi2 {
  background-image: linear-gradient(7deg, #ff419b 0%, #6c0092 100%);
}
.caja-result {
  -webkit-box-shadow: 2.505px 17.825px 59px 0px rgba(45, 112, 196, 0.2);
  box-shadow: 2.505px 17.825px 59px 0px rgba(45, 112, 196, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
}

.divider {
  display: flex;
  clear: both;
  width: 100%;
  min-width: 100%;
  height: 1px;
  margin: 16px 0;
  background-color: #e5e5e5a1;
}

.ant-drawer .ant-drawer-body {
  padding: 0px !important;
}

.ant-menu-dark.ant-menu-root.ant-menu-vertical {
  height: 100% !important;
}

.ant-menu-dark {
  color: white !important;
  font-size: 16px !important;
}

.over {
  overflow: auto;
}

#menu.ant-menu-dark.ant-menu-horizontal li {
  padding: 12px;
}

#menu.ant-menu-overflow {
  margin-left: 30px;
}

.social-icon:hover {
  color: #ec1379 !important;
  font-size: 27px !important;
}

.sorteo-actualizado {
  background-image: linear-gradient(
    86deg,
    #ec038b82 0%,
    #fb6468a8 44%,
    #fbb93661 100%
  ) !important;
}

.ant-menu-dark.ant-menu-submenu > .ant-menu,
.ant-menu-dark.ant-menu-inline .ant-menu-sub.ant-menu-inline {
  background-color: white !important;
}
.ant-menu-dark.ant-menu-inline .ant-menu-sub.ant-menu-inline {
  border-radius: 12px;
}
.ant-menu-sub .ant-menu-item-only-child .ant-menu-title-content {
  color: black !important;
}

#mobile {
  height: 100vh;
}
.ant-menu-dark.ant-menu-inline
  .ant-menu-sub.ant-menu-inline
  .ant-menu-title-content {
  font-weight: 500;
}

.name-sorteo {
  color: rgb(0, 0, 0);
}

.name-sorteo:hover {
  color: #4f0a8c !important;
  text-decoration: underline;
}

.borange {
  background: #f51b1b36 !important;
}

.titleDesc {
  font-size: 25px;
  line-height: 65px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  color: #5949b3;
  text-transform: uppercase;
}

.contentDesc {
  font-size: 18px;
  line-height: 28px;
  color: #5949b3;
}

.ad-banner {
  position: relative;
  width: 100%;
  max-width: 700px; /* Puedes ajustar este tamaño según necesites */
  margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-image {
  width: 100%;
  height: auto;
  display: block;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 600px) {
  .ad-banner {
    max-width: 100%;
  }

  .anuncio {
    height: 60vh !important;
  }
}
.blur {
  filter: blur(4px); /* Efecto de difuminado */
  opacity: 0.9; /* Opacidad reducida */
  pointer-events: none; /* No permite interacción con el contenido */
}

.unread-badge {
  /* position: absolute; */

  background-color: #f9ca07;
  color: #44057a;
  border-radius: 50%;
  width: 20px;
  height: 19px;
  display: table-caption;
  margin-right: 14px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.large-checkbox .ant-checkbox-inner {
  width: 19px; /* Ancho del checkbox */
  height: 19px; /* Alto del checkbox */
}

.large-checkbox .ant-checkbox {
  transform: scale(1.5); /* Ajusta el tamaño del cuadro completo */
}

.large-checkbox .ant-checkbox + span {
  font-size: 16px; /* Opcional: Ajusta el tamaño del texto */
}

/* Estilos para los filtros expandibles */
.filtros-collapse .ant-collapse-header:hover {
  background: linear-gradient(135deg, rgba(253, 126, 20, 0.1) 0%, rgba(253, 126, 20, 0.15) 100%) !important;
  border-color: rgba(253, 126, 20, 0.3) !important;
  box-shadow: 0 4px 12px rgba(253, 126, 20, 0.15) !important;
  transform: translateY(-1px);
}

.filtros-collapse .ant-collapse-header {
  padding: 0 !important;
}

.filtros-collapse .ant-collapse-content-box {
  padding: 0 !important;
}

/* Responsive para filtros */
@media (max-width: 768px) {
  .filtros-collapse .ant-collapse-header:hover {
    transform: none; /* Evitar efectos de hover en móviles */
  }
}

@media (max-width: 480px) {
  .cajaNumero {
    padding: 10px !important;
    margin-bottom: 15px !important;
  }
  
  .filtros-collapse .ant-collapse-header > div {
    min-height: 50px;
    align-items: flex-start !important;
    padding-top: 8px !important;
  }
}

/* Animación pulse mejorada */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
    .ant-input, .ant-input-number, .ant-select-selector, .ant-picker #selectR {
        height: auto; 
        
    }
}