@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

:root {
    --quanta-primary: #229A99;
    --quanta-primary-hover: #229A99;
    --quanta-text-primary: #ffffff;
    --quanta-border-primary: #229A99;
    --quanta-bg-neutral: var(--white);
    --quanta-text-neutral: var(--black);
    --quanta-border-neutral: var(--white);
    --quanta-neutral-hover: var(--white);

    --quanta-bg-secondary: #B6EE93;
    --quanta-text-secondary: var(--white);
    --quanta-border-secondary: #B6EE93;
    --quanta-secondary-hover: #B6EE93;
}

html[data-theme="dark"] {
    --quanta-primary: #229A99;
    --quanta-primary-hover: #229A99;
    --quanta-text-primary: #ffffff;
    --quanta-border-primary: #229A99;
    --quanta-bg-neutral: var(--white);
    --quanta-text-neutral: var(--black);
    --quanta-border-neutral: var(--white);
    --quanta-neutral-hover: var(--white);

    --quanta-bg-secondary: #B6EE93;
    --quanta-text-secondary: var(--white);
    --quanta-border-secondary: #B6EE93;
    --quanta-secondary-hover: #B6EE93;
}

.stroke-black {
    stroke: var(--black);
}

html[data-theme="dark"] .dark-stroke-white {
    stroke: var(--white);
}

@font-face {
    font-family: "inter";
    src: url('static/Inter-VariableFont_slnt\,wght.ttf');
}

@font-face {
    font-family: "fivo";
    src: url('static/FivoSans/FivoSans-Regular.otf');
}

@font-face {
    font-family: "fivo";
    src: url('static/FivoSans/FivoSans-Regular.otf');
}

@font-face {
    font-family: "fivo";
    src: url('static/FivoSans/FivoSans-Regular.otf');
}

@font-face {
    font-family: "fivo";
    src: url('static/FivoSans/FivoSans-Regular.otf');
}

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .nav-links {
        position: relative;
        /* Ensures the ::after is positioned relative to the .nav-links element */
    }

    .nav-links::after {
        content: "";
        /* Creates the pseudo-element */
        position: absolute;
        /* Positions it relative to the .nav-links */
        height: 2px;
        /* Thickness of the line */
        width: 0%;
        /* Start with 0 width */
        background: var(--quanta-primary);
        /* Use your primary color */
        bottom: 0;
        /* Align to the bottom of the .nav-links */
        left: 0;
        /* Start from the left */
        transition: width 0.3s ease-in-out;
        /* Smooth animation for width */
        transform: translateX(5%);
    }

    .nav-links:hover {
        color: var(--black);
        /* Adjust text color for dark mode */
    }

    .nav-links:hover::after {
        width: 90%;
        /* Expand to full width on hover */
    }

    html[data-theme="dark"] .nav-links:hover {
        color: var(--white);
        /* Adjust text color for dark mode */
    }

    html[data-theme="dark"] .nav-links::after {
        background: var(--white);
        /* Adjust underline color for dark mode */
    }
}

.footer-links {
    position: relative;
    /* Ensures the ::after is positioned relative to the .nav-links element */
}

.footer-links::after {
    content: "";
    /* Creates the pseudo-element */
    position: absolute;
    /* Positions it relative to the .nav-links */
    height: 2px;
    /* Thickness of the line */
    width: 0%;
    /* Start with 0 width */
    background: var(--quanta-primary);
    /* Use your primary color */
    bottom: 0;
    /* Align to the bottom of the .nav-links */
    left: 0;
    /* Start from the left */
    transition: width 0.3s ease-in-out;
    /* Smooth animation for width */
}

.footer-links:hover {
    color: var(--black);
    /* Adjust text color for dark mode */
}

.footer-links:hover::after {
    width: 100%;
    /* Expand to full width on hover */
}

html[data-theme="dark"] .footer-links:hover {
    color: var(--white);
    /* Adjust text color for dark mode */
}

html[data-theme="dark"] .footer-links::after {
    background: var(--white);
    /* Adjust underline color for dark mode */
}

.hamburger-toggle {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    height: 16px;
    width: 16px;
}

.hamburger-toggle span {
    width: 20px;
    /* Standard width for the bars */
    height: 2px;
    /* Thickness of the bars */
    position: absolute;
    /* Ensures all spans overlap in the center */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-toggle span:nth-child(1) {
    transform: translateY(-6px);
    /* Position the top bar */
}

.hamburger-toggle span:nth-child(2) {
    transform: translateY(0);
    /* Position the middle bar */
}

.hamburger-toggle span:nth-child(3) {
    transform: translateY(6px);
    /* Position the bottom bar */
}

.hamburger-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
    /* Rotate top bar to form part of "X" */
}

