@charset "UTF-8";

/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Black.woff2") format("woff2");*/
/*    font-weight: 900;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Regular.woff2") format("woff2");*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Bold.woff2") format("woff2");*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Medium.woff2") format("woff2");*/
/*    font-weight: 500;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Light.woff2") format("woff2");*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-SemiBold.woff2") format("woff2");*/
/*    font-weight: 600;*/
/*    font-style: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: Geist;*/
/*    font-display: swap;*/
/*    src: url("../fonts/Geist-Thin.woff2") format("woff2");*/
/*    font-weight: 100;*/
/*    font-style: normal;*/
/*}*/

:root {
    --font-family: "Geist", sans-serif;
    --color-white: #fff;
    --color-black: #000;
    --color-blue: #0072de;
    --color-green-1: #00e370;
    --color-green-2: #f2fffa;
    --color-red-1: #e30000;
    --color-red-2: #fff2f4;
    --color-gray-1: #202020;
    --color-gray-2: #646464;
    --color-gray-3: #f9f9f9;
    --color-gray-4: #e7e7e7;
    --color-gray-5: #f9f9f98a;
    --color-gray-6: #d8d9d9;
    --color-gray-7: #8d8d8d;
    --color-gray-8: #f6f6f6;
    --color-gray-9: #efefef;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --pc-max-width: 800px;

    --border-radius-soft: 6px;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: geometricPrecision;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

html,
body,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

a {
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}

a:active,
a:hover {
    outline: 0;
}

img {
    border: 0;
}

ul,
li {
    outline: 0;
    border: 0;
    list-style: none;
}

button {
    outline: none;
    border: none;
    background: none;
}

button,
input {
    font-family: var(--font-family);
}

main {
    padding-top: 10rem;
    min-height: calc(100vh - 11rem);
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: var(--pc-max-width);
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.page-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-heading p {
    max-width: 32rem;
}

.page-heading a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--color-gray-1);
}

h2 {
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: -0.025em;
    font-weight: 500;
    color: var(--color-gray-2);
}

p {
    font-size: 1rem;
    color: var(--color-gray-7);
    font-weight: 400;
    line-height: 1.5rem;
}

.button {
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: 0.15s opacity ease;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
}

.page-breadcrumb span {
    font-size: 0.9rem;
    color: var(--color-gray-7);
    line-height: 1rem;
}

.page-breadcrumb span::before {
    content: "•";
    color: var(--color-gray-7);
    margin: 0 8px;
}

.page-breadcrumb a {
    font-size: 0.9rem;
    color: var(--color-gray-7);
    line-height: 1rem;
    transition: 0.15s color ease;
}

.page-breadcrumb a:hover {
    color: var(--color-gray-1);
}

.custom-input {
    position: relative;
    margin: auto;
    width: 100%;
    overflow: hidden;
}

.custom-input .label {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    font-size: 1rem;
    color: var(--color-gray-2);
    transform-origin: 0 0;
    transform: translate3d(0, 0, 0);
    transition: all 0.15s ease;
    pointer-events: none;
}

.custom-input input {
    height: 3rem;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-1);
    padding: 1.5rem 0.9rem 0.8rem;
    appearance: none;
    border: 1px solid var(--color-gray-6);
    border-radius: 0.375rem;
}

.custom-input input:not(:placeholder-shown) + .label {
    color: var(--color-gray-1);
    transform: translate3d(0.2rem, -0.5rem, 0) scale(0.75);
}

.custom-input input:focus {
    outline: none;
}

.custom-input input:focus + .label {
    color: var(--color-gray-2);
    transform: translate3d(0.2rem, -0.5rem, 0) scale(0.75);
}

.custom-input input.is-valid {
    border: 1px solid var(--color-green-1);
}

.custom-input input.is-invalid {
    border: 1px solid var(--color-red-1);
}

.custom-select {
    position: relative;
    margin: auto;
    width: 100%;
    overflow: hidden;
}

.custom-select .label {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    font-size: 1rem;
    color: var(--color-gray-2);
    transform-origin: 0 0;
    transform: translate3d(0, 0, 0);
    transition: all 0.15s ease;
    pointer-events: none;
}

.custom-select select {
    height: 3.5rem;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-1);
    padding: 0.8rem 0.9rem;
    appearance: none;
    border: 1px solid var(--color-gray-6);
    border-radius: 0.375rem;
}

.custom-select select:not(:placeholder-shown) + .label {
    color: var(--color-gray-1);
    transform: translate3d(0.2rem, -0.5rem, 0) scale(0.75);
}

.custom-select select:focus {
    outline: none;
}

