:root {
    --bs-body-font-size: 1.2rem;
    --bs-navbar-height: 95px;
    --bs-link-hover-color: var(--bs-yellow);
    --bs-nav-link-hover-color: var(--bs-yellow);
    --bs-btn-active-bg: var(--bs-yellow);
    --bs-boleto-bg: #e8eaf6;
}

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    /*font-family: "Montserrat", sans-serif;*/
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
}

@media (min-width: 768px) {
    h1, .h1 {
        font-size: 3.5rem;  /* 56px - Desktop grande */
    }

    h2, .h2 {
        font-size: 2.5rem;  /* 40px - Desktop */
    }

    h3, .h3 {
        font-size: 2rem;   /* 32px - Desktop */
    }

    h4, .h4 {
        font-size: 1.5rem;  /* 24px - Desktop */
    }

    h5, .h5 {
        font-size: 1.25rem; /* 20px - Desktop */
    }

    h6, .h6 {
        font-size: 1rem;   /* 16px - Desktop */
    }
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: unset;
}
.table-primary {
    --bs-table-bg: var(--bs-primary);
}
.alert-primary {
    background-color: var(--bs-primary);
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTNsLjUxMyAyOTAgOTQuMDg1IDk0LjA4NSA9QjIxLjDoFyYjIzZPOLjIzLjM4MyA5NC40NjVhIDUwLjgzMiA5NC4yNTQgMCAxMDIuMyA2NS43NTYgOTAgaC4wNjUgMy4xMDMgMy4zNTYgNi43MTYgOS43MTYgOS45NTggOC43NTIgMzYwIDE2Mi41OCAzNjAgMTYyLjM1IDM2MCAzNjIuMzg1IDE1LjM2MiAxNTYuMzY4IDE5LjA2MyAxNTYuMzY4IDIwLjg4IDAgMi42MDkgM04zMjAuNTU5IDQuSUNNI0ZHQyLoAREhISgoKCggIiwgIiwgIiwgIiAgICAgICAgICBNMjIuNTU5IDQuSUNNI0ZHQyLoAREhISgoKCggIiwgIiwgIiwgIiAgICAgICAgICBTMTAuOTc2IDE2LjA5NzMgMTQuMzE5IDIyLjQwMDYgMjUuNTIwMiA1Ny41NTYgMjUuNTIwMiAzLjUgMzMuNjY3IDMuNS5NTUEyIDQxLjEyMyA1Ni43MTYgOTUuMTcwIDExLjQ1IDM1LjU3MiAxMTMuNTg1IDE1LjI2IDI1LjQwMyA1MC41MzIgMjUuNTMwUzE1LjA4IDIzLjIgMTguODc1IDE2LjQzMiA4LjA4MSAxMy41NjUgOS41NTEgNi43NTYgMjAtMTAuNTUtMjAuOTU1LTE4LjkwMy0yMC45NzUtMCAyMCAgMzIuNDcgMzcuNTkgMzIuNzItNTUuNDcwIDMxLjEzNy0xMi43OTggMjAuMDAzLTMuOTA4IDMuNzUtMTQuOTE2IDguNjkwNyA2LjcwIDU4LjQ4MzcgMTUuMDIgMTYuMzMxIDUyLjgzMiAxMC44NTUgOC40MDkgMTAuODU0IDcuNTcwNyAxMC43NDQgOS41OTcgOS4xOTg7OS4xOTgtOS4xOTgtOS4xOTYgOC4xOTYgNC4zNTMgOC4xOTYgOC4xOTYgOC4xOTU3IDguMS42NzYgMTAuNzY3CiAgICAgICAgIC BNMjIuNTU5IDQuSUNNI0ZHQyLoAREhISgoKCggIiwgIiwgIiwgIiAgICAgICAgICBTMi42MjYgMCAyMyAxMyA4LjM1IDguNzUgMTQuNzg1IDGuOCAyLjg1NSA2LjA5MiAyLjc0OSAxLjMxNSAyLjcyMSA5LjMzNSAxLjMxNSIgdHJhbnNsYXRlKC7sh7ot27og4bBsLiqjgnXCoWF2YWluIGFubG9uZy9jw6HDtG9sbG8ic3R5bGU9ImRpc3BsYXk6YmxvY2s7DxkbjdYCAY/msIMSIpBgYGBgQmGDSOhY7MmAqiIpAAOw==) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/********** GENERAL**************/
.section-padding {
    padding: 80px 0;
}
.section-padding-bottom{
    padding-bottom:80px;
}
@media (max-width: 767px) {
    .section-padding {
        padding: 40px 0;
    }    
}
.header-banner {
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.header-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);    
}
.header-banner .content {
    position: relative; 
    z-index: 1;
    color: white;
    text-align:center;
    padding:20px;
}
.title-center{
    text-align: center;
    margin-bottom: 40px;
}
.text-yellow{
    color: var(--bs-yellow);
}
.bg-white {
    background-color: #fff;
}
.white-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
}
.image-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
}
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}
.notification-badge {
    font-size: .6rem;
    border-radius: 10px;
}
.btn-icon {
    min-width: 30px !important;
    background-color: unset !important;
    padding: 6px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--body-color);
    text-transform: none;
}
.btn-icon i {
    font-size: 1.5rem;
    color: var(--body-color);
}
@media (max-width: 767px) {
    .btn-icon span {
        display: none;
    }
}
.bg-modal {
    background-color: rgba(0,0,0,0.7);
}
.data-table {
    font-size: 0.9rem;
}
.data-table .boleto{
    letter-spacing:2px;    
    padding:8px;
}
/************  NAVBAR MENU **********/
header {
    padding-bottom: var(--bs-navbar-height);
}
.navbar-dark {
    --bs-navbar-active-color: var(--bs-yellow);
}
.navbar-brand img {
    max-width: 150px;
}
@media (max-width: 767px) {
    .navbar-brand img {
        max-width: 120px;
    }
}
.navbar-collapse {
    transition: height 0.35s ease;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.navbar-actions .btn-link {
    color: var(--bs-yellow);
    box-shadow: none;
    text-decoration: none;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}
.navbar-actions .btn-link:hover {
    transform: scale(1.1);
}
.navbar-actions .btn-link i {
    display: block;
    font-size: 1.3rem;
}
.navbar-actions .badge {
    font-size: 0.6rem;
    padding: 0.25em 0.4em;
}
.navbar-actions .dropdown {
    position: relative;
}
.navbar-actions .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 0.5rem;
    min-width: 200px;
    z-index: 1050;
}
.navbar-actions .dropdown-menu.show {
    display: block;
}
.notifications-dropdown {
    min-width: 400px !important;
    padding: 0;
}
@media (max-width: 576px) {
    .notifications-dropdown {
        min-width: 300px !important;
    }
}
.notifications-dropdown .dropdown-header {
    background-color: var(--bs-light);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.notifications-list {
    max-height: 400px !important;
    overflow-y: auto;
}
.notification-item {
    white-space: normal;
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease;
}
.notification-item:hover {
    background-color: var(--bs-light) !important;
}
.notification-icon {
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}
.notification-content p {
    line-height: 1.4;
    color: var(--bs-dark);
}
.dropdown-footer {
    background-color: var(--bs-light);
}
.dropdown-footer .dropdown-item {
    color: var(--bs-primary);
    font-size: 0.9rem;
}
.dropdown-footer .dropdown-item:hover {
    background-color: var(--bs-yellow) !important;
}
/**************** LOGIN PAGE ***********/
    .login .logo {
        max-width: 200px;
        margin-bottom: 1rem;
    }
/**************** HOME PAGE********************/
.slideCarousel {
    border-radius: 10px;
}
.slideCarousel .carousel-item {
    height: 50vh;
}
.slideCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}
.slideCarousel .carousel-caption {
    margin-bottom: 50px;
}
.slideCarousel .carousel-caption h4 {
    margin-bottom: 25px;
    margin-right: auto;
    margin-left: auto;
    max-width: 370px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2)
}
.slideCarousel button, .slideCarousel a {
    border-radius: 50px;
}
.combo-filter {
    border-radius: 30px;
    padding: 12px
}
.sorteo-card {
    border-radius: 12px;
    background-color: #FFF;
    margin-bottom: 24px;
    transition: all 0.4s;
    border: none;
}
.sorteo-card:hover {
    box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.15);
}