.hamburger-toggle.is-open span:nth-child(2) {
    opacity: 0;
    /* Hide middle bar */
}

.hamburger-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    /* Rotate bottom bar to form part of "X" */
}

.accordion-toggle svg {
    transition: transform 0.3s ease-out;
}

.accordion-toggle.active svg {
    transform: rotate(45deg);
}

.navbar-collapse {
    left: -1800px;
    top: 0;
}

.light-switch {
    right: 16px;
    bottom: 16px;
}

.modal-overlay {
    right: 0;
    bottom: 16px;
}

@media (min-width: 768px) {
    .navbar-collapse {
        left: 0px;
        top: 0;
    }

    .light-switch {
        right: 32px;
        bottom: 32px;
    }

    .modal-overlay {
        right: 32px;
        bottom: 32px;
    }
}

@media (min-width: 1280px) {
    .light-switch {
        right: 64px;
        bottom: 32px;
    }

    .modal-overlay {
        right: 64px;
        bottom: 32px;
    }
}

.expandable-card {
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.expandable-card .extra-content {
    opacity: 0;
    height: 0;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
}

.expandable-card.expanded .extra-content {
    opacity: 1;
    height: auto;
}

.learn-more-btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
}

.learn-more-btn:hover {
    transform: scale(1.05);
}

.icon {
    transition: transform 0.3s ease-in-out;
}

.icon.rotated {
    transform: rotate(180deg);
}

.fly-in {
    opacity: 0;
    transform: translateY(50px);
}

.fly-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

.fly-left {
    transform: translateX(-50px);
}

.fly-right {
    transform: translateX(50px);
}

.fly-up {
    transform: translateY(50px);
}

.fly-down {
    transform: translateY(-50px);
}

/* General styles for the custom checkbox */
.custom-checkbox {
    display: flex;
    align-items: start;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.custom-checkbox input {
    display: none;
    /* Hide the default checkbox */
}

.checkbox-indicator {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-height: 20px;
    border: 2px solid var(--velocity-grey-300);
    border-radius: 4px;
    /* Adjust for a round or square box */
    margin-right: 10px;
    position: relative;
    display: inline-block;
    background-color: var(--velocity-grey-100);
    transition: background-color 0.3s, border-color 0.3s;
}

/* Checkmark styles */
.checkbox-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    /* Adjust width for a thicker mark */
    height: 14px;
    /* Adjust height for a thicker mark */
    border: solid var(--quanta-primary);
    border-width: 0 3px 3px 0;
    /* Increased thickness */
    transform: translate(-58%, -60%) rotate(45deg);
    display: none;
}

/* When the checkbox is checked */
.custom-checkbox input:checked+.checkbox-indicator {
    background-color: var(--quanta-primary);
    border-color: var(--quanta-primary);
}

.custom-checkbox input:checked+.checkbox-indicator::after {
    display: block;
    border-color: var(--black);
    /* Contrast color for the checkmark */
}

/**.admin-navbar{
    padding-left: 16px;
}

@media (min-width: 728px){
    .admin-navbar{
        padding-left: 27%;
    }
}**/

.admin-side-bar {
    width: 80%;
    left: -1800px;
    top: 0;
}

.admin-side-bar.is-open {
    left: 0;
    transition: 300ms ease-in-out all;
}

@media (min-width: 728px) {
    .admin-side-bar {
        width: auto;
        left: 0px;
    }

    .dashboard-container {
        padding-left: 14%;
    }

    .portfolio-navbar {
        padding-left: 14%;
    }
}

@media (min-width: 1024px) {
    .admin-navbar {
        padding-left: 22%;
    }

    .admin-side-bar {
        width: 20%;
        left: 0;
    }

    .portfolio-navbar {
        padding-left: 22%;
    }

    .dashboard-container {
        padding-left: 22%;
    }
}

.table-container {
    width: 100%;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS devices */
    scroll-behavior: smooth;
}

td,
th {
    white-space: nowrap;
    /* Prevent text wrapping in cells */
    text-align: left;
}

.images-carousel,
.images-carousel-track {
    scroll-snap-type: x mandatory;
    /* Snap horizontally */
}

.images-carousel::-webkit-scrollbar,
.images-carousel-track::-webkit-scrollbar {
    display: none;
    /* Optionally hide scrollbar */
}