.custom-select select:focus + .label {
    color: var(--color-gray-2);
    transform: translate3d(0.2rem, -0.5rem, 0) scale(0.75);
}

.custom-select select.is-valid {
    border: 1px solid var(--color-green-1);
}

.custom-select select.is-invalid {
    border: 1px solid var(--color-red-1);
}

.form-button {
    background-color: var(--color-gray-1);
    color: var(--color-white);
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.form-button:hover {
    opacity: 0.9;
}

@media (max-width: 800px) {
    main {
        padding-top: 8rem;
    }
}

@-webkit-keyframes menu-animation {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menu-animation {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    width: 100%;
    position: fixed;
    top: 1.5rem;
    left: auto;
    right: auto;
    z-index: 10;
}

header .header-container {
    position: relative;
    margin: 0 auto;
    max-width: calc(var(--pc-max-width) - 3rem);
    width: 100%;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .header-container::after {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
    border-radius: 0.8rem;
    background-color: var(--color-gray-5);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--color-gray-4);
    transition: 0.3s background-color ease;
    z-index: -1;
}

header .logo {
    position: relative;
    height: 36px;
    width: 36px;
}

header .logo:hover .logo-icon {
    opacity: 0.9;
}

header .logo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

header .logo-icon {
    width: 100%;
    transition: 0.15s opacity ease;
}

header nav {
    display: flex;
}

header .nav-list {
    display: flex;
    gap: 0.25rem;
}

header .list-item.mobile {
    display: none;
}

header .list-item a {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-gray-2);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: 0.15s color ease;
}

header .list-item a:hover {
    color: var(--color-gray-1);
}

header .user-action {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-white);
    background-color: var(--color-gray-1);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: 0.15s opacity ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header .user-action:hover {
    opacity: 0.7;
}

header .login-action {
    color: var(--color-white);
    background-color: var(--color-gray-1);
}

header .logout-action {
    color: var(--color-white);
    background-color: var(--color-gray-2);
}

header .mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    cursor: pointer;
}

header .mobile-menu svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-gray-2);
    padding: 0;
}

@media (max-width: 800px) {
    header {
        top: 0;
    }

    header .header-container {
        padding: 0.75rem 1rem;
    }

    header .header-container::after {
        border-radius: 0;
        border: 1px solid transparent;
    }

    header nav {
        position: absolute;
        top: 2.5rem;
        right: 1.4rem;
        background-color: var(--color-white);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
        padding: 0.5rem;
        margin-top: 0.5rem;
        border-radius: 0.75rem;
        width: 10rem;
        display: none;
        -webkit-animation: menu-animation 0.25s forwards;
        animation: menu-animation 0.25s forwards;
    }

    header nav.opened {
        display: flex;
    }

    header .mobile-menu {
        display: flex;
    }

    header .nav-list {
        flex-direction: column;
        width: 100%;
    }

    header .list-item.mobile {
        display: block;
    }

    header .list-item a {
        width: 100%;
        font-size: 1rem;
        line-height: 1.5rem;
        padding: 0.5rem 1rem;
        color: var(--color-gray-1);
        display: block;
    }

    header .user-action {
        display: none;
    }
}

footer {
    margin: 6rem 0 1rem;
}

footer .footer-container {
    padding-top: 1rem;
    position: relative;
    margin: 0 auto;
    max-width: calc(var(--pc-max-width) - 3rem);
    width: 100%;
    border-top: 1px solid var(--color-gray-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .copyright {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-gray-2);
}

footer .method-image {
    height: 100%;
    max-width: 200px;
    width: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
}

footer .method-image img {
    max-width: 100%;
    scale: 1.01;
}

@media (max-width: 800px) {
    footer .footer-container {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}

[app-index] .search-company {
    display: flex;
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-6);
    border-radius: 0.375rem;
    padding: 0.35rem 0.35rem 0.35rem 0.75rem;
}

[app-index] .search-input {
    flex: 1 1 0 !important;
}

[app-index] .search-input input {
    width: 100%;
    height: 100%;
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: transparent;
    border-color: transparent;
    font-size: 1rem;
    color: var(--color-gray-2);
}

[app-index] .search-button {
    background-color: var(--color-gray-1);
    color: var(--color-white);
    border-radius: 0.375rem;
    transition: 0.15s opacity ease;
}

[app-index] .search-button:hover {
    opacity: 0.9;
}

[app-index] .payment-category {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

[app-index] .category-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

[app-index] .item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

[app-index] .item:hover .item-image img {
    filter: grayscale(0%);
}

[app-index] .item-image {
    position: relative;
    border-radius: 0.375rem;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--color-gray-3);
}

[app-index] .item-image img {
    position: absolute;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    inset: 0;
    color: transparent;
    object-fit: contain;
    transition: 0.15s filter ease;
    filter: grayscale(100%);
}

[app-index] .item-heading {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 500;
    color: var(--color-gray-1);
    letter-spacing: -0.025em;
}

[app-index] .item-subheading {
    margin-top: 0.25rem;
}

[app-index] .item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

[app-offer] .page-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

[app-offer] .page-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

[app-offer] .info-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--color-gray-9);
    border-radius: 0.375rem;
    height: 100%;
}

