@font-face {
    font-family: 'OpenRunde';
    src: url('../fonts/OpenRunde-Regular.woff2') format('woff2'),
        url('../fonts/OpenRunde-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OpenRunde';
    src: url('../fonts/OpenRunde-Medium.woff2') format('woff2'),
        url('../fonts/OpenRunde-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'OpenRunde';
    src: url('../fonts/OpenRunde-Semibold.woff2') format('woff2'),
        url('../fonts/OpenRunde-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'OpenRunde';
    src: url('../fonts/OpenRunde-Bold.woff2') format('woff2'),
        url('../fonts/OpenRunde-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'OpenRunde', sans-serif;
    background-color: rgb(241, 243, 244);
    margin: 0;
    padding-top: 70px;
    padding-left: 40px;
    padding-right: 40px;
}

body.index-page {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
    margin: 20px 0 50px;
    width: 100%;
}

.card-wrapper {
    flex-basis: calc(33.33% - 20px);
    box-sizing: border-box;
    position: relative;
    min-height: 150px;
}

.skeleton-card,
.real-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 150px;
}

.skeleton-card {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skeleton-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-right: 20px;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.skeleton-title,
.skeleton-text,
.skeleton-text-last {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-title {
    width: 60%;
    height: 20px;
}

.skeleton-text {
    width: 80%;
    height: 14px;
}

.skeleton-text-last {
    width: 40%;
    height: 14px;
}

.real-card {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.card-image {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.card-content {
    flex: 1;
}

.card-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
}

.card-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.card-logo {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.card-logo.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 1s;
}

.card-logo img {
    max-width: 30px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.card-logo span {
    white-space: nowrap;
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
    color: #007BFF;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.chip {
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.chip:hover {
    background-color: #007BFF;
    color: white;
}

.chip.active {
    background-color: #007BFF;
    color: white;
    border-color: #007BFF;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.search-bar-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    flex: 1;
}

#search-bar {
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #d1d1d1;
    background-color: white;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#search-bar:focus {
    border-color: #a1a1a1;
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
}

#no-results {
    text-align: center;
    margin-top: 50px;
    font-size: 1.5rem;
    color: #666;
}

.dropdown-container {
    position: relative;
}

.dropdown-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-button i {
    margin-left: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f9f9f9;
    min-width: 250px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    z-index: 10;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.dropdown-item input {
    margin-right: 10px;
    transform: scale(1.2);
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.bancos-page .card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 150px;
}

.bancos-page .real-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    min-height: 150px;
    transition: background-color 0.3s ease;
}

.bancos-page .real-card:hover {
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bancos-page .card-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    flex-shrink: 0;
}

.bancos-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bancos-page .card-content {
    flex-grow: 1;
}

.bancos-page .card-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.place-page {
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding-top: 70px;
}

.place-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.place-page h1 {
    text-align: center;
    margin-top: 10px;
    font-weight: 700;
}

.place-page .place-logo {
    display: block;
    margin: 20px auto;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.place-page .overview {
    margin-bottom: 20px;
}

.place-page .overview-title {
    color: #8e8e8e;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.place-page .info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.place-page .info-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    width: calc(50% - 7.5px);
    box-sizing: border-box;
    border: 1px solid #dfdfdf;
}

.place-page .info-box.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.place-page .icon-center {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}

.place-page .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.place-page .info-text-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
    color: #000;
}

.place-page .info-box p {
    font-size: 14px;
    color: #555;
}

.place-page .info-box.left-align p {
    text-align: left;
}

.place-page .info-box.center-align p {
    text-align: center;
}

.place-page .material-symbols-outlined {
    color: #4CAF50;
}

.place-page .info-icon-blue {
    color: #1E88E5;
}

.place-page .icon-check .info-text-title {
    color: #4CAF50;
}

.place-page .icon-info .info-text-title {
    color: #1E88E5;
}

.place-page .additional-info h3 {
    margin-top: 20px;
    color: #8e8e8e;
    font-size: 15px;
    font-weight: 700;
}

.place-page .additional-info ul {
    list-style-type: none;
    padding-left: 0;
}

.place-page .additional-info li {
    margin-bottom: 10px;
}

.card-wrapper {
    cursor: pointer;
    position: relative;
    min-height: 150px;
    transition: transform 0.2s ease;
}

.card-wrapper:hover {
    transform: scale(1.02);
}

.hero-content {
    background: #000000;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.hero-title h1 {
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-title p {
    font-size: 1.2em;
}

.section-common {
    padding: 40px 250px;
    background: white;
    border-top: 1px solid #ddd;
}

.section-common:nth-of-type(even) {
    background: #f9f9f9;
}

.text-content h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #000000;
}

.text-content p {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #555;
    margin-bottom: 20px;
}

.image-wrapper {
    text-align: center;
    margin-top: 20px;
}

.terminal-image {
    max-width: 100%;
    height: auto;
}

.cta-button {
    background: #007BFF;
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.cta-button:hover {
    background: #0056b3;
}

.cta-button a {
    text-decoration: none;
    color: inherit;
}

.pay-ewallet-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pay-ewallet-container .text-content {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.pay-ewallet-container .image-wrapper {
    flex: 1;
    max-width: 40%;
    text-align: right;
}

.pay-ewallet-container .terminal-image {
    max-width: 80%;
    height: auto;
}

.pay-ewallet-section {
    background-color: #007BFF;
    color: white;
    padding: 40px 250px;
}

.pay-ewallet-section h2,
.pay-ewallet-section p {
    color: white;
}

.pay-ewallet-section .cta-button {
    background: white;
    color: #007BFF;
}

.pay-ewallet-section .cta-button:hover {
    background: #f0f0f0;
    color: #007BFF;
}

@media (max-width: 992px) {
    .card-wrapper {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.index-page {
        padding-left: 0;
        padding-right: 0;
    }

    .card-wrapper {
        flex-basis: calc(100% - 20px);
    }

    .cards-container {
        justify-content: center;
    }

    .chips-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .controls-container {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-container {
        margin-top: 10px;
        width: 100%;
    }

    .dropdown-button {
        width: 100%;
        justify-content: center;
    }

    .dropdown-content {
        width: 100%;
    }

    .bancos-page .card-wrapper {
        flex-basis: calc(100% - 20px);
    }

    .place-page .info-boxes {
        flex-direction: column;
    }

    .place-page .info-box {
        width: 100%;
        margin-bottom: 15px;
    }

    .place-page .place-logo {
        width: 100%;
        max-width: 250px;
        margin: 10px auto;
    }

    .hero-title h1 {
        font-size: 1.5em;
    }

    .hero-title p {
        font-size: 1em;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 1.2rem;
    }

    .section-common {
        padding: 40px 20px;
    }

    .pay-ewallet-container {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .pay-ewallet-container .text-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
        order: 1;
        text-align: left;
    }

    .pay-ewallet-container .text-content h2,
    .pay-ewallet-container .text-content p {
        text-align: left;
    }

    .pay-ewallet-container .image-wrapper {
        max-width: 100%;
        text-align: center;
        order: 2;
    }

    .pay-ewallet-container .terminal-image {
        max-width: 90%;
        height: auto;
    }

    .pay-ewallet-section {
        padding: 40px 20px;
    }

    .pay-ewallet-section .cta-button {
        align-self: flex-start;
    }

    h1 {
        padding: 20px 20px 2px 20px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        max-width: 90%;
    }

    .chips-container {
        padding-inline: 20px;
    }

    .search-bar-container {
        padding-inline: 20px;
    }
}