.container {
    background: #e4e8eb;
    display: grid;
    grid-template-columns: 100px 100px 1fr;
    grid-template-rows: 100px 0px auto 60px;
    min-height: 100vh;
    border-radius: 10px;

    grid-template-areas:
    "menu menu main_info"
    "menu menu main_info"
    "menu menu main_info"
    "footer footer footer"
}

.highlight-red {
    color: red !important;
    transition: color 0.3s ease;
}

.highlight-background {
    background-color: rgba(255, 0, 0, 0.1);
    transition: background-color 0.3s;
  }

.font-bold {
  font-weight: 600;
}

.bold-winner {
    font-weight: bold;
  }

@keyframes ticTac {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.icono-reloj {
  color: red;
  margin-right: 4px;
  animation: ticTac 2s infinite;
}


a, a:hover {
    text-decoration: none;
}

a {
    color: #555e61;
}


.flag {
    background-repeat: no-repeat;
    background-size: auto 100%;
    flex: 0 0 18px;
    height: 12px;
    margin-right: 8px;
    width: 18px;
}

.logoMenuLeft {
    background-repeat: no-repeat;
    background-size: auto 100%;
    flex: 0 0 18px;
    height: 12px;
    margin-right: 8px;
    width: 18px;
}

.container .div_logo {
    background: beige;
    grid-area: logo;
    border-radius: 5px;

}

.img_logo {
    width: 100px;
    height: 60px;
    border-radius: 20px;
}

.img_logoPagina {
    background-color: #001e28;
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    height: 100px;
    padding: 4px;
    width: 110px;
}

/*---------------LOADER------------------*/

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loader-circle {
    width: 42px;
    height: 42px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*-------------------------------------------*/

/*-------------------header-----------------*/
.container header {
    background: #001e28;
    grid-area: navegation;
    padding: 0 0px;
}

header {
  background: #001e28;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 100%;
}

.logo-svg {
  max-width: 200px;
  height: auto;
}

.login-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #003344;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 11px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.login-icon:hover {
  background-color: #ff0046;
}

.login-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Latido */
.pulse {
    animation: heartbeat 2s infinite;
    transform-origin: center;
}

@keyframes heartbeat {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.1); }
    40%  { transform: scale(0.95); }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Entrada suave del grupo completo */
