.bank-card-section {
    margin-left: 60px;
    position: relative;
    min-height: 100px;
}

.cards-list {
    margin: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}


.bank-card-info-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
}

.card-item {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.card-item:last-of-type {
    border-bottom: none;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
}

.card-logo {
    width: 32px;
    height: auto;
    object-fit: contain;
    margin-right: 8px;
}

.brand-text {
    font-weight: 500;
    margin-right: 8px;
}

.card-number {
    color: rgba(0,0,0,0.6);
}

.stripe-card-container {
    padding: 20px 0;
}

.default-card-label {
    margin-left: 8px !important;
}

.expired-card-label {
    margin-left: 8px !important;
}

.cards-list .ui.checkbox label::before {
    border: 1px solid #121214 !important;
}

@keyframes highlightCard {
    0% {
        background-color: #b5f5f5;
    }

    100% {
        background-color: transparent;
    }
}

.highlight-new-card {
    animation: highlightCard 10s ease-out;
}

/* Custom modal styles*/
.card-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.card-modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    max-width: 500px;
    border-radius: 5px;
}

.card-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-modal-close {
    cursor: pointer;
    font-size: 24px;
}

.card-modal-body {
    padding: 20px 0;
}

.card-button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#card-element-add-card {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
/*End of custom modal styles*/