[app-offer] .info-svg {
    height: 1.25rem;
    max-width: 1.25rem;
    width: 100%;
    color: var(--color-gray-7);
}

[app-offer] .info-text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

[app-offer] .info-text span {
    color: var(--color-gray-7);
}

[app-offer] .info-text a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

#login-form, #signup-form {
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: var(--color-gray-3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-subheading {
    color: var(--color-gray-1);
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
}

.form-question {
    color: var(--color-gray-2);
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
}

.form-question a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

[app-provider] .provider-section {
    display: flex;
    gap: 2.25rem;
}

[app-provider] .provider-section p {
    display: block;
    width: 11rem;
    flex-shrink: 0;
}

[app-provider] .provider-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert {
    position: relative;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.alert.alert-danger {
    color: var(--color-red-1);
    background-color: var(--color-red-2);
}

.alert.alert-success {
    color: var(--color-green-1);
    background-color: var(--color-green-2);
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

[app-payment] .payment-section {
    width: 100%;
    display: flex;
    gap: 2.25rem;
}

[app-payment] .payment-qr-code {
    display: flex;
    justify-content: center;
}


[app-payment] .acquiring_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

[app-payment] .payment-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

[app-payment] .payment-status {
    display: flex;
    flex-direction: column;
    align-items: center;
}

[app-payment] .result-links a {
    text-wrap: nowrap;
}

[app-payment] .result-links a:not(:first-child) {
    padding-left: 1rem;
}

[app-payment] .payment-section p {
    display: block;
    width: 11rem;
    flex-shrink: 0;
}

[app-payment] .section-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

[app-payment] .section-info ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

[app-payment] .section-info li {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 1rem;
    background-color: var(--color-gray-3);
    border-radius: 0.5rem;
}

[app-payment] .info-key {
    color: var(--color-gray-2);
}

[app-payment] .info-value {
    color: var(--color-gray-1);
}

[app-payment] .payment-proceed {
    font-size: 1rem;
    background-color: var(--color-gray-1);
    color: var(--color-white);
    padding: 0.8rem 1rem;
}

@media (max-width: 800px) {
    [app-index] .category-items {
        grid-template-columns: repeat(1, 1fr);
    }

    [app-offer] .page-info {
        grid-template-columns: repeat(1, 1fr);
    }

    [app-provider] .provider-section {
        flex-direction: column;
    }

    [app-payment] .payment-section {
        flex-direction: column;
    }
}

.pagination {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    padding-left: 0;
    list-style: none;
}

.pagination .page-item a {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: inherit;
    padding: 8px 12px;
    border-radius: var(--border-radius-soft);
    background: var(--color-gray-9);
}

.pagination .page-item a:hover {
    opacity: 0.7;
}

.pagination .page-item.active a {
    background: var(--color-gray-3);
}

.pagination .page-item.active.disabled {
    pointer-events: none;
}


@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem;
    }
}

.progress {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: #e9ecef;
    --bs-progress-border-radius: 0.375rem;
    --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: var(--color-gray-6);
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--bs-progress-bar-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-progress-bar-bg);
    transition: var(--bs-progress-bar-transition);
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar {
        transition: none;
    }
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: var(--bs-progress-height) var(--bs-progress-height);
}

.progress-bar-animated {
    animation: 1s linear infinite progress-bar-stripes;
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar-animated {
        animation: none;
    }
}


.table-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

table {
    border-collapse: separate;
    width: 100%;
    border: 1px solid var(--color-gray-4);
    border-radius: var(--border-radius-soft);
}

th,
td {
    padding: 8px;
    text-align: left;
}

th:first-child {
    border-top-left-radius: var(--border-radius-soft);
}

th:last-child {
    border-top-right-radius: var(--border-radius-soft);
}

tbody tr:hover {
    background-color: #f5f5f5;
}

th {
    background-color: var(--color-gray-2);
    color: var(--color-white);
}

th a {
    text-decoration: underline;
    color: inherit;
}

tfoot {
    background-color: #4a524a;
    color: white;
}
