.am-modal-dialog {
    width: 500px;
}
.stripe-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stripe-card-list .card-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: all .2s;
}

.stripe-card-list .card-item:hover {
    border-color: #5eb95e;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-item .card-info {
    font-size: 14px;
    color: #333;
}

.card-item .card-info .brand {
    font-weight: 600;
    margin-right: 6px;
}
.card-item.active {
    border-color: #5eb95e;
    background: #f6fff6;
}

.card-item.active::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5eb95e;
    font-size: 18px;
    font-weight: bold;
}

.stripe-add-card {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    color: #999;
    cursor: pointer;
    transition: all .2s;
    margin-top: 12px;
}

.stripe-add-card i {
    margin-right: 6px;
}

.stripe-add-card:hover {
    border-color: #5eb95e;
    color: #5eb95e;
    background: #f6fff6;
}

.stripe-card-form {
    display: none;
    margin-top: 14px;
}

.stripe-card-form-inner {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
}

#card-element {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 10px;
}

.default-tag {
    margin-left: 6px;
    font-size: 12px;
    color: #5eb95e;
}
.card-actions{
    margin-right: 20px;
}
.card-actions span {
    margin-left: 10px;
    color: #999;
    cursor: pointer;
}

.card-actions span:hover {
    color: #5eb95e;
}