.ps-hidden {
    display: none;
}

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

.d-hidden {
    display: none !important;
}

.w-100 {
    width: 100%;
}

.showc2p {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0rem) !important;
}

.underline {
    text-underline-offset: 3px;
    text-decoration: underline;
}

.card-list-dropdown-content-card-option-information.line-through {
    text-decoration: line-through;
    color: var(--mc-manual-card-entry-button-text-color);
}

.c2p-pt-4 {
    padding-top: 1rem
}

.c2p-pt-6 {
    padding-top: 1.5rem
}


.dcf-overlay {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    backface-visibility: hidden;
    transition: opacity 0.5s ease-in-out 0s, z-index 0.5s ease-in-out 0s;
    opacity: 0;
    z-index: -1;
}

.dcf-overlay.open {
    opacity: 1;
    z-index: 1001;
}

.dcf-screen {
    position: fixed;
    bottom: 0px;
    left: 50%;

    transform: translate(calc(-50% + 0.5px), calc(101% + 0.5px));

    opacity: 0;

    background-color: var(--mc-container-background-color);
}

.action-sheet {
    overflow-x: hidden;
    position: fixed;
    bottom: 0px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    width: 100%;
    background-color: rgb(251, 251, 251);
    touch-action: none;
    z-index: 1002;
    transition: transform 0.7s linear 0s;

    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.modal-sheet {
    position: fixed;
    border-radius: 16px;
    background-color: rgb(251, 251, 251);
    touch-action: none;
    z-index: -1;
    opacity: 0;

    min-height: 350px;
    width: 451px;

    /* https://stackoverflow.com/a/50412034 */
    transform: translate(calc(-50% + 0.5px), calc(50% + 0.5px));
    bottom: 50%;

    transition: opacity 0.5s ease-in-out 0s, z-index 0.5s ease-in-out 0s;
}

.action-sheet::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.action-sheet.open {
    /* https://stackoverflow.com/a/50412034 */
    transform: translate(calc(-50% + 0.5px), 0);

     /* to keep it in place*/
    margin-left: -0.5px;

    left: 50%;

    opacity: 1;
}

.modal-sheet.open {
    opacity: 1;

    z-index: 1001;
}

.dcf-content {
    overflow: auto;
    display: flex;
    flex-direction: column;
    height:100%;
    min-height: inherit;
    border-radius: 16px;

    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.dcf-content::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}


.dcf-iframe {
    border: none;
    height: 100%;
    width: 100%;
}

.dcf-challenge {
    border: none;
    height: 100%;
    width: 100%;
    overflow-y: hidden
}

.dcf-iframe-opc {
    height: 100% !important;
    width: 100% !important;
}

.action-sheet.dcf-open {
    height: 90% !important;
}

@media (min-width: 768px) {
    .dcf-iframe {
        border: none;
        width: 451px;
        height: 699px;
    }

    .dcf-challenge {
        width: 451px;
        height: 699px;
    }
}

.clicktopay-form-close-button {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
    line-height: 16px;
}

.clicktopay-form {
    background-color: var(--mc-container-background-color);
}

.src-mark-container {
    padding: 24px;
    padding-bottom: 0;
    background-color: var(--mc-container-background-color);
}

.clicktopay-form-close-button:hover {
    opacity: 1;
}

.clicktopay-container:has(.card-input-main.card-entered) .pay-clicktopay {
    margin-top: 0 !important;
}

.clicktopay-container .pay-clicktopay {
    padding-top: 16px;
    text-transform: uppercase;
    padding-bottom: 16px;
    margin-top: 0.5rem;
}

.pay-clicktopay {
    background-color: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);

    border: none;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: var(--mc-radius);
    padding: 0.75rem 2rem;

    cursor: pointer;

    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    font-family: SF Pro Text;
    text-transform: uppercase;

    width: 100%;
}

.iti__selected-dial-code {
    font-size: 13px;
}

.pay-clicktopay:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 1);
}

.pay-clicktopay:disabled {
    background-color: rgba(155, 155, 155, 1);
    color: rgba(255, 255, 255, 1);

    pointer-events: none;
}

.iti__arrow {
    border: none !important;
}
