/* styles for paypal cards */
@layer components {
    .pp-card-cvv {
        input {
            width: 10ch;
        }
    }

    .pp-number-input {
        &::-webkit-outer-spin-button,
        &::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
    }
}

.pp-stored-cards {
    .pp-card-view {
        @apply transition hover:shadow-lg;
        cursor: pointer;

        &:active {
            opacity: 70%;
        }
    }

    input[type="radio"] {
        display: none;
        cursor: pointer;

        &:checked {
            & + .pp-card-view {
                box-shadow: 0 0 0 4px #a1a1a1;
                cursor: default;
            }
        }
    }
}
