/* General Modal Styles */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.payment-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.payment-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
    width: 480px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: top;
}

.payment-modal__title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

.payment-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding-top: 21px;
}

.payment-modal__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Payment Option Styles */
.payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    transition: border-color 0.3s, background-color 0.3s;
}

.payment-option--selected {
    background-color: #3A5B56;
    border-color: #3A5B56;
    color: #fff;
}

.payment-option__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-option__name {
    font-size: 16px;
    font-weight: 500;
}

.payment-option--selected .payment-option__name,
.payment-option--selected .payment-option__label {
    color: #fff;
}

.payment-option__label {
    font-size: 14px;
    color: #888;
}

.payment-option__make-default {
    font-size: 14px;
    color: #3A5B56;
    text-decoration: none;
}

.payment-option__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-option__check {
    font-size: 20px;
    color: #fff;
}

.payment-option__delete {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.payment-option--add {
    border-style: dashed;
    justify-content: center;
}

.payment-option__add-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

/* Footer Styles */
.payment-modal__footer {
    margin-top: 12px;
}

.payment-modal__save-btn {
    width: 100%;
    padding: 16px;
    background-color: #97C7CB;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.payment-modal__save-btn:hover {
    background-color: #81B9BF;
}