.sorteo-card .card-header, .sorteo-card .card-footer {
    background-color: unset;
}
.sorteo-card .card-footer button {
    color: #fff;
    border-radius: 20px;
}
.sorteo-card .card-body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 270px;
    position: relative;
    cursor: pointer;
}
.sorteo-card .card-body .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    border-radius: inherit;
    z-index: 1;
}

.sorteo-card .card-body .card-info {
    position: relative;
    z-index: 2;
}
/****************** FOOTER *********************/
.custom-footer {
    background-color: var(--bs-primary);
    color: #ffffff;
    padding: 80px 0 30px;
}
.footer-content {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}
.footer-column {
    padding: 0 15px;
}
.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: none;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}
.footer-copyright p {
    margin: 0;
    font-size: 16px;
}

.footer-copyright a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-copyright a:hover {
    color: #5ba3ff;
    text-decoration: none;
}
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}
.footer-social li {
    margin: 0;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #1a1a1a;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}
.footer-social a:hover {
    background-color: #4a90e2;
    color: #ffffff;
    transform: translateY(-3px);
}
.footer-social i {
    line-height: 1;
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        padding-bottom: 30px;
        margin-bottom: 20px;
    }

    .footer-column {
        text-align: center;
        padding: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }    

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
/**************** SORTEO PAGE********************/
.sorteo-premios {
    padding-bottom: 100px;
}
.sorteo-premios .white-box {
    margin-bottom: 12px;
}
.boleto-container {
    max-height: 500px;
    overflow-y: auto;
    width: 100%;
    padding: 4px;
}
.boleto-grid {
    display: grid;
    gap: 6px;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (min-width: 576px) {
    .boleto-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 7px;
    }
}
@media (min-width: 992px) {
    .boleto-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
}
@media (min-width: 1400px) {
    .boleto-grid {
        grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    }
}
.boleto-item {
    font-size: 12px;
    
    border: 1px solid var(--bs-warning);
    border-radius: 40px;
    background-color: #fff;
    color: var(--bs-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    min-height: 32px;
}

.boleto-item:hover {
    background-color: var(--bs-secondary);
    border-color: unset;
    color: #fff;
    transform: scale(1.05);
}

.boleto-item.selected {
    background-color: var(--bs-primary);
    border-color: unset;
    color: #fff;
}

.boleto-item.selected:hover {
    background-color: var(--bs-primary);
    opacity: 0.9;
    transform: scale(1.05);
}
.boleto-item.large {
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.boleto-pill {
    background-color: var(--bs-boleto-bg);
    color: var(--bs-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-right: 1rem;
    padding-left: 1rem;
}
.boleto-pill.small {
    font-size: 0.8rem;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
}
.boleto-pill .btn-close {
    font-size: 12px;
}
.alert-timer {
    position: sticky;
    top: var(--bs-navbar-height);
    z-index: 1040;
    padding-top: 10px;
}
/************** FAVORITOS ********************/
.favorite-number-card {
    position: relative;
    background-color: var(--bs-boleto-bg);
    color: var(--bs-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
}
.favorite-number-display {
    font-size: 1.8rem;
    font-weight: 700;    
    letter-spacing: 0.3rem;    
}
.btn-remove-favorite {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    color: var(--bs-danger);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}
.btn-remove-favorite:hover {
    background: var(--bs-danger);
    color: white;
    padding: 8px;
    border-radius: 50%;
}
.stat-card {
    padding: 1rem;
}
.list-group-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 8px !important;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}
.list-group-item:hover {
    background-color: var(--bs-light);
}

