html, body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: 'Chivo', sans-serif;
    color: #282828;
}

a {
    text-decoration: none;
}

.container-fluid {
    padding: 0 !important;
}

.page-row {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.button {
    border: none;
    border-radius: .375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    padding: .75rem 1rem;
}

.button.small { font-size: .875rem; }
.button.regular { font-size: 1rem; min-width: 10rem; }
.button.large { font-size: 1rem; min-width: 12rem; }
.button.xl { font-size: 1.125rem; min-width: 14rem; }

.button.primary { background: #e4eaf4; color: #282828; }
.button.secondary { background: #5f31c1; color: #fff; }
.button.transparent { background: transparent; color: #fff; border: 1px solid #fff; }

.header-wrapper {
    background-color: #5f31c1;
    background-image: url('/assets/backgrounds/header-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 3rem;
}

.topbar-container .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.topbar-container ul {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-container a { color: #fff; font-weight: 600; }
.left { width: 60%; margin-left: auto; padding: 3rem; color: #fff; }
.left h1 { font-size: 3rem; }
.left h1 span { color: #00e1c6; }
.left p { font-size: 1.25rem; max-width: 45rem; }

.benefits-grid, .pricing-grid, .steps-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-item, .pricing-card, .step-card {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 5px 5px 20px #e4eaf4;
    padding: 1rem;
}

.pricing-card .price { font-size: 2rem; color: #5f31c1; font-weight: 700; }

.calc-wrap {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 5px 5px 20px #e4eaf4;
    padding: 1rem;
}

.month-pay {
    display: flex;
    justify-content: space-between;
    padding: .375rem 0;
}

.wrapper-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.layout-app {
    display: flex;
    max-height: 100vh;
}

.layout-app-content {
    max-height: 100vh;
    width: 100%;
    background-color: #f0f4fb;
    padding: 2.25rem 4.25rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.wrapper-sidebar {
    width: 320px;
    min-height: 100vh;
    background: #5f31c1;
    color: #fff;
    padding: 1rem;
}

.wrapper-sidebar .logo img { width: 100%; height: 60px; margin-bottom: 20px; }
.wrapper-sidebar ul { list-style: none; margin: 0; padding: 0; }

.navLink {
    border: none;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    margin-bottom: .25rem;
    font-weight: 700;
    color: #9874e5;
    font-size: 1rem;
}

.navLink.active, .navLink:hover { color: #fff; }
.navLink i { margin-right: 1rem; font-size: 24px; }

.wrapper-user {
    display: flex;
    align-items: center;
    padding: .75rem;
    border-radius: 4.3125rem;
    background-color: #5024ad;
    margin-bottom: 2rem;
    color: #fff;
}

.icon-user { font-size: 2.25rem; margin-right: .75rem; }

.new-transaction-wrapper, .profile-info-wrapper, .profile-edit-wrapper, .transaction-wrapper, .invoice-wrapper {
    background-color: #fff;
    border-radius: .9375rem;
    box-shadow: 5px 5px 20px #e4eaf4;
    padding: 1rem 1.25rem;
}

.transaction-select {
    width: 100%;
    height: 2.375rem;
    background-color: #fff;
    border: none;
    padding: 0 1rem;
    font-size: .875rem;
    font-weight: 700;
}

.double-button-wrapper {
    width: 100%;
    height: 2.375rem;
    display: flex;
    border: 1px solid #5f31c1;
    border-radius: .375rem;
    overflow: hidden;
}

.double-button {
    border: none;
    width: 50%;
    background-color: transparent;
    font-size: .875rem;
    font-weight: 700;
    color: #5f31c1;
}

.isActiveButton { background-color: #5f31c1 !important; color: #fff !important; }
.divider { border-top: 1px solid #7a7a7a; height: 1px; margin-top: 2rem; margin-bottom: 2rem; }

.input-text-wrapper label {
    display: block;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.input-text-wrapper input, .input-text-wrapper select {
    display: block;
    width: 100%;
    border: none;
    border-radius: .375rem;
    padding: .75rem .9375rem;
    background-color: #f0f4fb;
    margin-bottom: 1.125rem;
}

.profile-avatar, .profile-edit-avatar {
    width: 6.3125rem;
    height: 6.3125rem;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    border: none;
}

.profile-main { display: flex; flex-direction: column; align-items: center; }
.profile-edit-buttons { display: flex; justify-content: center; gap: 1rem; }

.verification-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.spinner {
    border: 6px solid #e3e3e3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.Backdrop {
    position: fixed;
    inset: 0;
    background: rgba(40, 40, 40, .5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalmMask {
    width: min(560px, 95vw);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.modalmMask .inner {
    padding: 24px;
    position: relative;
}

.closeButtonSimple {
    position: absolute;
    right: 12px;
    top: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
}

.button-right { margin-left: auto; }

@media (max-width: 1249px) {
    .layout-app-content {
        padding: 60px 0 0 60px;
    }
}

/* Homepage parity styles */
.home-page .button {
    border-radius: 2.0625rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
}

.home-page .button.primary {
    background-color: #5f31c1;
    color: #fff;
}

.home-page .button.secondary {
    background-color: #00e1c6;
    color: #fff;
}

.home-page .button.transparent {
    background-color: transparent;
    border: 1px solid #00e1c6;
    color: #00e1c6;
}

.home-page .button.large {
    font-size: 1.125rem;
    padding: 1.25rem 3rem;
}

.home-page .button.xl {
    font-size: 1.5rem;
    border-radius: 5rem;
    padding: 1.2rem 4rem;
}

.home-page .header-wrapper {
    padding-top: 1.5rem;
    background-color: #5f31c1;
    background-image: url('/assets/backgrounds/header-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.home-page .topbar-container {
    height: 8.75rem;
}

.home-page .topbar-container .wrapper {
    gap: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-wrap: wrap;
}

.home-page .topbar-container .logo {
    display: block;
    width: 11.4375rem;
}

.home-page .topbar-container .nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.home-page .topbar-container .nav li {
    font-size: clamp(1.125rem, -0.1771rem + 1.6667vw, 1.4375rem);
    padding: 0 1.875rem;
    white-space: nowrap;
}

.home-page .topbar-container .nav a {
    color: #e4eaf4;
    transition: color 0.2s;
}

.home-page .topbar-container .nav a:hover {
    color: #00e1c6;
}

.home-page .login-button {
    width: clamp(11.25rem, 7.692vw + 4.519rem, 13.75rem);
    height: 60px;
}

.home-page .left {
    position: relative;
    width: 60%;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    align-self: flex-end;
}

.home-page .left h1 {
    font-weight: 500;
    max-width: 50rem;
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.home-page .left h1 span {
    color: #00e1c6;
}

.home-page .left p {
    font-weight: 100;
    max-width: 45.625rem;
    font-size: 30px;
    color: #fff;
    margin-bottom: 4rem;
}

.home-page .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-page .page-row {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.home-page .benneftis-container {
    text-align: center;
}

.home-page .benneftis-container h2 {
    margin-bottom: 1em !important;
    font-weight: 600;
}

.home-page .highlight {
    font-weight: 700;
    color: #5f31c1;
}

.home-page .benefits-wrapper {
    width: 73.75rem;
    max-width: 100%;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-around;
    gap: 3em;
}

.home-page .benefits-wrapper .benefits {
    max-width: 230px;
    border-radius: 50%;
    background-color: #f2f5fa;
}

.home-page .benefits-wrapper .item {
    width: 18.75rem;
    max-width: 30%;
    min-height: 24rem;
}

.home-page .benefits-wrapper .item h3 {
    font-weight: 600;
    max-width: 12rem;
    margin: 1rem auto 0;
}

.home-page .container-swiper {
    max-width: 70rem;
    margin: 2em auto;
}

.home-page .container-swiper h1 {
    text-align: center;
    font-weight: 600;
    margin: 0 0 1em;
}

.home-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-page .swiper-slide {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    border-radius: 35px;
    min-height: 43rem;
    background: linear-gradient(180deg, #fff 46%, #b9edea 100%);
}

.home-page .swiper-slide:nth-child(even) {
    background: #5f31c1;
}

.home-page .slider-number {
    border-top: 4px solid #fff;
    font-size: 48px;
    color: #5f31c1;
    font-weight: 500;
    width: fit-content;
}

.home-page .swiper-slide:nth-child(even) .slider-number {
    color: #fff;
}

.home-page .slider-h2 {
    color: #5f31c1;
    font-size: clamp(1.125rem, 0.8571rem + 0.7143vw, 1.5rem);
    font-weight: 600;
}

.home-page .swiper-slide:nth-child(even) .slider-h2 {
    color: #00e1c6;
}

.home-page .swiper-slide p {
    color: #5f31c1;
}

.home-page .swiper-slide:nth-child(even) p {
    color: #fff;
}

.home-page .slider-image-wrapepr {
    align-self: center;
    margin-top: auto;
}

.home-page .slider-image {
    width: 20rem;
    height: 15rem;
    border-radius: 2rem;
    object-fit: contain;
}

.home-page .button-wrapper {
    margin-top: 2.5em;
    display: flex;
    justify-content: center;
}

.home-page .pricing-wrapper-main h2 {
    font-weight: 600;
}

.home-page .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.875rem;
}

.home-page .pricing-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
}

.home-page .pricing_pill-1,
.home-page .pricing_pill-2,
.home-page .pricing_pill-3,
.home-page .pricing_pill-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    max-width: 250px;
    min-height: 110px;
    max-height: 110px;
    border-radius: 5rem;
    padding: 1.25em;
}

.home-page .pricing_pill-1 { background-color: #cfc1eb; }
.home-page .pricing_pill-2 { background-color: #af98de; }
.home-page .pricing_pill-3 { background-color: #8f6ed1; }
.home-page .pricing_pill-4 { background-color: #5f31c1; }

.home-page .pricing-pill-price {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.home-page .pricing-pill-description {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0;
}

.home-page .pricing_footer {
    text-align: center;
}

.home-page .pricing_footer p {
    font-size: 24px;
    margin: 0;
}

.home-page .pricing_footer p:nth-child(2) {
    font-weight: 600;
}

.home-page .pricing-text {
    font-size: 24px;
    margin-top: 2.5em;
}

.home-page .pricing-highlight {
    font-weight: 600;
    color: #00e1c6;
}

.home-page .calculator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10em;
}

.home-page .text {
    flex-basis: 50%;
    max-width: 31.25rem;
}

.home-page .text h2 {
    font-weight: 600;
    margin-bottom: 2rem;
}

.home-page .text p {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 2.8rem;
}

.home-page .calculator {
    width: 36.5625rem;
    max-width: 50%;
    min-height: 33.5625rem;
    padding: 3.75rem 2.5rem;
    background-color: #5f31c1;
    border-radius: 2.0625rem;
}

.home-page .calculator hr {
    background-color: #9874e5;
}

.home-page .calculator .row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.home-page .calculator-input {
    flex-shrink: 0;
    width: 7.5rem;
    margin-right: 1.25rem;
}

.home-page .calculator-input input {
    color: #fff;
    text-align: center;
    background-color: transparent;
    border: 1px solid #00e1c6;
    border-radius: 25px;
}

.home-page .month-pay {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.home-page .month-pay .label {
    color: #fff;
    letter-spacing: 1.1px;
    font-size: 1.125rem;
}

.home-page .month-pay .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #00e1c6;
}

.home-page .heading {
    font-size: clamp(2rem, 1.4681rem + 1.7021vw, 3rem);
    text-align: center;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.home-page .contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 4em;
    flex-wrap: nowrap;
}

.home-page .map {
    width: 600px;
    height: 500px;
    overflow: hidden;
}

.home-page .map iframe {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    border: none;
}

.home-page .contact-wrapper .item {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.home-page .contact-wrapper .item a,
.home-page .contact-wrapper .item address {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: normal;
    color: #282828;
}

.home-page .contact-wrapper .item p {
    font-size: 20px;
}

.home-page .contact-wrapper .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3em;
}

.home-page .container-footer {
    padding: 0 5em;
}

.home-page .wrapper-cta {
    margin: 4em 0;
    padding-right: 4em;
    text-align: center;
    width: 80%;
    height: 130px;
    border-radius: 0 10em 10em 0;
    background-color: #5f31c1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4em;
}

.home-page .wrapper-cta em {
    color: #fff;
    font-style: normal;
    font-weight: 500;
}

.home-page .wrapper-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.75rem 0;
}

.home-page .wrapper-footer a {
    font-size: 1.125rem;
}

.home-page .links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

.home-page .links a {
    color: #b4b9c1;
}

.home-page .links > *:not(:last-child),
.home-page .socials > *:not(:last-child) {
    margin-right: 3rem;
}

.home-page .socials a {
    color: #5f31c1;
}

@media only screen and (max-width: 1250px) {
    .home-page .left {
        width: 100%;
        padding: 3rem;
    }

    .home-page .left h1 {
        font-size: 3rem;
    }

    .home-page .left p {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .home-page .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .calculator-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .home-page .calculator {
        max-width: 100%;
        width: 100%;
    }

    .home-page .contact-wrapper {
        flex-wrap: wrap;
    }

    .home-page .wrapper-footer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .home-page .links {
        position: static;
        transform: none;
    }
}

@media only screen and (max-width: 640px) {
    .home-page .page-row {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .home-page .topbar-container .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-page .topbar-container .nav li {
        padding: 0 0.6rem;
    }

    .home-page .left h1 {
        font-size: 2.25rem;
    }

    .home-page .left p {
        font-size: 1rem;
    }

    .home-page .benefits-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .home-page .benefits-wrapper .item {
        max-width: 80%;
    }

    .home-page .steps-grid {
        grid-template-columns: 1fr;
    }

    .home-page .pricing-grid {
        grid-template-columns: 1fr;
    }

    .home-page .calculator .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-page .calculator-input {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .home-page .container-footer {
        padding: 0;
    }

    .home-page .wrapper-cta {
        width: 100%;
        border-radius: 0;
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
        height: auto;
        padding: 1.5rem;
    }

    .home-page .links {
        flex-direction: column;
        text-align: center;
    }

    .home-page .links > *:not(:last-child) {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Create transaction modal layout tweaks */
.transaction-detail-modal .transaction-detail-mask {
    width: min(1160px, 98vw);
}

.transaction-detail-modal .transaction-detail-grid .input-text-wrapper {
    margin-bottom: 0;
}

.transaction-detail-modal .transaction-detail-grid .input-text-wrapper input,
.transaction-detail-modal .transaction-detail-grid .input-text-wrapper select {
    margin-bottom: 0;
    padding: 0.5rem 0.75rem;
    min-height: 2.25rem;
    font-size: 0.92rem;
}

.transaction-detail-modal .inner {
    max-height: 80vh;
    overflow-y: hidden;
    padding: 14px 16px;
}

.transaction-detail-modal .h4 {
    margin-bottom: 0.5rem !important;
}

.transaction-detail-modal .transaction-detail-grid {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.45rem;
}

.transaction-detail-modal .transaction-detail-grid .input-text-wrapper label {
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
}

.transaction-detail-modal .button.regular {
    min-width: 8.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .transaction-detail-modal .transaction-detail-mask {
        width: min(640px, 96vw);
    }

    .transaction-detail-modal .inner {
        max-height: 80vh;
        overflow-y: auto;
    }
}

.invoice-qr-modal .modalmMask {
    width: min(520px, 94vw);
}

.invoice-qr-image {
    width: 280px;
    height: 280px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.invoice-qr-info {
    font-size: 0.9rem;
    color: #4a4a4a;
}
