:root {
    --bs-body-font-size: 1.2rem;
    --bs-navbar-height: 100px;    
}

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: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LjUgMzMuNjY3IDMuNS5NTUEyIDQxLjEyMyA1Ni43MTYgOTUuMTcwIDExLjQ1IDM1LjU3MiAxMTMuNTg1IDE1LjI2IDI1LjQwMyA1MC41MzIgMjUuNTMwUzE1LjA4IDIzLjIgMTguODc1IDE2LjQzMiA4LjA4MSAxMy41NjUgOS41NTEgNi43NTYgMjAtMTAuNTUtMjAuOTU1LTE4LjkwMy0yMC45NzUtMCAyMCAgMzIuNDcgMzcuNTkgMzIuNzItNTUuNDcwIDMxLjEzNy0xMi43OTggMjAuMDAzLTMuOTA4IDMuNzUtMTQuOTE2IDguNjkwNyA2LjcwIDU4LjQ4MzcgMTUuMDIgMTYuMzMxIDUyLjgzMiAxMC44NTUgOC40MDkgMTAuODU0IDcuNTcwNyAxMC43NDQgOS41OTcgOS4xOTg7OS4xOTgtOS4xOTgtOS4xOTYgOC4xOTYgNC4zNTMgOC4xOTYgOC4xOTYgOC4xOTU3IDguMS42NzYgMTAuNzY3CiAgICAgICAgICBNMjIuNTU5IDQuSUNNI0ZHQyLoAREhISgoKCggIiwgIiwgIiwgIiAgICAgICAgICBTMi42MjYgMCAyMyAxMyA4LjM1IDguNzUgMTQuNzg1IDGuOCAyLjg1NSA2LjA5MiAyLjc0OSAxLjMxNSAyLjcyMSA5LjMzNSAxLjMxNSIgdHJhbnNsYXRlKC7sh7ot27og4bBsLiqjgnXCoWF2YWluIGFubG9uZy9jw6HDtG9sbG8ic3R5bGU9ImRpc3BsYXk6YmxvY2s7DxkbjdYCAY/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;
}
/************  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 .badge {
    position: relative;
    left: -8px;
    font-size: 8px;
}
/**************** HOME PAGE********************/
.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;
}

/********** GENERAL**************/
.section-padding {
    padding: 80px 0;
}
.section-padding-bottom{
    padding-bottom:80px;
}
@media (max-width: 767px) {
    .section-padding {
        padding: 40px 0;
    }    
}
.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;
}
/****************** 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-item {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 70px;
    border: 1px solid var(--bs-warning);
    border-radius: 20px;
    background-color: #fff;
    color:var(--bs-primary);
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.boleto-item:hover {
    background-color: var(--bs-secondary);
    border-color: unset;
    color: #fff;
}
.boleto-item.selected {
    background-color: var(--bs-primary);
    color: #fff;
}
.boleto-item.selected:hover {
    background-color: var(--bs-primary);
    opacity: 0.9;
}
.boleto-pill {
    background-color: #e8eaf6;
    color: #3f51b5;
    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;
}

