.gg-resultados-empty,
.gg-resultados-tabs__placeholder {
    padding: 20px;
    text-align: center;
    color: #4A5568;
    background: #F4F6F9;
    border-radius: 8px;
}

.gg-resultados-tabs__nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .gg-resultados-tabs__nav {
        grid-template-columns: repeat(2, auto);
    }
}

.gg-resultados-tabs__btn {
    background: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.gg-resultados-tabs__btn:focus {
    outline: none;
}

.gg-resultados-tabs__btn img {
    display: block;
    object-fit: contain;
}

.gg-resultados-tabs__btn-text {
    font-weight: 700;
    color: #1A382D;
}

.gg-resultados-tabs__panel {
    display: none;
    text-align: center;
}

.gg-resultados-tabs__panel.is-active {
    display: block;
}

.gg-resultados-tabs__proximo {
    margin: 0 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4A5568;
}

.gg-resultados-tabs__image {
    overflow: hidden;
    width: 107%;
    margin: 0 -3.5% 16px;
    max-height: 750px !important;
}

.gg-resultados-tabs__image img {
    width: 100%;
    height: auto;
    max-height: 750px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gg-resultados-tabs__btn-history {
    display: inline-block;
    margin-top: 16px;
    background: #F5C800;
    color: #1A382D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
}

.gg-resultados-tabs__btn-history:hover {
    background: #E0B400;
}

.gg-resultados-history__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .gg-resultados-history__header {
        flex-direction: column;
    }
}

.gg-resultados-history__info-title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A382D;
}

.gg-resultados-history__info-line {
    margin: 0 0 4px;
}

.gg-resultados-history__info-day,
.gg-resultados-history__info-draw {
    color: #000000;
    font-size: 20px;
    white-space: nowrap;
}

.gg-resultados-history__info-separator {
    margin: 0 6px;
    color: #4A5568;
}

.gg-resultados-history__date-selector {
    position: relative;
    flex-shrink: 0;
    align-self: center;
}

.gg-resultados-history__item-toggle.gg-resultados-history__selector-button {
    display: inline-block;
    width: auto;
    text-align: center;
    background: #F5C800;
    color: #1A382D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 18px 32px;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.35;
    border: none;
    cursor: pointer;
}

.gg-resultados-history__selector-button-line {
    display: block;
}

.gg-resultados-history__item-toggle.gg-resultados-history__selector-button:hover {
    background: #E0B400;
}


.gg-resultados-history__date-selector .gg-resultados-calendar {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    margin-top: 8px;
}

@media (max-width: 400px) {
    .gg-resultados-history__date-selector .gg-resultados-calendar {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

.gg-resultados-calendar {
    width: 320px;
    max-width: 90vw;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(26, 56, 45, 0.08);
}

.gg-resultados-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gg-resultados-calendar__month {
    font-weight: 800;
    color: #1A382D;
    text-transform: capitalize;
}

.gg-resultados-calendar__nav {
    background: #F4F6F9;
    border: none;
    color: #1A382D;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gg-resultados-calendar__nav:hover {
    background: #EAF0EE;
}

.gg-resultados-calendar__weekdays,
.gg-resultados-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.gg-resultados-calendar__weekday {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #4A5568;
    padding-bottom: 6px;
}

.gg-resultados-calendar__day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    background: transparent;
}

.gg-resultados-calendar__day--empty {
    pointer-events: none;
}

.gg-resultados-calendar__day--disabled {
    color: #CBD5E0;
    cursor: not-allowed;
}

.gg-resultados-calendar__day--enabled {
    color: #1A382D;
    background: #F4F6F9;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gg-resultados-calendar__day--enabled:hover {
    background: #EAF0EE;
}

.gg-resultados-calendar__day--active {
    background: #1A382D !important;
    color: #FFFFFF !important;
}

.gg-resultados-history__main {
    position: relative;
    min-height: 80px;
    text-align: center;
    margin-bottom: 32px;
}

.gg-resultados-history__main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.gg-resultados-history__title {
    margin-bottom: 12px;
}

.gg-resultados-history__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gg-resultados-history__item {
    border-bottom: 1px solid #E2E8F0;
}

.gg-resultados-history__item-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 4px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1A382D;
}

.gg-resultados-history__item-toggle[aria-expanded="true"] {
    font-weight: 700;
}

.gg-resultados-history__item-content {
    padding: 0 4px 16px;
}

.gg-resultados-history__item-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gg-resultados-history__pagination ul {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 20px 0 0;
    flex-wrap: wrap;
}

.gg-resultados-history__pagination a,
.gg-resultados-history__pagination span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    text-decoration: none;
    color: #1A382D;
}

.gg-resultados-history__pagination .current {
    background: #1A382D;
    color: #FFFFFF;
    border-color: #1A382D;
}