.logo-enter {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.extra-icon {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.extra-icon:hover {
    transform: scale(1.2);
    fill: #ff0046; /* o cualquier otro color deseado */
}

.icon-wrapper {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  left: 10px;
  background-color: #009bcf;
  color: white;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 0px 0;
  display: none;
  z-index: 100;
  min-width: 150px;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: white;
  font-size: 11px;
}

.dropdown-menu a:hover {
  background-color: #004455;
}

/* ===== Lupa de búsqueda en el header ===== */
.search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-icon-wrapper:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-icon {
  width: 22px;
  height: 22px;
  fill: white;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.search-icon:hover {
  transform: scale(1.2);
  fill: #ff0046;
}

/* Fondo oscuro del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
}

/* Caja del modal */
.modal-content {
    background-color: #001e28;
    color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Botón de cierre */
.close-modal {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Input */
#searchInput {
    width: 95%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    margin-top: 10px;
    font-size: 14px;
}

/* Resultados */
.search-results {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item-link {
    text-decoration: none;  /* Sin subrayado */
    color: inherit;         /* Mantiene el color original del texto */
    display: block;         /* Hace que el enlace abarque toda la tarjeta */
}

.search-result-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}


/*-------------------------------------------------------*/

/*----------------------aside---------------------------*/

.container aside {
    background: #e4e8eb;
    grid-area: menu;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden; /* ← importante para evitar scroll horizontal */
    max-height: 100vh;
}

.leftMenu {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.label_menu {
    align-items: center;
    display: flex;
    flex: 1;
    line-height: 19px;
    min-height: 25px;
    overflow: hidden;
    padding: 0px 8px;
    text-decoration: none
}

.leftMenu_head {
    align-items: center;
    display: flex;
    margin: 1px 3px 0px 3px;
    height: 90px;

}

.leftMenu_logo {
    background-size: 150px 50px;
    flex: 0 0 192px;
    height: 52px;
}

.logoMenuLeft.logo_juego {
    background-image: url(../logo_w3.png);
    opacity: 0.90;

    /* Tamaño y comportamiento del fondo */
    background-repeat: no-repeat;
    background-position: center;

    /* Efecto de brillo animado */
    filter: drop-shadow(0 0 6px #ff0046);
    animation: glow 2s infinite ease-in-out;
}

/* Animación de brillo */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 6px #ff0046);
    }
    50% {
        filter: drop-shadow(0 0 5px #ff0046);
    }
}


.linea_separadorHorizontal {
    height: 1px;
    width: 210px;
    background-color:#d0d4d9;;
}

.leftMenu__item--active {
    background-color: #ffffff;
    font-weight: 800;
}

.leftMenu__item {
   border-radius: 4px;
   display: flex;
   font-size: 12px;
   min-height: 50px;
   overflow: hidden;

   padding: 0;
}

.leftMenu__href, .leftMenu__item a {
    color: #00141e;
}

.leftMenu__href {
    align-items: center;
    display: flex;
    color: #0a1a26;
    flex: 1;
    line-height: 19px;
    min-height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0px 20px;
    text-decoration: none;
    font-weight: 500;
}

@media (hover: hover) {
    .leftMenu__href:hover {
        color: #dc0000;
        transition: all .4s ease;
    }
}

/*-------animación de despliegue-------*/

/* Oculto por defecto */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out;
}

/* Mostrar cuando se pasa el mouse sobre el contenedor entero */
.dropdown-hover:hover .dropdown-content {
    max-height: 500px;
    opacity: 1;
}

/* Flecha animada */
.arrow::before {
    content: "►";
}
.dropdown-hover:hover .arrow::before {
    content: "▼";
}

.dropdown-hover {
    display: flex;
    flex-direction: column; /* organiza hijos en columna */
}

.dropdown-hover .leftMenu__href {
    padding-left: 20px; /* igual que los demás */
}
/*---------------------------------------------------------------------------*/

/*-------------------------main----------------------------------------------*/
.container main {
    background: beige;
    background-color: beige;
    grid-area: main;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    align-items: center;
    display: flex;

}

.div_main_info {
    background: #ffffff;
    grid-area: main_info;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.div_main_info__fsbody {
    margin-top: -8px;
}

#live-table {
    box-sizing: border-box;
    position: relative;
}

.filters {
    align-items: center;
    background-color: var(--color-combination-9);
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 16px 12px 8px;
}

.filters__group {
    align-items: center;
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 100%;
}

.filters__tab.selected {
    background-color: #ff0046;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

.filters__tab {
    align-items: center;
    background-color: #eee;
    border-radius: 8px;
    color: #555e61;
    cursor: pointer;
    display: flex;
    font-size: 11px;
    height: 28px;
    margin-right: 8px;
    padding: 0 12px;
}

@media (hover: hover) {
    .filters__tab:hover {
        color: #dc0000;
        transition: all .4s ease;
    }
}

.filters__text {
    font-weight: 600;
    letter-spacing: .4px;
    line-height: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.filters__text--long {
    display: none;
}

/*-----------------------CALENDARIO-----------------------------*/
.calendarCont {
    align-self: flex-start;
    margin-left: 8px;
}

.calendar {
    align-self: flex-start;
    border-radius: 8px;
    color: #555e61;
    display: grid;
    grid-template:
        "yesterday datepicker tomorrow" 28px / 27px 100px 30px;
    gap: 2px;
    padding: 5px;
    user-select: none;
}

.calendar__nav {
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: transparent;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.calendar__nav svg {
    width: 12px;
    height: 12px;
    color: var(--color-support-4);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.calendar__nav:hover svg {
    transform: scale(1.2);
    opacity: 1;
}

#btnPrevDay {
    grid-area: yesterday;
}

#calendarMenu {
    grid-area: datepicker;
    text-align: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #eee;
    border-radius: 8px;
}

#btnNextDay {
    grid-area: tomorrow;
}

.calendar__navigation svg {
    height: 10px;
    width: 10px
}

.calendar__navigation--yesterday {
    grid-area: yesterday
}

@media (hover: hover) {
    .calendar__navigation--yesterday:hover {
        background-color:rgba(var(--color-support-2-rgb),.3);
        border-radius: 8px 0 0 8px;
        color: var(--color-combination-1);
        transition: all .4s ease
    }
}

.calendar__navigation--tomorrow {
    grid-area: tomorrow;
    transform: rotate(180deg)
}

@media (hover: hover) {
    .calendar__navigation--tomorrow:hover {
        background-color:rgba(var(--color-support-2-rgb),.3);
        border-radius: 8px 0 0 8px;
        color: var(--color-combination-1);
        transition: all .4s ease
    }
}

.calendar__datepicker {
    align-items: center;
    background-color: initial;
    border: initial;
    color: inherit;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    grid-area: datepicker;
    height: 100%;
    justify-content: center;
    letter-spacing: .4px;
    padding: 0 12px;
    text-transform: uppercase
}

/*------------------------------------------------------------------------------*/

.calendar__navigation {
    align-items: center;
    background-color: initial;
    border: initial;
    color: inherit;
    cursor: pointer;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%
}



.calendar__icon {
    height: 16px;
    margin-right: 8px;
    width: 16px
}



.calendar__datepicker--active {
    background-color: rgba(var(--color-support-2-rgb),.3);
    color: var(--color-combination-1);
}

@media (hover: hover) {
    .calendar__datepicker:hover {
        background-color: rgba(var(--color-support-2-rgb), .3);
        color: #dc0000;
        transition: all .4s ease;
    }
}


.calendar__days {
    background-color:#fff;
    border-radius: 8px;
    display: none;
    grid-auto-flow: row;
    grid-auto-rows: 24px;
    left: 0;
    padding: 12px;
    position: absolute;
    top: calc(100% + 2px);
    width: calc(100% + 2px);
    grid-row-gap: 4px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .25);
    box-sizing: border-box;
    margin: initial;
    z-index: 2;
}

.calendar__listItem {
    display: flex
}

.calendar__day {
    align-items: center;
    align-self: stretch;
    background-color: initial;
    border: initial;
    border-radius: 4px;
    color: #555e61;
    cursor: pointer;
    display: flex;
    flex-grow: 1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    justify-self: stretch;
    letter-spacing: .4px;
    text-transform: uppercase
}

.calendar__day:not(.calendar__day--active):hover {
    background-color: #ff0046;
    color: #555e61;
    transition: all .1s ease
}

.calendar__day--active {
    background-color: #ff0046;
    color: #fff;
    font-weight: 700
}

.calendar__day--today {
    font-weight: 700
}

@media only screen and (max-width: 799px) {
    .calendar {
        background-color:var(--color-support-1);
        border: none;
        border-radius: initial;
        column-gap: 10px;
        grid-template-columns: 30px 1fr 30px;
        padding: 12px 8px;
        width: 100%
    }

    .calendar__days {
        left: 8px;
        top: calc(100% - 12px);
        width: calc(100% - 16px)
    }

    .calendar__datepicker {
        background-color: var(--color-support-5);
        border-radius: 8px
    }

    .calendar__datepicker--active {
        background-color: rgba(var(--color-support-2-rgb),.3)
    }

    .calendar__navigation {
        background-color: var(--color-support-5);
        border-radius: 8px;
        height: 100%;
        width: 30px
    }

    .calendar__navigation:hover {
        border-radius: 8px
    }
}

svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
}

.event {
    color: #555e61;
    font-size: 11px;
    display: block;
}

.event .sportName:first-of-type {
    border-radius: 0 0 8px 8px;
    /*padding-right: 10px;*/
}

.wclLeagueHeader {
    --odds-width: 59px;
    align-items: center;
    border-top: 1px solid #fff;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 32px 1fr auto max-content;
    position: relative;
}

.wcl-pinned_WU5N6 {
    background-color: #fff;
}

.wcl-header_uBhYi {
    align-items: center;
    background-color: #343A40;
    border-radius: var(--radius-highlights-desktop);
    display: grid;
    min-height: 32px;
}

.wclLeagueHeader .event__title {
    grid-column: 2 / 3;
}

@media screen and (min-width: 799px) {
    .event__title {
        margin: auto 6px auto 5px;
    }
}

.event__title {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: row;
    font-weight: 600;
    justify-content: flex-start;
    line-height: 1.1;
    max-width: 100%;
    position: relative;
    white-space: nowrap;
}

.wclLeagueHeader .event__titleInfo {
    align-items: center;
    display: grid;
    grid-template-columns: auto 1fr;
}

.wclFlag {
    margin-right: 8px;
}

.wclLeagueHeader .event__titleBox {
    align-items: center;
    display: flex;
}

@media screen and (min-width: 799px) {
    .event__titleBox {
        grid-template: "type name sport";
    }
}

.event__titleBox {
    display: grid;
    grid-row-gap: 2px;
    grid-template-areas:
        " name "
        " type ";
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.wclLeagueHeader__textColor {
    color: #ffffff;
}

.wclLeagueHeader__overline {
    font-weight: 600;
}

.wcl-overline_rOFfd {
    display: block;
    text-transform: uppercase;
    color: #ffffff;
}

.event .soccer .event__match--twoLine {
    grid-template:
        " check dropdown stageOrTime homeParticipant timer homeScore homePart1 homePart2 iconStr iconInf iconTv iconStd liveIcon" minmax(23px, auto)
        " check dropdown stageOrTime awayParticipant timer awayScore awayPart1 awayPart2 iconStr iconInf iconTv iconStd liveIcon" minmax(23px, auto) / max-content var(--width-dropdown, 0) var(--width-stageOrTime) 1fr 30px 45px 34px 28px 24px 24px 38px var(--width-liveBet, 0);
}

.event__match:not(.event__main), .event__match:not(.event__main) .event__participantTeam, .event__match:not(.event__main) .event__result--price, .event__match:not(.event__main) .event__resultLaps, .event__match:not(.event__main) .event__resultPit, .event__match:not(.event__main) .event__resultPoints, .event__match:not(.event__main) .event__resultPosition, .event__match:not(.event__main) .event__resultRides, .event__match:not(.event__main) .event__resultWins {
    color: #001e28;
}

.wclLeagueHeader+.event__match {
    margin-top: 1px;
}

.event__match--withRowLink {
    position: relative;
}

@media screen and (min-width: 799px) {
    .event__match--twoLine {
        position: relative;
    }
}

.event__match--twoLine {
    color: #001e28;
    display: grid;
}

.event__match {
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .4sease;
}

.event__match {
    --width-liveBet: 31px;
}

.event__match {
    --width-liveBet: 31px;
    --width-stageOrTime: 90px;
}

@media screen and (min-width: 799px) {
    .event__match--twoLine:before {
        background: var(--color-combination-8);
        content: "";
        height: calc(100% - 12px);
        position: absolute;
        right: 144px;
        top: 6px;
        width: 1px;
    }
}

.event__match--withRowLink .eventRowLink {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

@media screen and (min-width: 799px) {
    .event .contest--leagues .event__match:not(.event__match--scheduled) .event__time, .event .event__stage, .event .event__time, .event--leagues .event__match:not(.event__match--scheduled) .event__time {
        grid-area: stageOrTime;
    }
}

@media screen and (min-width: 799px) {
    .event__match--twoLine .event__part, .event__match--twoLine .event__score, .event__match--twoLine .event__stage {
        justify-content: center;
    }
}

@media screen and (min-width: 799px) {
    .event__match--twoLine .event__stage, .event__match--twoLine .event__time {
        color: #555e61;
        margin-left: 0;
        text-align: center;
        word-break: break-word;
    }
}

.event__match--twoLine .event__stage {
    align-items: center;
    display: flex;
    grid-area: stageOrTime;
    justify-content: center;
    line-height: 15px;
    margin-left: 4px;
    text-align: right;
}

.event__stage {
    margin-left: 0;
}

.event__stage--block {
    text-align: center;
}

.event__match .event__homeParticipant {
    grid-area: homeParticipant;
    margin-left: 8px;
}

.event__match .event__timer {
    grid-area: timer;
    margin-left: 2px;
}

/*
.wcl-participant_7lPCX {
    align-items: center;
    display: grid;
    grid-template: " logo name card next injury highlight" auto / max-content auto auto auto auto 1fr;
}*/

.wcl-logo_EkYgo {
    grid-area: logo;
    justify-self: end;
    margin-right: 8px;
}

.wcl-sizeXXS_-SmAO {
    height: 17px;
    width: 27px;
}

.wcl-assetContainer_ZFzzG {
    width: 86%;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.wcl-name_3y6f5 {
    grid-area: name;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcl-scores-simpleText-01_pV2Wk {
    font-size: var(--typography-desktop-regular-scores-simpleText-01-font-size);
    font-weight: var(--typography-desktop-regular-scores-simpleText-01-font-weight);
    line-height: var(--typography-desktop-regular-scores-simpleText-01-line-height);
    text-decoration: var(--typography-desktop-regular-scores-simpleText-01-text-decoration);
    text-transform: var(--typography-desktop-regular-scores-simpleText-01-text-case);
}

.wcl-simpleText_Asp-0 {
    display: block;
}

.event__match .event__awayParticipant {
    grid-area: awayParticipant;
    margin-left: 8px;
}

.wcl-participant_7lPCX {
    align-items: center;
    display: grid;
    grid-template: " logo name card next injury highlight" auto / max-content auto auto auto auto 1fr;
}

.event .event__score--home {
    grid-area: homeScore;
}

.event__match--twoLine .event__score {
    align-items: center;
    display: flex;
}

.event .bold, .event__match--twoLine .event__part--2, .event__match--twoLine .event__part--fontBold, .event__match--twoLine .event__rounds--result, .event__match--twoLine .event__score, .event__match--twoLineUS .event__part--2, .event__match--twoLineUS .event__part--fontBold, .event__match--twoLineUS .event__rounds--result, .event__match--twoLineUS .event__score, .fontBold {
    font-weight: 700;
}

.event .event__score--away {
    grid-area: awayScore;
}

.event__time {
    display: none;
}

use {
    pointer-events: none;
}

:not(svg) {
    transform-origin: 0px 0px;
}

.container footer {
    background: #001e28;
    grid-area: footer;
}

body {
    font-family: "Poppins", serif;
    margin: 0;
}

@media screen and (max-width: 799px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    overflow-x: hidden;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "navegation"
      "main_info"
      "footer";
  }

  .div_main_info,
  .container main,
  .container header {
    width: 100% !important;
    max-width: 100%;
  }

  svg {
    max-width: 100%;
    height: auto;
  }

  div {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Ocultar aside y footer */
  .container aside,
  .container footer {
    display: none !important;
  }

  /* ---------- HEADER / LOGIN ---------- */

  .header-content {
    display: flex;                      /* Asegura flexbox */
    justify-content: space-between;    /* Distribuye logo e ícono */
    align-items: center;
    padding: 8px 12px;
    width: 100%;
  }

  .logo-svg {
    max-width: 160px; /* Limita el ancho del logo en móviles */
    height: auto;
  }

  .login-text {
    display: none; /* Oculta texto en móviles */
  }

  .login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 8px;
    border-radius: 20%;
    background-color: #003344;
    margin-left: auto;
    flex-shrink: 0;
  }

  .login-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
  }
}

@media screen and (max-width: 480px) {
  .user-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .user-info .extra-icon {
    order: 1;
    width: 22px;
    height: 22px;
  }

  .user-info form {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .user-info button {
    font-size: 12px;
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .extra-icon:hover {
    transform: scale(1.2);
    fill: #ff0046; /* o cualquier otro color deseado */
  }

  .dropdown-menu {
      right: 0;
      left: 0px;
      top: 36px;
      min-width: 30vw;
      border-radius: 10px;
      font-size: 16px;
      padding: 0;
      background-color: #009bcf;
      text-align: center;
    }

    .dropdown-menu a {
      padding: 8px;
      font-size: 11px;
      display: block;
      border-bottom: 1px solid #004455;
    }

    .dropdown-menu a:last-child {
      border-bottom: none;
    }

    .icon-wrapper {
      position: relative;
      width: 36px;
      height: 15px;
    }

    .extra-icon {
      width: 100%;
      height: 100%;
    }
}


@media screen and (max-width: 700px) {
  .event .soccer .event__match--twoLine {
      grid-template:
        "check homeParticipant timer homeScore" minmax(23px, auto)
        "check awayParticipant timer awayScore" minmax(23px, auto) /
        max-content 1fr 45px 30px;
    }

  .event__stage {
      display: none !important;
    }

  .event__homeParticipant,
    .event__awayParticipant {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 11px;
      align-self: center;
    }

    .event__homeParticipant {
      grid-area: homeParticipant;
    }

    .event__awayParticipant {
      grid-area: awayParticipant;
    }

  /* Ajustar filtros */
  .filters {
    flex-direction: column;
    padding: 8px;
  }

  .filters__group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .filters__tab {
    font-size: 10px;
    padding: 4px 10px;
  }

  .calendarCont {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .calendar {
    grid-template-columns: 30px 1fr 30px;
    width: 100%;
    padding: 4px 8px;
  }

  .calendar__datepicker {
    font-size: 12px;
    padding: 4px 0;
  }

  #calendarMenu {
    height: 28px;
    font-size: 11px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 6px;
  }

  #btnPrevDay,
  #btnNextDay {
    height: 28px;           /* igual altura que el botón central */
    width: 28px;            /* opcionalmente para que sean más grandes */
    font-size: 12px;        /* asegúrate que el icono no se vea muy pequeño */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 6px;
    background-color: #eee; /* opcional, para visual uniformity */
  }

  /* Texto de eventos más pequeño */
  .event__title, .event__stage, .event__match .event__homeParticipant,
  .event__match .event__awayParticipant {
    font-size: 11px;
    padding: 0 4px;
  }

  .event__match--twoLine {
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    font-size: 11px;
  }

  .event__score {
    font-size: 12px;
  }

  .wcl-logo_EkYgo img {
    width: 20px;
    height: auto;
  }

  .event .event__score--home,
  .event .event__score--away {
    font-size: 11px;
  }

  /* Controlar padding y márgenes generales */
  .div_main_info {
    padding: 0 0px;
  }
}