.images-carousel-item {
    flex: 0 0 80%;
    /* Prevent shrinking/growing, keep exact 40% */
    height: auto;
    /* Maintain item ratio */
    box-sizing: border-box;
    /* Avoid unintended overflow by spacing*/
    scroll-snap-align: start;
}

@media(min-width: 768px) {
    .images-carousel-item {
        flex: 0 0 60%;
        height: auto;
        /* Maintain item ratio */
        box-sizing: border-box;
        /* Avoid unintended overflow by spacing*/
        scroll-snap-align: start;
    }
}

@media(min-width: 1024px) {
    .images-carousel-item {
        flex: 0 0 60%;
        height: auto;
        /* Maintain item ratio */
        box-sizing: border-box;
        /* Avoid unintended overflow by spacing*/
        scroll-snap-align: start;
    }
}

.images-carousel-item video,
.images-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.images-carousel-prev,
.images-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.images-carousel-prev {
    left: -20px;
}

.images-carousel-next {
    right: -20px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    width: fit-content;
    z-index: 10;
    min-width: 12rem;
    height: 0;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

.dropdown-item {
    white-space: nowrap;
    width: 100%;
}

.dropdown-toggle:hover+.dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: flex;
    height: auto;
}

.arrow {
    margin-left: auto;
}

@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown.show .dropdown-menu {
        display: flex;
    }
}

/* Basic styling for the circle container */
.circle {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    /* Initially hidden */
    transform: scale(0);
    /* Start at scale 0 */
    animation: scaleUp 6s forwards, fadeIn 6s forwards;
}

/* Animation to scale the circle and fade it in */
@keyframes scaleUp {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1.2);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Styling for the checkmark */
.checkmark {
    width: 50px;
    height: 50px;
    animation: drawCheckmark 3s forwards;
}

/* Animation to draw the checkmark */
@keyframes drawCheckmark {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.scroll-box::-webkit-scrollbar {
    display: none;
}

.scroll-box::-webkit-scrollbar-track {
    display: none !important;
}

.scroll-box::-webkit-scrollbar-thumb {
    display: none !important;
}

/* On the container */
.scroll-box {
    display: flex;
    /* or grid */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* On the items inside the container */
.scroll-item {
    flex: 0 0 60%;
    min-width: 60%;
    scroll-snap-align: start;
}

.tier-scroll-item {
    flex: 0 0 auto;
    min-width: 50%;
    scroll-snap-align: start;
}

.sidebar-link-active {
    background: var(--quanta-primary);
    color: var(--white);
}

.sidebar-link-active:hover {
    background: var(--quanta-primary);
    color: var(--white);
}

.sidebar-adminlink-active {
    color: var(--black);
}

.sidebar-adminlink-active:hover {
    background: var(--quanta-grey-100);
    color: var(--black);
}

html[data-theme="dark"] .sidebar-adminlink-active:hover {
    background: var(--quanta-grey-800);
    color: var(--white);
}

.sidebar-adminlink-active .side-bar-icon {
    color: var(--quanta-primary);
}

.asset-carousel {
    scroll-snap-type: x mandatory;
    /* Snap horizontally */
}

.asset-carousel::-webkit-scrollbar {
    display: none;
    /* Optionally hide scrollbar */
}

.asset-carousel-item {
    flex: 0 0 80%;
    /* Prevent shrinking/growing, keep exact 40% */
    height: auto;
    /* Maintain item ratio */
    box-sizing: border-box;
    /* Avoid unintended overflow by spacing*/
    scroll-snap-align: start;
}

@media(min-width: 768px) {
    .asset-carousel-item {
        flex: 0 0 30%;
        height: auto;
        /* Maintain item ratio */
        box-sizing: border-box;
        /* Avoid unintended overflow by spacing*/
        scroll-snap-align: start;
    }
}

@media(min-width: 1024px) {
    .asset-carousel-item {
        flex: 0 0 25%;
        height: auto;
        /* Maintain item ratio */
        box-sizing: border-box;
        /* Avoid unintended overflow by spacing*/
        scroll-snap-align: start;
    }
}

.asset-carousel-prev,
.asset-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.asset-carousel-prev {
    left: -20px;
}

.asset-carousel-next {
    right: -20px;
}

.project-carousel {
    scroll-snap-type: x mandatory;
    /* Snap horizontally */
}

.project-carousel::-webkit-scrollbar {
    display: none;
    /* Optionally hide scrollbar */
}

.project-carousel-item {
    flex: 0 0 100%;
    /* Prevent shrinking/growing, keep exact 40% */
    height: auto;
    /* Maintain item ratio */
    box-sizing: border-box;
    /* Avoid unintended overflow by spacing*/
    scroll-snap-align: start;
}

.project-carousel-prev,
.project-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.project-carousel-prev {
    left: -20px;
}

.project-carousel-next {
    right: -20px;
}

/* Hover and active state styling for payment methods */
.payment-method:hover {
    border-color: var(--quanta-primary) !important;
}

.payment-method.active {
    border-color: var(--quanta-primary) !important;
    background: var(--quanta-primary) !important;
    color: var(--black) !important;
}

.payment-method.active span {
    background: var(--black);
}

.payment-method.active span svg {
    color: var(--quanta-primary);
}

.payment-method.active svg {
    color: var(--black);
}

html[data-theme="dark"] .payment-method.active {
    border-color: var(--quanta-primary) !important;
    background: var(--quanta-primary) !important;
}

html[data-theme="dark"] .payment-method.active span {
    background: var(--black);
}

html[data-theme="dark"] .payment-method.active span svg {
    color: var(--quanta-primary);
}

/* Wrapper to control scaling */
.deed-container {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Content container */
/* Keep the default size for larger screens (A4 width 793px) */
.deed-pages {
    width: 793px;
    /* A4 paper width */
    height: auto;
    aspect-ratio: 1/1.414;
    margin: 0 auto;
    /* Center content */
}

.highlighted-text {
    display: inline;
}

.highlight {
    color: black;
    background-image: linear-gradient(to right, #aeff00 100%, #aeff00 100%);
    background-repeat: no-repeat;
    background-position: 0 0.2em;
    background-size: 100% 1em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    position: relative;
    /* For absolutely positioning the mask (if needed) */
}

.frontiers-active {
    background: var(--quanta-primary);
    color: var(--black) !important;
}

html[data-theme="dark"] .frontiers-active {
    color: var(--black) !important;
}

#certificate-wrapper {
    width: 1122px;
    /* Original width of the certificate */
    height: 793px;
    /* Original height of the certificate */
}

@media (min-width: 320px) {
    #certificate-wrapper {
        zoom: calc(320 / 1536);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 370px) {
    #certificate-wrapper {
        zoom: calc(370 / 1536);
        /* Zoom based on 640px breakpoint */
    }
}

/* Breakpoints with calculated zoom values */
@media (min-width: 640px) {
    #certificate-wrapper {
        zoom: calc(640 / 1536);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 768px) {
    #certificate-wrapper {
        zoom: calc(768 / 1536);
        /* Zoom based on 768px breakpoint */
    }
}

@media (min-width: 1024px) {
    #certificate-wrapper {
        zoom: calc(1024 / 1536);
        /* Zoom based on 1024px breakpoint */
    }
}

