#modalOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#flexiblePointsModal {
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.modal-container {
    display: none;
    padding: 20px;
    width: 600px;
    background: #fff;
    border-radius: 8px;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-family: Arial, sans-serif;
}

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

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

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

.modal-body p {
    margin-bottom: 10px;
    font-size: 14px;
}

#redeemPointsInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.discount-preview {
    font-size: 16px;
    margin: 10px 0;
}

.modal-footer {
    display: flex;
    gap: 10px;
}

.apply-btn {
    background: #d5e9dc;
    color: #2d2d2d;
    border: 1px solid #b7b7b7;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.cancel-btn {
    background: #dfbcbc;
    color: #2d2d2d;
    padding: 8px 20px;
    border: 1px solid #b7b7b7;
    cursor: pointer;
    border-radius: 4px;
}

.no-scroll {
    overflow: hidden;
}
