.card-visual {
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid;
    position: relative;
    background: radial-gradient(120% 120% at 100% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(30.671049118041992px);
    gap: 4px;
    max-height: 138px;
    max-width: 222px;
    width: 100%;
    height: 100%;
}

.prev,
.next {
    cursor: pointer;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    justify-content: center;

}

.prev span,
.next span {
    font-size: 19px;
}

.card-details {
    display: flex;
    justify-content: space-between;
}

.count-carts {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: white;
    margin-left: 18px;
}

.card-funding {
    font-size: 22px;
    font-weight: 700;
    color: #FCF9F8;
    line-height: 28px;
}

.card-visual__brand {
    justify-self: right;
}

.card-visual-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.stripe-cards-carousel-wrapper {
    background: #111;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.stripe-cards-carousel-wrapper .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#add-card-button {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.text-info {
    color: #929090;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 1px;
}

.card-exp,
.card-address {
    color: #FCF9F8;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.stripe-cards-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.saved-cards__upt-btn,
#add-card-button {
    padding: 8px 16px 8px 16px;
    border: solid 1px white !important;
    display: flex;
    align-items: center;
    font-weight: 700;
    line-height: 20px;
    background: #111;
    border-radius: 4px;
}

#add-card-button span {
    margin-left: 7px;
    margin-bottom: 1px;
}

.card-slide {
    background: #111;
    border-radius: 8px;
    padding: 15px;
    margin-right: 20px;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (min-width: 1468px) {
    .card-slide {
        grid-template-columns: 23% 77%;
        display: grid;
    }
}

@media (max-width: 1468px) {
    .card-slide {
        grid-template-columns: 40% 60%;
        display: grid;
    }
}

@media (min-width: 768px) {
    .card-slide {
        min-width: 100%;
        max-width: 70%;
    }

    #add-card-button,
    .saved-cards__upt-btn {
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
    .card-slide {
        display: flex;
        flex-direction: column;
    }

    .card-info {
        margin-top: 24px;
    }

    #add-card-button,
    .saved-cards__upt-btn {
        font-size: 10px !important;
    }
}

@media (min-width: 1024px) {
    .card-slide {
        min-width: 100%;
        max-width: 40%;
    }
}

.carousel-controls {
    margin-top: 10px;
    text-align: center;
    margin-right: 28px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.carousel-controls a {
    background: white;
    border: 1px solid white;
    color: black !important;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
}

.btn-trash {
    position: relative;
    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border: 1px solid red;
}

.btn-trash::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/trash.svg') no-repeat center/contain;
    transition: filter .2s;
    pointer-events: none;
}

.btn-trash:hover::after {
    filter: brightness(0.8);
}

.btn-trash:active::after {
    filter: brightness(0.6);
}

.btn-trash.delete-card {
    margin-top: 265px;
}

.saved-cards__actions_delete .btn-trash.delete-card {
    margin-top: 0;
}

.add-card-popup .modal-footer {
    display: none;
}

.text-light-one,
.text-light-two,
.text-light-three {
    text-align: center;
}

.text-light-one {
    color: #FCF9F8;
    font-size: 22px;
    font-weight: 700;
}

.text-light-two {
    color: #dddddd;
    font-size: 14px;
}

.text-light-three {
    color: #787776;
}

.custom-add-cardsub2 {
    margin-top: 5% !important;
}
.custom-modal-header-content {
    color: #ffffff;
}
.custom-add-cardsub {
    margin-top: 5% !important;
    color: #ffffff;
}
.modal-close-card-custom {
    background-color: #111;
    border: 2px solid white !important;
}
.custm-but-save-card {
    border-radius: 4px;
    padding: 5px 16px;
    font-size: 16px;
    cursor: pointer;
    background-color: #111;
    border: 2px solid white !important;
    color: white;
}
.form-grid-custsty label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.form-grid-custsty .field {
  margin-bottom: 10px;
}

.form-grid-custsty .StripeElement,
.form-grid-custsty .StripeElement > div,
.form-grid-custsty iframe {
  min-height: 35px !important;
  height: 35px !important;
  line-height: 40px !important;
  padding: 10px 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}
.field-group-grid-1form .field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px; /* Mismo borde redondeado */
  box-sizing: border-box;
  background-color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

#cardholder-name,
#billing-zip,
#billing-address {
    color: #111111;
}

.field-group-grid-1form .field input:focus {
  border-color: #999; 
}

.form-grid-custsty-2 label {
  display: block !important;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
}
.form-grid-custsty-2 .field {
  margin-bottom: 10px;
}

.form-grid-custsty-2 input,
.form-grid-custsty-2 select {
  width: 100% !important;
  padding: 5px 12px !important;
  font-size: 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.3s ease !important;
}
.texcolor {
    color: white;
}
.custm-but-save-card-2 {
    height: 35px !important;
}


@media (max-width: 768px) {

}