@media (min-width: 1280px) {
    #certificate-wrapper {
        zoom: calc(1280 / 1536);
        /* Zoom based on 1280px breakpoint */
    }
}

@media (min-width: 1536px) {
    #certificate-wrapper {
        zoom: 1;
        /* Full size for the largest screen */
    }
}

.deed-pages {
    height: 1122px;
    /* Original width of the certificate */
    width: 793px;
    /* Original height of the certificate */
    aspect-ratio: 1/1/414;
}

@media (min-width: 320px) {
    .deed-pages {
        zoom: calc(320 / 793);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 370px) {
    .deed-pages {
        zoom: calc(360 / 793);
        /* Zoom based on 640px breakpoint */
    }
}

/* Breakpoints with calculated zoom values */
@media (min-width: 640px) {
    .deed-pages {
        zoom: calc(640 / 793);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 768px) {
    .deed-pages {
        zoom: calc(768 / 793);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 1024px) {
    .deed-pages {
        zoom: calc(1024 / 1122);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 1280px) {
    .deed-pages {
        zoom: calc(1280 / 1122);
        /* Zoom based on 640px breakpoint */
    }
}

@media (min-width: 1536px) {
    .deed-pages {
        zoom: 1;
        /* Full size for the largest screen */
        width: 793px;
        /* Original height of the certificate */
        height: auto;
    }
}

.bottom-link-active {
    color: var(--quanta-primary);
}

html[data-theme="dark"] .bottom-link-active {
    color: var(--quanta-primary);
}

.pagination-link.active {
    background: var(--quanta-primary);
    color: var(--black);
}

.max-w-0 {
    max-width: 0;
}

.toggle {
    width: 60px;
    height: 32px;
    background-color: var(--velocity-grey-100);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    box-sizing: border-box;
}

/* Icons */
.icon {
    position: absolute;
    font-size: 18px;
    pointer-events: none;
    z-index: 10;
}

.icon.sun {
    left: 7px;
    top: 7px;
    color: var(--black);
}

.icon.moon {
    right: 7px;
    top: 7px;
    color: var(--black);
}

html[data-theme="dark"] .icon.moon {
    color: var(--black);
}

html[data-theme="dark"] .icon.sun {
    color: var(--white);
}

.icon svg {
    width: 18px;
    height: 18px;
}

/* Toggle ball */
.toggle-ball {
    width: 26px;
    height: 26px;
    background-color: var(--quanta-primary);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.4s;
}

/* Dark mode styles for toggle */
html[data-theme="dark"] .toggle {
    background-color: var(--velocity-grey-900);
}

html[data-theme="dark"] .toggle-ball {
    transform: translateX(27px);
}

.spinner-border {
    border: 3px solid transparent;
    border-top: 3px solid black;
    /* Adjust the color */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.notification-box.unread {
    background: var(--velocity-grey-100);
}

html[data-theme="dark"] .notification-box.unread {
    background: var(--velocity-grey-700);
}

.theme-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.theme-option.selected {
    background-color: var(--quanta-grey-100);
    color: var(--quanta-primary);
}

html[data-theme="dark"] .theme-option.selected {
    background-color: var(--quanta-grey-700);
    color: var(--quanta-primary);
}

.carousel-item {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.indicator.active {
    background-color: var(--quanta-primary);
    width: 32px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    position: relative;
    border-radius: 2px;
    background: rgb(255 255 255/.7);
}

.progress-bar {
    position: absolute;
    display: block;
    max-width: 100%;
    /* The width of the moving bar */
    height: 100%;
    background-color: var(--white);
    /* Blue */
}

@keyframes moveLeftToRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animated-progress-bar {
    animation: moveLeftToRight 2s linear infinite;
    width: 100%;
    height: 100%;
    background-color: var(--quanta-primary);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

html[data-theme="dark"] .page-loader {
    background: rgba(0, 0, 0, 0.8);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--quanta-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.transaction-button.active {
    background: var(--white);
}

html[data-theme="dark"] .transaction-button.active {
    background: var(--velocity-grey-900);
}

/* Progress step container */
.progress-step {
    position: relative;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: fit-content;
}

.progress-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-height: 18px;
    background-color: var(--velocity-grey-100);
    position: relative;
    display: inline-block;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}

html[data-theme="dark"] .progress-check {
    background: var(--velocity-grey-600);
}

.progress-active-ring {
    padding: 2px;
    border-radius: 50%;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--velocity-grey-100);
    background: var(--white);
}

html[data-theme="dark"] .progress-active-ring {
    border: 2px solid var(--velocity-grey-600);
    background: var(--velocity-grey-800);
}

.progress-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    /* Adjust width for a thicker mark */
    height: 8px;
    /* Adjust height for a thicker mark */
    border: solid var(--velocity-grey-600);
    border-width: 0 2px 2px 0;
    /* Increased thickness */
    transform: translate(-58%, -60%) rotate(45deg);
    display: block;
}

html[data-theme="dark"] .progress-check::after {
    border: solid var(--velocity-grey-200);
    border-width: 0 2px 2px 0;
    /* Increased thickness */
    transform: translate(-58%, -60%) rotate(45deg);
}

/* Active step styles */
.progress-step.is-active .progress-check {
    color: var(--white);
    background: var(--quanta-primary);
}

.progress-step.is-active .progress-check::after {
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    /* Increased thickness */
    transform: translate(-58%, -60%) rotate(45deg);
}

.progress-step.is-active .progress-active-ring.ring-active {
    border: 2px solid var(--quanta-primary);
    background: var(--white);
}

html[data-theme="dark"] .progress-step.is-active .progress-active-ring.ring-active {
    background: var(--velocity-grey-800);
}

.progress-track {
    position: absolute;
    top: 10px;
    /* Adjust based on icon size */
    width: 100%;
    height: 6px;
    display: flex;
}

.progress-track-fill {
    background: var(--quanta-primary);
    height: 6px;
    top: 10px;
}

.progress-label {
    position: absolute;
    top: calc(100% + 12px);
    /* 5px below the icon */
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    pointer-events: none;
}

.progress-label--first {
    /* 5px below the icon */
    left: calc(50% + 8px);
}

/* Default label style: positioned below the step icon */
.progress-label--last {
    /* 5px below the icon */
    left: calc(50% - 16px);
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    /* no background so the custom track shows */
    outline: none;
}

/* WebKit Browsers */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(to right,
            var(--quanta-primary) 0%,
            var(--quanta-primary) var(--percent, 0%),
            var(--velocity-grey-100) var(--percent, 0%),
            var(--velocity-grey-100) 100%);
}

html[data-theme="dark"] input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(to right,
            var(--quanta-primary) 0%,
            var(--quanta-primary) var(--percent, 0%),
            var(--velocity-grey-800) var(--percent, 0%),
            var(--velocity-grey-800) 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 20px;
    background: var(--quanta-primary);
    border-radius: 50px;
    cursor: pointer;
    margin-top: -6px;
    /* centers the thumb vertically on the track */
}

/* Firefox */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(to right,
            var(--quanta-primary) 0%,
            var(--quanta-primary) var(--percent, 0%),
            var(--velocity-grey-100) var(--percent, 0%),
            var(--velocity-grey-100) 100%);
}

html[data-theme="dark"] input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(to right,
            var(--quanta-primary) 0%,
            var(--quanta-primary) var(--percent, 0%),
            var(--velocity-grey-800) var(--percent, 0%),
            var(--velocity-grey-800) 100%);
}

input[type="range"]::-moz-range-thumb {
    width: 8px;
    height: 20px;
    background: var(--quanta-primary);
    border-radius: 50px;
    cursor: pointer;
}

.carousel {
    position: relative;
    max-width: 400px;
    /* Adjust as needed */
    overflow: hidden;
    margin: 0 auto;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.indicator {
    width: 16px;
    height: 4px;
    background-color: gray;
    border-radius: 5px;
    margin: 0 5px;
    cursor: pointer;
}

.indicator.active {
    background-color: var(--quanta-primary);
}


.wallet-box {
    background: #09a726;
    background: -webkit-linear-gradient(16deg, rgb(9, 167, 38) 21%, rgb(55, 240, 10) 90%);
    background: linear-gradient(16deg, rgb(9, 167, 38) 21%, rgb(55, 240, 10) 90%);
}

.investment-box {
    background: #f31fe0;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(2deg, rgb(243, 31, 224) 9%, rgb(106, 115, 242) 94%);
    background: linear-gradient(2deg, rgb(243, 31, 224) 9%, rgb(106, 115, 242) 94%);
}

.savings-box {
    background: #7207bd;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(137deg, rgb(114, 7, 189) 11%, rgb(169, 151, 241) 100%);
    background: linear-gradient(137deg, rgb(114, 7, 189) 11%, rgb(169, 151, 241) 100%);
}

.bonus-box {
    background: #e83e4f;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(20deg, rgb(232, 62, 79) 18%, rgb(188, 90, 205) 92%);
    background: linear-gradient(20deg, rgb(232, 62, 79) 18%, rgb(188, 90, 205) 92%);
}

.dash-btn {
    background: #e4ea8d;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(91deg, rgb(228, 234, 141) 9%, rgb(252, 187, 83) 98%);
    background: linear-gradient(91deg, rgb(228, 234, 141) 9%, rgb(252, 187, 83) 98%)
}

.freq-btn.active,
.dur-btn.active {
    background: var(--quanta-primary);
    color: var(--white);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--quanta-primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.filter-btn.active,
.unit-btn.active,
.type-btn.active,
.purchase-btn.active {
    background: var(--quanta-primary) !important;
    color: #fff;
}

.custom-list {
    display: flex;
    align-items: start;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.list-indicator {
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-height: 16px;
    background-color: var(--quanta-primary);
    border-color: var(--quanta-primary);
    position: relative;
    display: inline-block;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Checkmark styles */
.list-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    /* Adjust width for a thicker mark */
    height: 8px;
    /* Adjust height for a thicker mark */
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    /* Increased thickness */
    transform: translate(-58%, -60%) rotate(45deg);
    display: block;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--black);
    box-shadow: var(--velocity-bs-bold);
}

html[data-theme="dark"] .toggle-btn.active {
    background: var(--white);
    color: var(--black);
    box-shadow: var(--velocity-bs-bold);
}

.unit-entry {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.custom-checklist {
    display: flex;
    align-items: start;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.custom-checklist input[type="radio"] {
    display: none;
    /* Hide the default radio */
}

.checklist-indicator {
    width: 16px;
    height: 16px;
    min-width: 16px;
    background-color: #ccc;
    /* default color if unchecked */
    border: 2px solid #ccc;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-checklist input[type="radio"]:checked+.checklist-indicator {
    background-color: var(--quanta-primary);
    /* your primary color */
    border-color: var(--quanta-primary);
}

/* Checkmark styles */
.checklist-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    /* Adjust width for a thicker mark */
    height: 8px;
    /* Adjust height for a thicker mark */
    border: solid #fff;
    /* white checkmark */
    border-width: 0 2px 2px 0;
    transform: translate(-58%, -60%) rotate(45deg);
    display: none;
}

.custom-checklist input[type="radio"]:checked+.checklist-indicator::after {
    display: block;
}

.transaction-box:last-of-type {
    border: none !important;
}

#adCarousel {
    position: relative;
    width: 100%;
    /* or whatever width you want */
    height: 90px;
    /* match your desired height */
    overflow: hidden;
}

/* track is a horizontal flexbox */
#adCarousel .ads-carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* each item is exactly one "page" wide */
#adCarousel .ads-carousel-item {
    flex: 0 0 100%;
    overflow: hidden;
    border-radius: 8px;
}

#adCarousel .ads-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain */
    display: block;
}

.strikethrough {
    text-decoration: line-through;
    color: #999;
    /* faded gray */
    font-weight: normal;
}

.content {
    position: relative;
}

/* Style for active navbar link */
.portfolio-link.active {
    color: var(--white) !important;
    /* Changes the color of the active link (you can choose any color you like) */
    background: var(--quanta-primary) !important;
}

.text-carousel {
    position: relative;
}

.text-carousel .carousel-item {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    text-align: center;
}

.text-carousel .hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-item:not(.hidden) {
    opacity: 1;
}

.members-list .member-item:last-of-type {
    border: none !important;
}

.crm-tab-btn.active {
    background: var(--quanta-primary);
    color: var(--white);
}

html[data-theme="dark"] {
    .crm-tab-btn.active {
        background: var(--quanta-primary);
        color: var(--white);
    }
}

.tier-btn {
    border: none;
    background: rgb(255 255 255/.7);
    color: var(--black);
}

.tier-btn.active {
    background: var(--white);
    color: var(--quanta-primary);
}

.tier-div::-webkit-scrollbar {
    display: none !important;
}

.tier-div::-webkit-scrollbar-track {
    display: none !important;
}

.tier-div::-webkit-scrollbar-thumb {
    display: none !important;
}

.tier-div {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.carousel-slide.active {
    transform: translateX(0);
    opacity: 1;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--quanta-grey-300);
    transition: all 0.3s ease;
}

html[data-theme="dark"] {
    .progress-dot {
        background: var(--quanta-grey-700);
    }
}

.progress-dot.active {
    background: var(--quanta-primary);
    transform: scale(1.2);
}

.step {
    display: none;
}

.step.active {
    display: flex;
}

.error-message {
    display: none;
}

.error-message.show {
    display: flex;
}

.field-error {
    border-bottom-color: var(--quanta-red-500) !important;
}

.requirement.valid {
    color: var(--quanta-primary);
    font-weight: medium;
}

.register-inputs {
    border-radius: none !important;
}

.register-inputs:focus {
    border-bottom-color: var(--quanta-primary) !important;
    border-radius: none !important;
}

.input-container {
    position: relative;
    display: inline-block;
}

.payment-input:focus {
    border: 2px solid var(--quanta-primary) !important;
}

.currency-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.currency-symbol.show {
    opacity: 1;
}

.purpose-card.selected {
    border-color: var(--quanta-primary);
}

.account-number {
    width: 100%;
    padding: .6rem 0;
    border: none !important;
    border-bottom: 1px solid var(--quanta-border-color) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.payment-input:focus {
    border-color: var(--quanta-primary) !important;
}

.channel-btn,
.category-btn {
    font-weight: 600 !important;
}

.channel-card {
    background: rgb(114 7 189/.2);
}

.channel-bank_transfer {
    background-color: rgba(63, 31, 243, 0.2);
}

.channel-ussd {
    background-color: rgba(83, 241, 99, 0.2);
}

.category-Landhub {
    background: rgba(7, 16, 189, 0.2);
}

.category-Renthub {
    background: rgba(7, 134, 189, 0.2);
}

.category-Shelta {
    background: rgba(189, 110, 7, 0.2);
}

.category-WealthX {
    background: rgba(189, 7, 165, 0.2);
}

.channel-btn.active,
.category-btn.active {
    background: rgb(3 149 95/.8) !important;
    border-color: var(--quanta-primary) !important;
    color: var(--white) !important;
}

.transaction-pin-input {
    background: var(--quanta-grey-100) !important;
    color: var(--black) !important;
}

html[data-theme="dark"] {
    .payment-input:focus {
        border-color: var(--quanta-primary) !important;
    }

    .channel-btn,
    .category-btn {
        font-weight: 600 !important;
    }

    .channel-card {
        background: rgb(114 7 189/.2);
    }

    .channel-bank_transfer {
        background-color: rgba(63, 31, 243, 0.2);
    }

    .channel-ussd {
        background-color: rgba(83, 241, 99, 0.2);
    }

    .category-Landhub {
        background: rgba(7, 16, 189, 0.2);
    }

    .category-Renthub {
        background: rgba(7, 134, 189, 0.2);
    }

    .category-Shelta {
        background: rgba(189, 110, 7, 0.2);
    }

    .category-WealthX {
        background: rgba(189, 7, 165, 0.2);
    }

    .channel-btn.active,
    .category-btn.active {
        background: rgb(3 149 95/.8) !important;
        border-color: var(--quanta-primary) !important;
        color: var(--white) !important;
    }

    .transaction-pin-input {
        background: var(--quanta-grey-800) !important;
        color: var(--white) !important;
    }
}

.location-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    top: 100%;
    right: 0;
    margin-top: 4px;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    border-radius: 4px;
    margin: 4px;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.transform-translate-center {
    transform: translate(-50%, -50%);
}

/* Full-page scrolling styles */
.scroll-container {
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    padding-top: 80px;
    /* Account for fixed navbar */
    padding: 0;
}

.project-slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    /* Ensure each slide takes full viewport height */
    box-sizing: border-box;
    /* Avoid unintended overflow by spacing */
}

/* Hide scrollbar but keep functionality */
.details::-webkit-scrollbar,
.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container,
.details {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-box .top-bar {
    background: var(--quanta-primary);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(120deg, #123f99 21%, var(--quanta-primary) 100%);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #123f99 21%, var(--quanta-primary) 100%);
}

.portfolio-bar ul::-webkit-scrollbar {
    display: none;
}

.portfolio-bar ul {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gradient-from-primary {
    --quanta-from-color: var(--quanta-primary);
}

.gradient-to-primary-alt {
    --quanta-to-color: #123f99;
}

.amount-select.selected,
.method-select.selected {
    background: var(--quanta-primary) !important;
    color: var(--white) !important;
}

.min-h-screen,
.min-h-100vh {
    min-height: 100dvh !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar::-webkit-scrollbar-track {
    display: none !important;
}

.no-scrollbar::-webkit-scrollbar-thumb {
    display: none !important;
}

.no-scrollbar {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.document-box:nth-last-child(3) {
    border-bottom: 0 !important;
}

/* Add this CSS to your stylesheet - Scalloped Receipt Shape */

/* Add this CSS to your stylesheet - Receipt Shape with specific scallops */

.receipt {
    position: relative;
    background: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    /* Create scalloped edges:
       - No scallops on top
       - One scallop close to middle on left side
       - One scallop close to middle on right side  
       - Six equally spaced scallops on bottom
    */
    mask:
        /* Left side - one scallop near middle (at 50%) */
        radial-gradient(circle at 0 50%, transparent 15px, black 15px),

        /* Right side - one scallop near middle (at 50%) */
        radial-gradient(circle at 100% 50%, transparent 15px, black 15px),

        /* Bottom edge - 6 equally spaced scallops */
        radial-gradient(circle at 8.33% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 25% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 41.67% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 58.33% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 75% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 91.67% 100%, transparent 15px, black 15px);

    -webkit-mask:
        radial-gradient(circle at 0 50%, transparent 15px, black 15px),
        radial-gradient(circle at 100% 50%, transparent 15px, black 15px),
        radial-gradient(circle at 8.33% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 25% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 41.67% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 58.33% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 75% 100%, transparent 15px, black 15px),
        radial-gradient(circle at 91.67% 100%, transparent 15px, black 15px);

    mask-composite: intersect;
    -webkit-mask-composite: source-in;

    border-radius: 8px;
}

.call-type-btn.active {
    background: var(--quanta-primary);
    color: var(--white);
}

.bg-tp-white {
    background-color: rgba(255 255 255 / var(--bg-opacity));
}

.bg-tp-black {
    background-color: rgba(0 0 0 / var(--bg-opacity));
}

#side-menu {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 280px;
    /* Fixed width for the menu */
}

/* Hidden state for the menu */
.menu-hidden {
    opacity: 0 !important;
    transform: translateX(-50px) !important;
    pointer-events: none;
}

/* Visible state for the menu */
#side-menu:not(.menu-hidden) {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto;
}

#main-content {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

/* The "Shrink" state triggered by JS */
.is-shrunk {
    transform: translateX(280px) scale(0.82) !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    pointer-events: auto;
    /* Prevents clicks on dashboard while menu is open */
}